How-2 Install MakeMKV for non-Debian Linux (openSuSE)
Posted: Sat Oct 23, 2010 4:35 am
UPDATED for MakeMKV version 1.17.1 on openSUSE Tumbleweed (21 Aug 22)
This is a quick how-2 for installing MakeMKV on non-Debian linux (in this case, the specific build dependencies for openSUSE Tumbleweed:
Note: The current Debian based build instructions are maintained with the Linux MakeMKV download links at:
Link: http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224
REQUIRED : Download *both* the OSS & proprietary binary source tarballs for Linux at:
Link: http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224
REQUIRED : Install the necessary Linux (openSUSE) host build dependencies (if not already installed) via pattern:
REQUIRED : Install 3 additional development packages from the Tumbleweed repository:
REQUIRED : Install FFMPEG and 2 additional FFMPEG development packages from Packman's repository:
REQUIRED : Install the app/GUI's target Qt5 (eg: v5.15) necessary development packages:
REQUIRED : Prepare the libavcodec (ffmpeg) build environment for MakeMKV using the libraries from the Packman repository:
Using the Packman repositories for FFMPEG support is the most straight-forward method as Packman's repo provides simplified and up-to-date support for FFmpeg.
Note: Packman's FFmpeg does *not* provide/include Fraunhofer FDK AAC based support via libfdk-aac (due to licensing).
Support for the Fraunhofer FDK AAC (libfdk-aac) under libavcodec requires locally compiling ffmpeg with libfdk-aac and is not documented in this post.
1) Add the Tumbleweed specific Packman repo for openSUSE as documented at:
Link: https://en.opensuse.org/Additional_pack ... es#Packman
For example, on openSUSE Tumbleweed, add all four of Packman's repository(s)::
2) Switch (upgrade) the existing openSSE distribution packages to those found in the Packman repository (if not already switched) via a repo Distro update::
3) Add the desired "ffmpeg" development support package(s) (if not already installed from the Packman repo):
REQUIRED : Extract, build and install the OSS "makemkv" files:
Note: This build intentionally is configured to be installed into /usr/local instead of the default /usr path.
REQUIRED : Extract, build, and install the closed source binary "makemkvcon" files:
MakeMKV is fully built and installed at this point, the following optional steps better integrate MakeMKV into openSUSE and KDE.
OPTIONAL : Create library links to allow other applications to open/read from protected Bluray disks:
Note: MakeMKV version 1.8.5 and higher provides a libmmbd library that also emulates libaacs/libbdplus libraries. Any libbluray-based application, including VLC player, will be able to open protected Bluray discs using the symbolic links to MakeMKV's local libmmbd library.
OPTIONAL : Create an updated MakeMKV GUI icon:
Note: The MakeMKV installation script now places a compliant GUI menu icon item at: "/usr/share/applications/makemkv.desktop", however, some desktop environments will not scan/update the GUI menus from /usr/local/share/applications/, so this optional step is advised to provide a system-wide GUI icon for MakeMKV:Hit the "Insert" key to put vi into "insert" mode, and paste the following:
Hit "Esc" to escape out of edit-mode into vi's command-prompt, and then type ":wq!" to write and quit vi.
Ensure the correct file permissions are set with:
Create a symbolic link to /usr/share/applications/:
OPTIONAL : Create a KDE Plasma "Device Action" menu icon/action:
This creates a convenient "Rip Disc to MKV with MakeMKV" menu entry on the device action pop-up menu for DVD/BluraysHit the "Insert" key to put vi into "insert" mode, and paste the following:
Hit "Esc" to escape out of edit-mode into vi's command-prompt, and type ":wq!" to write and quit vi.
Ensure the correct file permissions are set with:
Note: The current (thru Sep 2022) beta license code for MakeMKV can be found at:
http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053
I have no idea how long software can (or should) be in beta - I bought a license for MakeMKV back in 2010 (after I'd already been using it for a while to archive my aging media library)... MakeMKV truly is a wonderful multi-platform example of well-maintained software - and at very reasonable price!
Good luck !!
This is a quick how-2 for installing MakeMKV on non-Debian linux (in this case, the specific build dependencies for openSUSE Tumbleweed:
Note: The current Debian based build instructions are maintained with the Linux MakeMKV download links at:
Link: http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224
REQUIRED : Download *both* the OSS & proprietary binary source tarballs for Linux at:
Link: http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224
REQUIRED : Install the necessary Linux (openSUSE) host build dependencies (if not already installed) via pattern:
Code: Select all
sudo zypper install --type pattern devel_C_C++
Code: Select all
sudo zypper install libopenssl-devel libexpat-devel zlib-devel
Code: Select all
sudo zypper install ffmpeg-5 ffmpeg-5-libavcodec-devel ffmpeg-5-libavutil-devel
Code: Select all
sudo zypper install libQt5Core-devel libQt5DBus-devel libQt5Gui-devel libQt5Widgets-devel
Using the Packman repositories for FFMPEG support is the most straight-forward method as Packman's repo provides simplified and up-to-date support for FFmpeg.
Note: Packman's FFmpeg does *not* provide/include Fraunhofer FDK AAC based support via libfdk-aac (due to licensing).
Support for the Fraunhofer FDK AAC (libfdk-aac) under libavcodec requires locally compiling ffmpeg with libfdk-aac and is not documented in this post.
1) Add the Tumbleweed specific Packman repo for openSUSE as documented at:
Link: https://en.opensuse.org/Additional_pack ... es#Packman
For example, on openSUSE Tumbleweed, add all four of Packman's repository(s)::
Code: Select all
sudo zypper addrepo --refresh --priority 90 --name packman-all https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman-all
Code: Select all
sudo zypper dist-upgrade --from packman-all --allow-vendor-change
Code: Select all
sudo zypper install --repo packman-all ffmpeg-5 ffmpeg-5-libavcodec-devel ffmpeg-5-libavutil-devel
Note: This build intentionally is configured to be installed into /usr/local instead of the default /usr path.
Code: Select all
tar -xvf makemkv-oss*.tar.gz
cd makemkv-oss*/
./configure --prefix=/usr/local
make -j$(nproc)
sudo make install
Code: Select all
tar -xvf makemkv-bin*.tar.gz
cd makemkv-bin*/
sed -i 's|PREFIX=\/usr|PREFIX=\/usr\/local|g' ./Makefile
make
- (Type 'q', then 'yes' to accept the license.)
sudo make install
sudo ln --symbolic --force /usr/local/bin/makemkvcon /usr/bin/sdftool
OPTIONAL : Create library links to allow other applications to open/read from protected Bluray disks:
Note: MakeMKV version 1.8.5 and higher provides a libmmbd library that also emulates libaacs/libbdplus libraries. Any libbluray-based application, including VLC player, will be able to open protected Bluray discs using the symbolic links to MakeMKV's local libmmbd library.
Code: Select all
sudo ln --symbolic /usr/local/lib64/libmmbd.so.0 /usr/lib64/libaacs.so.0
sudo ln --symbolic /usr/local/lib64/libmmbd.so.0 /usr/lib64/libbdplus.so.0
sudo ldconfig
Note: The MakeMKV installation script now places a compliant GUI menu icon item at: "/usr/share/applications/makemkv.desktop", however, some desktop environments will not scan/update the GUI menus from /usr/local/share/applications/, so this optional step is advised to provide a system-wide GUI icon for MakeMKV:
Code: Select all
sudo vi /usr/local/share/applications/makemkv.desktop
Code: Select all
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Categories=AudioVideo;AudioVideoEditing;Video;Qt;
Name=MakeMKV
Exec=/usr/local/bin/makemkv
GenericName=Rip DVD/Blu-Ray to MKV
Comment=Convert encrypted BluRay/DVD media streams to Matroska Video "MKV" file and network streamer
Icon=makemkv.png
NoDisplay=false
StartupNotify=true
Terminal=false
TerminalOptions=
MimeType=x-content/video-bluray;x-content/video-hddvd;x-content/video-dvd;x-content/video-vcd;x-content/video-svcd;
X-KDE-SubstituteUID=false
X-SuSE-translate=false
Ensure the correct file permissions are set with:
Code: Select all
sudo chmod 644 /usr/local/share/applications/makemkv.desktop
Code: Select all
sudo ln --symbolic /usr/local/share/applications/makemkv.desktop /usr/share/applications/makemkv.desktop
This creates a convenient "Rip Disc to MKV with MakeMKV" menu entry on the device action pop-up menu for DVD/Blurays
Code: Select all
sudo vi /usr/share/solid/actions/makemkv_rip-disc-to-mkv.desktop
Code: Select all
[Desktop Action MakeMKVRip]
Name=Rip Disc to MKV with MakeMKV
Exec=/usr/local/bin/makemkv
Icon=makemkv.png
[Desktop Entry]
X-KDE-Solid-Predicate=[StorageVolume.ignored == false AND OpticalDisc.availableContent & 'VideoDvd|VideoBluRay']
Actions=MakeMKVRip;
Type=Service
X-SuSE-translate=false
X-KDE-Priority=TopLevel
Ensure the correct file permissions are set with:
Code: Select all
sudo chmod 644 /usr/share/solid/actions/makemkv-videodvd-rip-dvd-to-mkv.desktop
http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053
I have no idea how long software can (or should) be in beta - I bought a license for MakeMKV back in 2010 (after I'd already been using it for a while to archive my aging media library)... MakeMKV truly is a wonderful multi-platform example of well-maintained software - and at very reasonable price!
Good luck !!