Does Anybody Have a Script for Updating MakeMKV?

The place to discuss linux version of MakeMKV
Post Reply
Faber
Posts: 24
Joined: Thu Oct 04, 2018 3:57 pm

Does Anybody Have a Script for Updating MakeMKV?

Post by Faber » Mon Feb 13, 2023 6:58 pm

I prefer installing MakeMKV from scratch instead of using a Flatpak because Flatpaks don't integrate nicely with the rest of the system. The downside to this approach is that it makes updating to a newer version rather laborious. Instead of being able to even update via a script, I have to delete three folders and then install from scratch. I'd love to be able to just pop into the Terminal and run a script.

Skyterix
Posts: 5
Joined: Fri Jan 29, 2021 7:17 pm

Re: Does Anybody Have a Script for Updating MakeMKV?

Post by Skyterix » Wed Feb 15, 2023 8:40 am

I don't have a script but, I recently discovered a docker image for makemkv. It gives you a Web GUI with the newest version, really convenient. It might be helpful if you already use docker in your system.

https://hub.docker.com/r/jlesage/makemkv

spicefrenzy
Posts: 1
Joined: Fri Feb 17, 2023 7:01 pm

Re: Does Anybody Have a Script for Updating MakeMKV?

Post by spicefrenzy » Fri Feb 17, 2023 7:43 pm

I don't use a script either, but instead have the necessary commands listed in my Wiki so all I need to do is copy/paste them into a shell session. Scripting it is possible, but I was too lazy to work out a way to lookup the new version number to do a proper download.

Here's what I use:
  • Initial Setup:
    apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev qtbase5-dev zlib1g-dev

    mkdir ~/Downloads/MakeMKV
  • Set the current version:
    VER=1.17.3
  • Download the source:
    cd ~/Download/MakeMKV

    wget https://www.makemkv.com/download/makemk ... VER.tar.gz
    wget https://www.makemkv.com/download/makemk ... VER.tar.gz

    tar xf makemkv-oss-$VER.tar.gz
    tar xf makemkv-bin-$VER.tar.gz
  • Compile & Install the OSS package:
    cd makemkv-oss-$VER
    ./configure && make

    sudo make install && echo looks good || echo error, try again
  • Compile & Install the BIN package:
    cd ~/Downloads/MakeMKV/makemkv-bin-$VER
    make
    (exit the EULA displaly and type "yes" when asked)
    sudo make install && echo looks good || echo error, try again
  • Cleanup:
    rm -rf ~/Downloads/MakeMKV/makemkv-*-$VER

Post Reply