How to extract RAR file in Linux

unar is a utility to extract rar archive files.

Using unrar

To extract a rar file, run

unrar x filename.rar

Install unare on Ubuntu/Debian

To install unrar on Ubuntu/Debian, run

apt install unrar -y

Install Unrar from source

Download unrar from

http://www.rarlab.com/download.htm

cd /usr/local/src
wget https://www.rarlab.com/rar/rarlinux-x64-6.0.b1.tar.gz
tar zxvf rarlinux-x64-6.0.b1.tar.gz
cd rar
cp rar unrar /usr/bin
Need help with Linux Server or WordPress? We can help!

Leave a Reply

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