[Updated: v1.9.1] MakeMKV rpm for Centos / RHEL 6
Posted: Sat Jun 21, 2014 6:54 am
I've been using MakeMKV on windoze for a while (awesome program, btw!), but recently I decided to try to get it going on my CentOS 6.5 linux machine. Using the ffmpeg and libavcodec packages availble from ATrpms, I was able to successfully compile it and get it working.
Now, since CentOS/RHEL uses binary packages (RPMs), my next step was to set about creating an RPM package for it -- I don't like installing extra libraries and compiling on my main machine, so when possible I prefer to have an RPM to install.
I am happy to say that I appear to have successfully created a MakeMKV rpm package that works on CentOS 6.5 (and most likely RHEL 6.5 as well).
From my reading of the EULA, I believe this is allowed under the license. Specifically:
To the creators / owners / maintainers of MakeMKV: If I am incorrect in this thinking, please let me know and I will happily remove the link to the packages from this post. Also, if there is anything that you would like me to change in the way the software is packaged, please let me know. I do not want to do anything with your software that you would not like, I am just trying to "share the love" to other CentOS linux users 
The compile was completed using the ffmpeg and libavcodec libraries available from the ATrpms yum repository. In order to install the makemkv packages, you will need access to this repository since the final RPM requires libavcodec55 to be intalled.
In addition, for a normal (non-root) user to be able to access the cd/dvd drive, you will need to add your user account to the 'cdrom' group.
My packaging consists of 3 packages:
makemkv - this package is actually blank, but requires the other 2 packages. The idea here is that if you have a yum repo or spacewalk server, you can install this package, and yum will automagically pull the other two. Intended as a simple way to install all the required packages.
makemkv-oss - the components included in the makemkv-oss distro tarball
makemkv-bin - the components included in the makemkv-bin distro tarbal
To install this on CentOS or RHEL:
If you have a central repository, like a yum repo or spacewalk server, just install the makemkv package:
yum install --nogpgcheck makemkv
To install w/out a central repository, simply put the packages in a directory, and use yum to install all 3:
yum install --nogpgcheck makemkv makemkv-oss makemkv-bin
Yum will attempt to install libavcodec55 and any other dependancies (needs ATrpms yum repo)
I have tested this on my CentOS 6.6 server and it appears to be working well. It's possible that I may have missed some dependencies (packages may already have been installed on my machine), so if anyone runs into any problems installing via yum, let me know what packages it's asking for so I can add them to the dependencies list.
Enjoy!
(The forum won't let me attach .rpm files, so you can get them from here: https://drive.google.com/folderview?id= ... sp=sharing)
Now, since CentOS/RHEL uses binary packages (RPMs), my next step was to set about creating an RPM package for it -- I don't like installing extra libraries and compiling on my main machine, so when possible I prefer to have an RPM to install.
I am happy to say that I appear to have successfully created a MakeMKV rpm package that works on CentOS 6.5 (and most likely RHEL 6.5 as well).
From my reading of the EULA, I believe this is allowed under the license. Specifically:
Code: Select all
as a special exception, you may extract and repackage Linux-specific part of the Software for the purpose of creating a distribution-specific package, as long as program files and this license remain unchanged.

The compile was completed using the ffmpeg and libavcodec libraries available from the ATrpms yum repository. In order to install the makemkv packages, you will need access to this repository since the final RPM requires libavcodec55 to be intalled.
In addition, for a normal (non-root) user to be able to access the cd/dvd drive, you will need to add your user account to the 'cdrom' group.
My packaging consists of 3 packages:
makemkv - this package is actually blank, but requires the other 2 packages. The idea here is that if you have a yum repo or spacewalk server, you can install this package, and yum will automagically pull the other two. Intended as a simple way to install all the required packages.
makemkv-oss - the components included in the makemkv-oss distro tarball
makemkv-bin - the components included in the makemkv-bin distro tarbal
To install this on CentOS or RHEL:
If you have a central repository, like a yum repo or spacewalk server, just install the makemkv package:
yum install --nogpgcheck makemkv
To install w/out a central repository, simply put the packages in a directory, and use yum to install all 3:
yum install --nogpgcheck makemkv makemkv-oss makemkv-bin
Yum will attempt to install libavcodec55 and any other dependancies (needs ATrpms yum repo)
I have tested this on my CentOS 6.6 server and it appears to be working well. It's possible that I may have missed some dependencies (packages may already have been installed on my machine), so if anyone runs into any problems installing via yum, let me know what packages it's asking for so I can add them to the dependencies list.
Enjoy!
(The forum won't let me attach .rpm files, so you can get them from here: https://drive.google.com/folderview?id= ... sp=sharing)