Install script for MakeMkV for Linux

The place to discuss linux version of MakeMKV
mechevar
Posts: 16
Joined: Fri Feb 11, 2011 1:47 am

Install script for MakeMkV for Linux

Post 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!
Last edited by mechevar on Fri Apr 18, 2014 4:11 pm, edited 6 times in total.
lnxusr
Posts: 4
Joined: Thu Mar 10, 2011 1:14 am

Re: Install script for MakeMkV for Linux

Post 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.
martindell
Posts: 2
Joined: Sat Aug 25, 2012 8:24 pm

Re: Install script for MakeMkV for Linux

Post 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.
sakajah2
Posts: 7
Joined: Thu Aug 30, 2012 12:30 pm

Re: Install script for MakeMkV for Linux

Post 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?
mechevar
Posts: 16
Joined: Fri Feb 11, 2011 1:47 am

Re: Install script for MakeMkV for Linux

Post 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.
Seeker
Posts: 2
Joined: Thu Jan 24, 2013 6:01 pm

Re: Install script for MakeMkV for Linux

Post by Seeker »

Thanks very much for this! This script also works on 10.04 if others are wondering.
funnybunny
Posts: 1
Joined: Tue Jan 29, 2013 11:20 pm

Re: Install script for MakeMkV for Linux

Post 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.
mechevar
Posts: 16
Joined: Fri Feb 11, 2011 1:47 am

Re: Install script for MakeMkV for Linux

Post 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.
danskelly
Posts: 1
Joined: Mon Feb 25, 2013 2:44 am

Re: Install script for MakeMkV for Linux

Post 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.
mechevar
Posts: 16
Joined: Fri Feb 11, 2011 1:47 am

Re: Install script for MakeMkV for Linux

Post by mechevar »

The license key is on the command line is interesting. I might add that in as an option
doncht

Re: Install script for MakeMkV for Linux

Post by doncht »

Wow! It works! This works on all Linux flavors too right? I'll be trying this out on a CentOS.
lnxusr
Posts: 4
Joined: Thu Mar 10, 2011 1:14 am

Re: Install script for MakeMkV for Linux

Post 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.
James Doe
Posts: 10
Joined: Tue Dec 04, 2012 10:18 pm

Re: Install script for MakeMkV for Linux

Post 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
mechevar
Posts: 16
Joined: Fri Feb 11, 2011 1:47 am

Re: Install script for MakeMkV for Linux

Post 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.
cvaughan
Posts: 2
Joined: Fri Dec 13, 2013 6:31 am

Re: Install script for MakeMkV for Linux

Post 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.
Post Reply