PDA

View Full Version : [ubuntu] How to install Winrar



zhoujielun
February 24th, 2013, 10:56 PM
Hello!
I'm new and want to install winrar on ubuntu. I have downloaded the linux version of winrar but don't know how to install it.
I have tried two terminal commands:
"sudo aptitude update && sudo aptitude install rar unrar"
(computer didn't find the command)
and "sudo apt-get install unrar"
(computer said that he can't install unrar"
What have I done wrong?? It's the first time i'm installing a programm on ubuntu.

oldos2er
February 24th, 2013, 11:01 PM
I think if you substitute "apt-get" for "aptitude," which is no longer installed by default, the command should work.
sudo apt-get update && sudo apt-get install rar unrar

zhoujielun
February 24th, 2013, 11:29 PM
I think if you substitute "apt-get" for "aptitude," which is no longer installed by default, the command should work.
sudo apt-get update && sudo apt-get install rar unrar

My computer is still saying that he can't install rar and unrar....

zhoujielun
February 24th, 2013, 11:36 PM
have you tried opening the tarball then clicking on an installer?

lol... i spent a whole hour figuring that out ..:p

what is tarball?

MAFoElffen
February 25th, 2013, 02:40 AM
Easiest is xarchiver, that includes rar as one of it's formats. Basic gui, but is opensource and free.

Next is unrar-free... unrar and rar are non-free, but those will install and run for 40 days or so, then you have to pay to register it to keep them functioning. unrar-free is from the same author, works on most rar archives, but not the newer format rar's. But then again, is free.

I used rar and unrar until it ran out... then uninstalled it and went to xarchiver.

I still have WinRar on one of my Windows installs, that I paid/registered years ago. I always have a shared dataspace that I use for both Windows, Linux and Unix data >> on a shared nfts filesystem or on NAS.

varunendra
February 25th, 2013, 03:10 AM
have you tried opening the tarball then clicking on an installer?
Nevermind that, you don't need tarballs.

FYI, they are third party packages which you only need if the desired package is not available in repositories, while rar, unrar are available there.



sudo apt-get update && sudo apt-get install rar unrar
Make sure you have 'multiverse' repository enabled before doing above :
Open 'Ubuntu Software Center' > goto Edit > Software Sources > make sure 'multiverse' repository is enabled (that is, the 4th checkbox has a tick mark in it. You might wish to enable all of them)

Closr software center and search for rar, unrar in USC, or close it as well and simply run the above two commands once more.


PS:
Just so you are aware, the 'rar' program..

..is shareware and you must register it after 40 days of use.
On the other hand, 7zip (p7zip package) is free and is much more efficient. Unrar is non-shareware though.

PPS:

basically, tar.gz files are the same as .rar, .zip, .iso, .7z etc they are all the same,
Not at all. They are all archives, yes, but with huge difference in type and properties, and often have different purpose too.


apparently winrar for linux is command line only
not entirely true. It is a commandline utility, yes, but is also automatically integrated in the default 'Archive Manager' gui. So you also get a gui for using it.

varunendra
February 25th, 2013, 03:20 AM
I used rar and unrar until it ran out....
You might wish to correct it a bit. Unrar (nonfree) is actually a freeware, just install it and run 'unrar' command to verify that. The 'nonfree' part stands for its source code only.

I have it installed, and is working perfectly for about a year now. :)