unrar command not found in linux

Ads
 

unrar command not found in linux

Hi,

I am trying to unrar a file in Linux with following command:

unrar myfile.rar

Here is complete log of the error:

[email protected]:~/examples$ unrar myfile.rar

Command 'unrar' not found, but can be installed with:

sudo apt install unrar-free
sudo apt install unrar     

[email protected]:~/examples$

How to install the unrar command in Ubuntu?

Thanks

View Answers

April 22, 2020 at 4:25 PM

Hi,

I have attached the screen shot of the error:

Thanks


April 22, 2020 at 4:33 PM

Hi,

Above error shows that you don't have unrar util installed on your Linux box. You can run following command to install the free version of unrar util:

sudo apt install unrar-free

The above command will install the unrar util on your Ubuntu box and after that you can use the unrar tool to extract the content of a rar file.

Here is the screen shot of installation process on Ubuntu 18.04 box:

Some of the output of the installation process:

[email protected]:~/examples$ sudo apt install unrar-free
[sudo] password for deepak: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  efibootmgr libfwup1 libwayland-egl1-mesa
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gnustep-base-common gnustep-base-runtime gnustep-common
  libgnustep-base1.25 libobjc4 unar
Suggested packages:
  gnustep-base-doc pike8.0 | pike7.8 | pike7.6 | pike
The following NEW packages will be installed:
  gnustep-base-common gnustep-base-runtime gnustep-common
  libgnustep-base1.25 libobjc4 unar unrar-free
0 upgraded, 7 newly installed, 0 to remove and 20 not upgraded.
Need to get 2,995 kB of archives.
After this operation, 14.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

Once the installation is successful you use the unrar command.

Thanks


April 23, 2020 at 5:02 AM

Hi,

After installing you will be able to unrar a file with following command:

unrar myfile.rar.

Here is sample output:

[email protected]:~/Desktop/test$ unrar one.rar

unrar 0.0.1  Copyright (C) 2004  Ben Asselstine, Jeroen Dekkers


Extracting from /home/deepak/Desktop/test/one.rar

Extracting  one.txt                                                   OK        
All OK
[email protected]:~/Desktop/test$

So, now you can use the unrar command to extract the content of a rar file on Linux box.

Here is the screenshot of the above example program:

Thanks


April 23, 2020 at 5:03 AM

Hi,

You can check more tutorials at:

Thanks

Ads









Related Tutorials/Questions & Answers:
unrar command not found in linux
unrar command not found in linux  Hi, I am trying to unrar a file in Linux with following command: unrar myfile.rar Here is complete log of the error: [email protected]:~/examples$ unrar myfile.rar Command 'unrar
How to Unrar in Linux?
How to Unrar in Linux?  Hi, How to Unrar Files in Linux? Thanks   Hi, First install unrar tool on your linux box. Use the following command: yum install unrar Here is the output of the command: myserver [~]# yum
Advertisements
Hadoop command not found
Hadoop command not found  Hi, I am trying to put file with the command: hadoop fs -put test.txt /test/ But its saying hadoop command not found. How to resolve this? Thanks   Hi, This error means that you have
Command 'gem' not found, but can be installed with
Command 'gem' not found, but can be installed with  Hi, I am trying...: Command 'gem' not found, but can be installed with: sudo snap install ruby... on your Ubuntu box. You can install with following command: sudo snap install ruby
make: gcc: Command not found ubuntu
make: gcc: Command not found ubuntu  Hi, I am getting following error while installing a program in Ubuntu. Building native extensions. This could take a while... ERROR: Error installing zombie_writer: ERROR: Failed
R command not found Windows
Solved: R command not found Windows After installing R Programming tool... the issue R command not found Windows in command prompt then due to some reason r... command not found Windows" error. R Programming Online Training Join our
PKG_PROG_PKG_CONFIG: command not found
PKG_PROG_PKG_CONFIG: command not found  Hi, How to solve PKGPROGPKG_CONFIG: command not found error This error is coming while executing the configure script. Thanks
PKG_PROG_PKG_CONFIG: command not found
PKG_PROG_PKG_CONFIG: command not found  Hi, How to solve PKGPROGPKG_CONFIG: command not found error This error is coming while executing the configure script. Thanks
PKG_PROG_PKG_CONFIG: command not found
PKG_PROG_PKG_CONFIG: command not found  Hi, How to solve PKGPROGPKG_CONFIG: command not found error This error is coming while executing the configure script. Thanks
PKG_PROG_PKG_CONFIG: command not found
PKG_PROG_PKG_CONFIG: command not found  Hi, How to solve PKGPROGPKG_CONFIG: command not found error This error is coming while executing the configure script. Thanks
PKG_PROG_PKG_CONFIG: command not found
PKG_PROG_PKG_CONFIG: command not found  Hi, How to solve PKGPROGPKG_CONFIG: command not found error This error is coming while executing the configure script. Thanks
pyspark: line 45: python: command not found
Spark Error: pyspark: line 45: python: command not found I installed Spark...: command not found env: ?python?: No such file or directory... ./pyspark: line 45: python: command not found Python 3.6.9 (default, Apr 18
ModuleNotFoundError: No module named 'unrar'
padas library. You can install unrar python with following command: pip...ModuleNotFoundError: No module named 'unrar'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'unrar
ModuleNotFoundError: No module named 'unrar-cffi'
with following command: pip install unrar-cffi After the installation of unrar...ModuleNotFoundError: No module named 'unrar-cffi'  Hi, My Python... 'unrar-cffi' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'unrar_wrapper'
with following command: pip install unrar_wrapper After...ModuleNotFoundError: No module named 'unrar_wrapper'  Hi, My... 'unrar_wrapper' How to remove the ModuleNotFoundError: No module named
Create tar.gz file in Linux command line
directory name or file name for adding into the tar.gz file. Linux tar command... backup. This command is used by the administrator of Linux/Unix system. The tar...; be accessed in command line mode in Linux terminal. Open the terminal in Linux
How To Unblock IP address from command line in CSF Firewall ââ?¬â?? Linux Server?
How To Unblock IP address from command line in CSF Firewall ΓΆβ?¬β?? Linux Server?  Hi, How To Unblock IP address from command line in CSF Firewall ΓΆβ?¬β?? Linux Server? thanks   Hi, Its very easy: Open the file
Linux
not found. help me in doing this. thanks & regards Lachu
linux tar folder and subfolders
for me for zipping it into a file possible Linux tar file. I just searched and found.... Help me with the command in Linux for archiving folder and subfolders into tar...linux tar folder and subfolders  Hi, I am new to Linux operating
Path was not found
Path was not found  The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
identifier not found
identifier not found  Getting compilation error " identifier not found " please explain ?   identifier means variable name,,,,make sure it same as declaration
ModuleNotFoundError: No module named 'found'
padas library. You can install found python with following command: pip...ModuleNotFoundError: No module named 'found'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'found
File not found
not found
File not found
not found
File not found
"(specified file not found
File not found
"(specified file not found
File not found
getting an error "emp_code.doc"(specified file not found)  Hi Friend
tar command
tar command  Hi, What is tar command in Linux and how it is used? Thanks
File not found
not found)  Hi Friend, Visit Here Thanks
Steps not found.
Steps not found.  import java.io.*; import java.net.*; import javax.servlet.*; import javax.servlet.http.*; public class Details1 extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse
mycustomer.hbm.xml not found
(); //Query q=s.createQuery("from mycustomer"); //q.setCacheable(true); //l...; </property> <property name="quality"> <column name="Q"/>...: org.hibernate.MappingNotFoundException: resource: p1.mycustomer.hbm.xml not found

Ads