How to open a rar file with the Linux command line. This is very easy.

Posted: January 13, 2014. At: 12:49 PM. This was 4 years ago. Post ID: 6872
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

The unrar command for Linux takes care of opening rar files.

Firstly, install the command with the yum install unrar command.

[root@localhost Downloads]# yum install unrar

Or this way on a Debian GNU/Linux system.

[user@debian ~]$ sudo apt-get install unrar

Then you may unpack your rar files and maintain the directory structure if there is one inside the file.

[homer@localhost Downloads]$ unrar x myfile.rar

That is how easy this is!

1 responses to “How to open a rar file with the Linux command line. This is very easy.

7zip is another tool that can be used to unrar the rar archives.

apt-get install p7zip-rar
7z e archive.rar

Leave a Reply