How-2 Install MakeMKV for non-Debian Linux (openSuSE)

The place to discuss linux version of MakeMKV
Wagonfixin
Posts: 18
Joined: Thu Oct 21, 2010 12:58 am

How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by Wagonfixin » Sat Oct 23, 2010 4:35 am

UPDATED for MakeMKV version 1.10.5 on openSuSE Leap 42.2 (17 Apr 17)

This is a quick how-2 for installing MakeMKV on non-Debian linux (in this case, the specific build dependencies for openSUSE Leap 42.2):

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++
REQUIRED : Install 3 additional packages (ffmpeg dependencies) and 1 openSSL development package from the openSUSE Leap main/update repository:

Code: Select all

sudo zypper install fribidi libass5 libenca0 libopenssl-devel
REQUIRED : Install the app/GUI's target Qt5 (eg: v5.6) necessary development packages:

Code: Select all

sudo zypper install libQt5Core-devel libQt5Gui-devel libQt5Widgets-devel libQt5DBus-devel
REQUIRED : Prepare the libavcodec (ffmpeg) build environment for MakeMKV using the libraries from the Packman repository:
Using the Packman repositories is the easiest and 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 version specific Packman repo (Essentials and Multimedia) for openSuSE as documented at:
Link: http://en.opensuse.org/Additional_packa ... es#Packman

For example, on openSuSE Leap 42.2:

Code: Select all

sudo zypper addrepo --refresh --priority 24 --name packman-all http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.2/ packman-all
2) Switch (upgrade) the existing openSuSE distribution packages to those found in the Packman repository (if not already switched) via a Distro update:

Code: Select all

sudo zypper dist-upgrade --from packman-all
3) Add the desired "ffmpeg" development support package(s) (if not already installed from the Packman repo):

Code: Select all

sudo zypper install --repo packman-all ffmpeg libavfilter-devel libavresample-devel libpostproc-devel libavdevice-devel
REQUIRED : Extract, build and install the OSS "makemkv" files:

Code: Select all

tar -xvf makemkv-oss*.tar.gz
cd makemkv-oss*/
./configure
make
sudo make install
REQUIRED : Extract, build, and install the closed source binary "makemkvcon" files:

Code: Select all

tar -xvf makemkv-bin*.tar.gz
cd makemkv-bin*/
make
 - (Type 'q', then 'yes' to accept the license.)
sudo make install
MakeMKV is fully built and installed at this point, the following optional steps better integrate MakeMKV into KDE.

OPTIONAL : Create a KDE icon (for current user):
Note: The MakeMKV installation script now places a KDE compliant menu icon item at: "/usr/share/applications/makemkv.desktop", therefore, this optional step is largely redundant, however, to override the system-wide icon for MakeMKV if desired:

Code: Select all

sudo vi /usr/share/applications/makemkv.desktop
Hit the "Insert" key to put vi into "insert" mode, and paste the following:

Code: Select all

[Desktop Entry]
Version=1.0
Encoding=UTF-8
X-SuSE-translate=false
Name=MakeMKV
Type=Application
GenericName=Rip DVD/Blu-Ray to MKV
Comment=Convert DVD/ISO to Matroska Video "MKV" files
Icon=makemkv
Exec=/usr/bin/makemkv
NoDisplay=false
StartupNotify=true
Terminal=False
TerminalOptions=
Categories=AudioVideo;AudioVideoEditing;Qt;
MimeType=x-content/video-dvd;x-content/video-vcd;x-content/video-svcd;
X-KDE-SubstituteUID=false
Hit "Esc" to escape out of edit-mode into vi's command-prompt, and then type ":wq!" to write and quit vi.

Set the correct file permissions with:

Code: Select all

sudo chmod 644 /usr/share/applications/makemkv.desktop
OPTIONAL : Create a KDE Plasma "Device Action" menu icon/action:
This creates a" Rip with MakeMKV" menu entry on the device action pop-up menu for DVDs

Code: Select all

sudo vi /usr/share/solid/actions/makemkv-videodvd-rip-dvd-to-mkv.desktop
Hit the "Insert" key to put vi into "insert" mode, and paste the following:

Code: Select all

Desktop Entry]
X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent & 'VideoDvd|VideoBluRay' ]
Actions=MakeMKVRip;
Type=Service
X-KDE-Priority=TopLevel
X-SuSE-translate=false

