How to install RAR (WinRAR) on Ubuntu 16.04

# compile

mkdir -p "$HOME/tmp/tar_gz"
cd "$HOME/tmp/tar_gz"
if [[ ! -f "$HOME/tmp/tar_gz/rarlinux-x64-5.5.0.tar.gz" ]]; then
  wget -O "$HOME/tmp/tar_gz/rarlinux-x64-5.5.0.tar.gz" ""
tar xf "$HOME/tmp/tar_gz/rarlinux-x64-5.5.0.tar.gz"
cd "$HOME/tmp/tar_gz/rar"

# install

sudo make install
sudo ldconfig

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.