Home » Linux » Advance Commands » How to extract RAR file in Linux ?

How to extract RAR file in Linux ?

In Linux unrar command is used to “extract files from rar archives” . First we need to make sure this command is installed on Linux. We are using Ubuntu , hence we can install it as below,

Install unrar on Ubuntu

$ sudo apt-get install unrar

You need to install it as per the Linux distribution you are using.

Now, if the compressed filename is “myfile.rar” then we can extract the file as,

$ unrar e myfile.rar

Where the argument e is for “Extract files to current directory.”

Subscribe our Rurban Life YouTube Channel.. "Rural Life, Urban LifeStyle"

Leave a Comment