[Desktop Action MakeMKVRip]
Name=Rip DVD to MKV with MakeMKV
Exec=/usr/bin/makemkv
Icon=media-optical-dvd-video
Hit "Esc" to escape out of edit-mode into vi's command-prompt, and type ":wq!" to write and quit vi.

Set the correct file permissions with:

Code: Select all

sudo chmod 644 /usr/share/solid/actions/makemkv-videodvd-rip-dvd-to-mkv.desktop
Note: The current (thru May 2017) 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 !!
Last edited by Wagonfixin on Tue Apr 18, 2017 4:37 am, edited 5 times in total.

skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by skittle » Sat Oct 23, 2010 7:51 pm

Why do you say "non-debian"? The setup is exactly the same for a debian system, and any other distrobution.

Wagonfixin
Posts: 18
Joined: Thu Oct 21, 2010 12:58 am

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by Wagonfixin » Tue Oct 26, 2010 4:55 am

Hiya Skittle,

The forum's linux installation instructions currently call for pre-installation configuration of the build environment as:

Code: Select all

sudo apt-get install build-essential libc6-dev libssl-dev libgl1-mesa-dev libqt4-dev
both the "apt-get" tool as well as most of the referenced "required tools and libraries" are of the debian variant... not too useful for us non-debian folks !!

Additionally, if the user uses a desktop (as most of us do), it'd be nice to optionally integrate an application icon/device-action. The license code bit makes life justa a little simpler (doesn't require altering the host timebase).

You are correct in that the make instructions:

Code: Select all

make -f makefile.linux
sudo make -f makefile.linux install
remain the same across the linux distros/flavors.

Do you use linux ?

skittle
Posts: 349
Joined: Thu Jan 14, 2010 4:23 am

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by skittle » Tue Oct 26, 2010 6:11 am

Yes Aptitude is debian, however libqt4-dev is the same whether its on debian/suse/fedora/arch/windows etc... In linux terms its generally assumed that you adapt the the package manager thats in the description.
even the part about the application link is distribution independent. The only thing that is suse is the package manager instructions.

Btw, I run debian squeeze x64 and Arch x86

gece01
Posts: 3
Joined: Sun Dec 12, 2010 1:54 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by gece01 » Sun Dec 12, 2010 1:59 pm

Hi Wagonfixin,

Thanks for this how-to. It worked without problem :D

Gece

dauhuber
Posts: 9
Joined: Sat Jan 15, 2011 5:49 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by dauhuber » Thu Jan 20, 2011 8:35 pm

However
your install guide was very helpful for SuSE 11.1. In fact this Debian apt-get stuff can
sometimes confuse Fedora, CentOS and SuSE users.

In addition the name of the required packages often differs slightly from Distro to Distro.

If I would be an admin of this board, I would think that your detailled post deserves a
"sticky" :wink:

thx

crackednoodle
Posts: 3
Joined: Sat Feb 05, 2011 7:13 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by crackednoodle » Sat Feb 05, 2011 7:18 pm

I have put together a how to install Makemkv on Fedora 14.

1. Install all the software that is required to build this program.
Become SuperUser

Code: Select all

su

yum groupinstall "Development Tools"
yum install openssl-devel qt4-devel

2. Dowload the Makemkv programs which comes in 2 parts.

Code: Select all

http://www.makemkv.com/download/makemkv_v1.6.3_bin.tar.gz
http://www.makemkv.com/download/makemkv_v1.6.3_oss.tar.gz
3. Unpack the downloads.

Code: Select all

tar -zxvf makemkv_v1.6.3_bin.tar.gz
tar -zxvf makemkv_v1.6.3_oss.tar.gz
4. Build the software.

Code: Select all

cd makemkv_v1.6.3_bin
make -f makefile.linux
sudo make -f makefile.linux install
Repeat for the other directory.

Code: Select all

cd makemkv_v1.6.3_oss
make -f makefile.linux
sudo make -f makefile.linux install
5. Start the program by typing:

makemkv

The whole thing can be found at http://crackednoodle.com/2011/01/blu-ra ... ux-how-to/

Thanks,
Brad

dauhuber
Posts: 9
Joined: Sat Jan 15, 2011 5:49 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by dauhuber » Mon Feb 07, 2011 8:29 pm

I had problems to compile MakeMKV 1.6.4 with SuSE 11.1.

Found the solution here

http://www.makemkv.com/forum2/viewtopic ... 820#p10803

Thanks for helping me out :D

