WinRAR installation on Ubuntu
Mia Lopez
How can I install WinRAR on my Ubuntu 10.04 system? I tried sudo apt-get install rar.
5 Answers
WinRAR is a windows program for using RAR type files. There is no 'WinRAR' on Ubuntu.
Installing rar like you did should add support for RAR files into the standard "archive manager" for ZIPS, TARs, etc.
(copied from William Fleming, he got some of my upvote power for his answer)
Installing unrar will help you with unpacking them: sudo apt-get install unrar
sudo apt-get install unrarThis will allow you to unpack them.
Two ways to install WinRAR in Ubuntu:
Method 1: Install the available rar and unrar tools
In the Terminal type:
sudo apt-get update
sudo apt-get install rar unrar
sudo apt-get cleanIt will install the rar software and after installation, it will open rar files in the archive manager
Method 2: Install wine and then WinRAR
Install wine and download the winrar.exe from WinRAR website and install the WinRAR software similar steps to be followed for the installation in windows and after that rar files are able to open
For more details see this blog post.
If you're referring to this, it's a commercial version, as you can see, and it has not a GUI.
I suggest using file-roller, which is the default archive manager for the GNOME desktop environment.
I know that the pre-installed Archive Manager can open some compressed files, but during my experience to open some .rar format, that brought me an error. one of the practical app to open such files and extract them is unrar that can be installed through the command below:
sudo apt-get install unrar
for this purpose, the useful command and its functionality is here:
- test your
rarfile if it is corrupted :unrar t <yourRARFile> - extract the containing file in full path:
unrar x <yourRARFile>