Skip to main content

How To Extract Password Protected rar file in Ubuntu?

· One min read
Kaustubh Kulkarni

Let us see How To Extract Password Protected rar file in Ubuntu?

To extract file with password or without password you have to install rar Command Line utility.

cmd
$ sudo apt-get install rar

Now enter the below command in terminal.

cmd
$ sudo rar e file_name.rar

for example, if your file name is file.rar then run below command in terminal

cmd
$ sudo rar e file.rar

IF your file is password protected it will prompt for password. if file is not protected then it will automatically start extracting rar file. Output when password is required.

cmd
Enter password (will not be echoed) for file.zip

That's it , I carried out this practical on Ubuntu 20.04 on 11/12/2020. If you are facing issues with your OS then just comment with os version. will help you in setup.