dauhuber
Posts: 9
Joined: Sat Jan 15, 2011 5:49 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by dauhuber » Wed Mar 30, 2011 7:25 pm

If you want to compile under openSuSE 11.4.

The package 'moc-qt4' is now just called 'moc'

so change the 4th line of makefile.linux in the directory makemkv_v1.6.5_oss/

from

MOC=$(strip $(shell which moc-qt4))

to

MOC=$(strip $(shell which moc))

As an alternative you can do

Code: Select all

cd /usr/bin
sudo ln -s moc moc-qt4
compile and enjoy :D

hursto75
Posts: 10
Joined: Mon Feb 28, 2011 2:45 am

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by hursto75 » Fri Apr 22, 2011 11:23 pm

I updated my how to for 1.6.7:

1. Install all the software that is required to build this program.

Become SuperUser

su

yum update


yum groupinstall "Development Tools"


yum install openssl-devel qt4-devel

2. Dowload the Makemkv programs which comes in 2 parts.

http://www.makemkv.com/download/makemkv ... bin.tar.gz

http://www.makemkv.com/download/makemkv ... oss.tar.gz

3. Unpack the downloads.

tar -zxvf makemkv_v1.6.7_bin.tar.gz


tar -zxvf makemkv_v1.6.7_oss.tar.gz

4. Build the software.

cd makemkv_v1.6.7_bin

make -f makefile.linux


su -c 'make -f makefile.linux install'

Repeat for the other directory.

cd makemkv_v1.6.7_oss

make -f makefile.linux


su -c 'make -f makefile.linux install'

5. Start the program by typing:

makemkv

doctorwhofan10
Posts: 10
Joined: Sat Sep 03, 2011 1:09 am

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by doctorwhofan10 » Sun Apr 01, 2012 1:06 pm

Good that you posted the steps. Though, some of those I never had to do aka config files or kde icons.

I got it working on my Mandriva 2011 without a hitch, I just installed whatever they said in the forum for Ubuntu/debian translated in RPM world.

Once done, I just used KDE-Menu-Edit to add an entry.

The application took care of the trial key. Since I have bought this application, once I started it, I had to update/register the key.

Chiasmos
Posts: 22
Joined: Sat Apr 18, 2009 3:52 am

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by Chiasmos » Mon Apr 23, 2012 10:46 am

Although this thread was initially intended openSuSE, but also is about installing on non-Debian Linux, then some may like to know that all is working in PCLinuxOS KDE4. Added the specific dependencies which were all in the Synaptic PCL repository. then did the "make" and "install" from root for quickest and easiest successful installation yet over the times I'd done in earlier versions and also now in Ubuntu 12.04 and a few of its related builds. :)

Thanks again Mike.

dauhuber
Posts: 9
Joined: Sat Jan 15, 2011 5:49 pm

Vesion 1,76

Post by dauhuber » Sun Aug 05, 2012 2:06 pm

If you wanl to install Version 1.7.6 with SuSE 11.4 X86 you must install
the libexpat packages.

Code: Select all

sudo zypper install libexpat-devel libexpat0 libexpat1
to compile this version.

Was not required in the versions before. Guess it's similar in other Distros.

hth

jfha73
Posts: 6
Joined: Fri Jun 08, 2012 6:46 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by jfha73 » Sun Feb 23, 2014 4:44 pm

Hey guys,

I just installed on my openSUSE 13.1, all you have to do is install ffmpeg using the packman repo http://en.opensuse.org/Additional_packa ... es#Packman, once that's done, try to re-compile makeMKV.

fitzyj
Posts: 1
Joined: Sat Aug 02, 2014 6:20 am

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by fitzyj » Sat Aug 02, 2014 6:27 am

Hello,

I am quite new with openSUSE, but have been using makemkv with Fedora for quite some time.

I am having trouble installing makemkv 1.8.11 from source on openSUSE 13.1 and have the following errors after entering makemkv-oss folder / ./config and having installed the above mentioned dependencies:

checking for ffmpeg... no
configure: error: No package 'libavcodec' found
No package 'libavutil' found.

Obviously I have tried using zypper to install the above, but, I still get the above errors.

Please could someone write a new (for openSUSE) beginning to end installation from source set of instructions please for us openSUSE newbies!

I would be so thankful, as, I am at the mercy of the repos that I can find, which, will only install makemkv 1.8.4

Many thanks everyone.

Post Reply