Page 1 of 3

Install script for MakeMkV for Linux

Posted: Thu Aug 16, 2012 11:55 pm
by mechevar
*Update: Tested on 64 bit: Lubuntu/Ubuntu 12.04.4, Ubuntu 13.10 and Ubuntu 14.04*
Made a script to install MakeMKV.

Download
http://dl.dropbox.com/u/18055299/buildMakeMkv.sh

To use make the script executable, run this command on the file in a terminal

Code: Select all

chmod a+x buildMakeMkv.sh
Then run!

Code: Select all

./buildMakeMkv.sh

You can press the space bar to go through the prompts and the defaults will all work. The script scrapes the MakeMKV download page for the latest version, downloads the archives, unpacks, compiles, installs and then cleans up everything.

Any suggestions on how to improve the script are welcome!

Re: Install script for MakeMkV for Linux

Posted: Sat Aug 25, 2012 6:05 pm
by lnxusr
Excellent work. Quick, simple, and does only what needs to be done. I already had the prerequisites so commented out the line to install them.

I would love to see this capability incorporated directly into MakeMKV. It already informs of a new version, might as well have it download, compile, and install as well, eh?

Thanks for this mechevar.

Re: Install script for MakeMkV for Linux

Posted: Sat Aug 25, 2012 8:26 pm
by martindell
Beautiful! Worked first time on a Mythbuntu install. I'm moving from Windows 7 to Linux and floundering quite a bit - this install script helped me a lot - thank you very much.

Re: Install script for MakeMkV for Linux

Posted: Fri Aug 31, 2012 2:07 pm
by sakajah2
Have you tried BD-R and/or BD-RE?

I tried all available version but results were all the same.
Should I wait for newer version?

Re: Install script for MakeMkV for Linux

Posted: Mon Oct 15, 2012 11:58 pm
by mechevar
Just updated the script so that it automatically finds the latest version (no more prompt). Good luck with MythUbuntu btw. I tried MythTV and had too much trouble. I just use XBMC now with TVheadend.

Re: Install script for MakeMkV for Linux

Posted: Thu Jan 24, 2013 6:16 pm
by Seeker
Thanks very much for this! This script also works on 10.04 if others are wondering.

Re: Install script for MakeMkV for Linux

Posted: Wed Jan 30, 2013 2:19 am
by funnybunny
Excuse me for asking newbie type questions, but will this script also run on Linux Mint 13 (Maya) XFCE 32-bit edition?

I'm guessing it will, since all other Ubuntu stuff does?

If yes, would you mind helping me understand the instructions a little more?
mechevar wrote:Made a script to install MakeMKV. Tested on Ubuntu 12.04, 64 bit.

To use make the script executable

Code: Select all

chmod a+x buildMakeMkv.sh
Does this mean I open up terminal and simply type in that string of text quoted above? Then after it is done running, I simply type the following in the terminal window and press enter? There's nothing for me to download first?
mechevar wrote: Then run!

Code: Select all

./buildMakeMkv.sh
Do I understand this right? I'm not confident when using terminal, so I always triple check what I'm doing first. Thanks for your indulgence.

Re: Install script for MakeMkV for Linux

Posted: Sun Feb 24, 2013 11:17 pm
by mechevar
Are you still having trouble running the script? You have to just download the script, make it executable (the chmod stuff in a terminal) and then just run it (again in a terminal). The script should be independent of XFCE or Linux Mint so hopefully it just works.

Re: Install script for MakeMkV for Linux

Posted: Tue Feb 26, 2013 2:36 am
by danskelly
Oh my, mechevar...

I recently spent about 2 hours writing my own installer script, not seeing that you had written one.

Mine does everything yours does, except for the current version checking. (mind if I steal those lines?)
Also, I've included some code to license the software on a headless install (such as mine.)

Here is mine. (I don't want to take away from yours. But I've already put in the work, and I thought I'd share. :-)
https://www.dropbox.com/s/nc06d6swvwsf6 ... makemkv.sh

You still need to chmod u+x install_makemkv.sh to make it executable. and then run it.

Code: Select all

chmod u+x install_makemkv.sh
Since there is no current version checking, you have to specify the version number, and optionally your license key:

Code: Select all

./install_makemkv.sh 1.8.0 "license key goes here"
If you don't enter a license key on the command line, the script will prompt you for one (which you can just hit [enter] to skip) at the end.

Re: Install script for MakeMkV for Linux

Posted: Fri Aug 02, 2013 1:20 am
by mechevar
The license key is on the command line is interesting. I might add that in as an option

Re: Install script for MakeMkV for Linux

Posted: Sat Aug 03, 2013 5:09 pm
by doncht
Wow! It works! This works on all Linux flavors too right? I'll be trying this out on a CentOS.

Re: Install script for MakeMkV for Linux

Posted: Sat Aug 03, 2013 9:29 pm
by lnxusr
The second line in this script is for Debian based distros. For CentOS

Code: Select all

yum groupinstall "Development Tools"
will install the "build-essential" packages. You'll need to make sure you install the others manually and delete or comment out that line. I commented it out anyway since once the packages are installed, there is no reason to keep trying to install them.

Re: Install script for MakeMkV for Linux

Posted: Mon Sep 23, 2013 8:46 pm
by James Doe
I would prefer:

Code: Select all

make -f makefile.linux
sudo checkinstall make -f makefile.linux install 
Another thing that might be interesting: checking all dependencies

Re: Install script for MakeMkV for Linux

Posted: Mon Nov 11, 2013 9:34 pm
by mechevar
Nice suggestions. By making debs you can remove with any package manager. I updated the script to install the new dependencies in 1.8.6 as well as adding checkinstall.

Re: Install script for MakeMkV for Linux

Posted: Fri Dec 13, 2013 6:35 am
by cvaughan
When I try running this script for version 1.8.7, I get the following error:

========================= Installation results ===========================
make: makefile.linux: No such file or directory
make: *** No rule to make target `makefile.linux'. Stop.

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

removing downloaded files

It worked fine for version 1.8.6.