Skip to content

Instantly share code, notes, and snippets.

@MrTechGadget
Last active February 9, 2018 22:39
Show Gist options
  • Save MrTechGadget/65d753fb9cae7cce2e5a9a81263f4a42 to your computer and use it in GitHub Desktop.
Save MrTechGadget/65d753fb9cae7cce2e5a9a81263f4a42 to your computer and use it in GitHub Desktop.
Automate installation of ARM v2_master on Ubuntu Server 16.04 LTS
sudo groupadd arm
sudo useradd -m arm -g arm
sudo passwd arm
sudo apt-get -y install git
sudo add-apt-repository ppa:heyarje/makemkv-beta
sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo add-apt-repository ppa:mc3man/xerus-media
sudo apt update
sudo apt -y install makemkv-bin makemkv-oss
sudo apt -y install handbrake-cli libavcodec-extra
sudo apt -y install abcde flac imagemagick glyrc cdparanoia
sudo apt -y install at
sudo apt -y install python3 python3-pip
sudo apt-get -y install libcurl4-openssl-dev libssl-dev
sudo apt-get -y install libdvd-pkg
sudo dpkg-reconfigure libdvd-pkg
sudo apt -y install default-jre
cd /opt
sudo git clone https://github.com/automatic-ripping-machine/automatic-ripping-machine.git arm
cd arm
sudo git checkout v2_master
sudo pip3 install --upgrade pip
sudo sh -c "pip3 install -r requirements.txt"
sudo ln -s /opt/arm/setup/51-automedia.rules /lib/udev/rules.d/
sudo ln -s /opt/arm/setup/.abcde.conf ~/
sudo sh -c "cp /opt/arm/setup/arm@.service /etc/systemd/system/"
sudo sh -c "cp docs/arm.conf.sample arm.conf"
sudo mkdir /etc/arm/
sudo ln -s /opt/arm/arm.conf /etc/arm/
echo "Don't forget to edit the /opt/arm/arm.conf configuration file, setup any /mnt paths, and reboot!"
@MrTechGadget
Copy link
Author

MrTechGadget commented Feb 9, 2018

You can install this directly from the command-line by running:
bash <(wget -qO- https://gist.githubusercontent.com/audioeng/65d753fb9cae7cce2e5a9a81263f4a42/raw/a5550343c30de6e14854e950a4a175231b9d70b9/installARM.sh)
Or, just download it/copy & paste/manually type it in and run it
bash installARM.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment