How To Install Unrar In Linux
Looking for WinRAR in Linux? Here'south how to extract and use RAR files in Linux.
RAR is a quite good archive file format. Just, it isn't the best when you've got 7-zip in Linux offer dandy compression ratios and Zip files being hands supported across multiple platforms by default.
It is ane of the most popular annal formats, simply, Ubuntu's archive manager does not support extracting RAR files nor does information technology let yous create RAR files. It would rather show you this error:
In that location is no command installed for RAR archive files. Do you desire to search for a command to open this file?
Fret not, we take a solution for you. To enable the support to extract RAR files, you demand to installUNRAR – which is a freeware past RARLAB. And, to create and manage RAR files, you need to install RAR.
Extracting RAR Files in Linux
Unless you accept it installed, extracting RAR files will show y'all an fault "Extraction not performed". Here's how information technology should look like (Ubuntu xviii.04):
If you want to resolve the error and easily exist able to extract RAR files, follow the instructions beneath to install unrar.
Pace i: Install unrar packet from multiverse repository
Launch the terminal and type in the following control to make sure you accept multiverse repository enabled in Ubuntu:
sudo add together-apt-repository multiverse Update the bundle cache:
sudo apt update Now install unrar package:
sudo apt-get install unrar Step 2: Extract RAR files either graphically or via control line
Later on installing unrar, you may cull to type in "unrar" (without the inverted commas) to know more about its usage and how to use RAR files with the help of it.
The most common usage would obviously be extracting the RAR file y'all have. And so, you can either perform a right-click on the file and proceed to extract information technology from there or yous tin can exercise it via the terminal with the help of this command:
unrar x FileName.rar You can run across that in action here:
If the file isn't present in the Home directory, and then you have to navigate to the target folder by using the cd command in Linux. For example, if you lot have the archive in the Music directory, simply type in "cd Music" to navigate to the location and then excerpt the RAR file.
Creating & Managing RAR files in Linux
UNRAR does not let you lot create RAR files. Then, you need to install the RAR command-line tool to exist able to create RAR archives.
To do that, yous need to type in the post-obit command:
sudo apt-go install rar Here, we volition assist you create a RAR file. In order to exercise that, follow the command syntax below:
rar a ArchiveName File_1 File_2 Dir_1 Dir_2 When you type a control in this format, it volition add every detail within the directory to the archive. In either case, if you lot want specific files, just mention the verbal name/path.
By default, the RAR files reside inDwelling directory.
In the same fashion, you tin update/manage the RAR files. Just type in a command using the following syntax:
rar u ArchiveName Filename To get the list of commands for the RAR tool, just type "rar" in the terminal.
Wrapping Up
Now that you lot've known how to use RAR files on Ubuntu, will you adopt using it over 7-zip, Zip, or Tar.xz?
Let us know your thoughts in the comments below.
Source: https://itsfoss.com/use-rar-ubuntu-linux/
Posted by: joneswatelt.blogspot.com

0 Response to "How To Install Unrar In Linux"
Post a Comment