www.makemkv.com

MakeMKV support forum
It is currently Sun Apr 23, 2017 9:48 am

All times are UTC




Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Thu Aug 16, 2012 11:55 pm 
Offline

Joined: Fri Feb 11, 2011 1:47 am
Posts: 16
*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:
chmod a+x buildMakeMkv.sh


Then run!
Code:
./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.

Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 25, 2012 6:05 pm 
Offline

Joined: Thu Mar 10, 2011 1:14 am
Posts: 4
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.


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 25, 2012 8:26 pm 
Offline

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


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 31, 2012 2:07 pm 
Offline

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


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 15, 2012 11:58 pm 
Offline

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


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 24, 2013 6:16 pm 
Offline

Joined: Thu Jan 24, 2013 6:01 pm
Posts: 2
Thanks very much for this! This script also works on 10.04 if others are wondering.


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 30, 2013 2:19 am 
Offline

Joined: Tue Jan 29, 2013 11:20 pm
Posts: 1
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:
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:
./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.


Top
 Profile  
Reply with quote  
PostPosted: Sun Feb 24, 2013 11:17 pm 
Offline

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


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 26, 2013 2:36 am 
Offline

Joined: Mon Feb 25, 2013 2:44 am
Posts: 1
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/nc06d6swvwsf6pk/install_makemkv.sh

You still need to chmod u+x install_makemkv.sh to make it executable. and then run it.
Code:
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:
./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.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 02, 2013 1:20 am 
Offline

Joined: Fri Feb 11, 2011 1:47 am
Posts: 16
The license key is on the command line is interesting. I might add that in as an option


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 03, 2013 5:09 pm 
Wow! It works! This works on all Linux flavors too right? I'll be trying this out on a CentOS.


Top
  
Reply with quote  
PostPosted: Sat Aug 03, 2013 9:29 pm 
Offline

Joined: Thu Mar 10, 2011 1:14 am
Posts: 4
The second line in this script is for Debian based distros. For CentOS
Code:
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.


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 23, 2013 8:46 pm 
Offline

Joined: Tue Dec 04, 2012 10:18 pm
Posts: 10
I would prefer:

Code:
make -f makefile.linux
sudo checkinstall make -f makefile.linux install


Another thing that might be interesting: checking all dependencies


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 11, 2013 9:34 pm 
Offline

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


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 13, 2013 6:35 am 
Offline

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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group