As a novice Linux and Ubuntu Fiesty Fawn user I have faced some issues related to RAR Archives. WinRAR is the Windows tool widely used for this purpose and it is also a powerful archiver. If one has
wine installed as mentioned in one of my
earlier blogs they can install WinRAR in no time following
this.
I am just mentioning the steps in short.
- Download WinRAR 3.7
wine {PATH_TO_EXE}. E.g. wine wrar371.exe.
Having Desktop emulation configured using Wine is necessary. winecfg -> Graphics -> Emulate.... checkbox
- Run WinRAR with the following command:
wine {PATH_TO_INSTALLATION}/WinRAR.exe
I hope all enjoys WinRAR on Ubuntu.
What issues did you have with RAR files under linux? File Roller works just as well if not better than WinRAR plus it's free. For par files I use GPar2.
ReplyDelete-Eric
My File Roller can not open RAR archives. Furthermore if I do sudo apt-get install rar it says that there is no such package. Let me know if you solve it because I also prefer File Roller over WinRAR.
ReplyDeleteThat's because the syntax is...
ReplyDeletesudo apt-get install unrar
or
sudo apt-get install unrar-free
-Eric
I should mention that once you install unrar or unrar-free that you will be able to right click on files and select "Create an Archive" and one of the options should be .rar.
ReplyDelete-Eric
Thanks. But I already had Unrar-free installed and just to recheck I apt-get remove unrar-free and again did apt-get install unrar-free. But I still do not get the RAR option in the create archive. Not to mention the problem of openning RARs with the File Roller :(
ReplyDeleteThanks for the GPar2 recommendation
ReplyDeleteMake sure that you have the "multiverse" repos enabled.
ReplyDeleteI'm using the...
apt-get install unrar
...version and everything works.
fyi... the unrar version is the ...
http://www.rarlabs.com/ (i.e. WinRar)
..version.
- Eric
After checking multiverse as a source I could install unrar and that allowed me to view RAR archives but not create one. Later than I installed 'rar' package and that allowed me to create RAR archives as well. Thanks for all the helps Eric.
ReplyDeleteGlad I could help... =)
ReplyDelete- Eric
imyousuf,
ReplyDeleteJust thought I would make sure that you are OK. I've been watching coverage of the Cyclone. Hope all is well.
-Eric
Thanks Eric, I was in Oslo when it happened, though I am in Bangladesh now again and yes my family is doing fine. Thanks a lot once again, btw where are you from?
ReplyDeleteI'm very glad to hear that you and your family are ok. Stay safe!
ReplyDeleteI live in Albuquerque, New Mexico USA. I've been watching everything unfold in Bangladesh on CNN and MSNBC. Very heart breaking. My thoughts are with you and your country.
-Eric
can anyone help me to execute winrar under wine, and have it open an archive in the same bash command?
ReplyDeleteie. wine "c:\\program files\\winrar\\winrar.exe" && /home/dad/archivename.part1.rar
or. wine "c:\\program files\\winrar\\winrar.exe" | /home/dad/archivename.part1.rar
i just can't figure the right syntax...
First: is...
ReplyDeletec:\\program files\\winrar\\winrar.exe
...the actual path to the WinRar.exe?
it should be something like...
/home/foo/.wine/drive_c/Program Files/WinRar/WinRar.exe
Also you can use the Linux Unrar...
sudo apt-get install unrar
or
sudo apt-get install unrar-free
This should allow you to open winrar files with Linux's File Roller...
Eric
my true path to winrar is /home/dad/.wine/drive_c/Program Files/WinRar/winrar.exe
ReplyDeleteas i'm playing in bash i've discovered that bash recognizes "c:" as /home/dad/wine/drive_c ; as long as it is after the wine command and in quotes with double backslash paths. i have no problem launching the app from bash, but i cannot throw a command to have it dispay an archive when it opens, i have to navigate to the archive [i]after[/i] winrar is opened.
thx for replying :)
i use winrar thru wine on Ubuntu Intrepid x64(gnome). the programs works great, but i can't get it to where i can right-click,open a rar file with it. i think the problem is that linux sends winrar a linux-formated directory path(forward-slashes) and winrar needs to see backslashes to interperet the path properly. i have tried using the bash command: wine "/home/.../winrar.exe \home\...\rar.rar" it still doesnt seem to interperet the path. i am a linux noob, but i think this could be accomplished with a shell script, tho i dont know how to do it.
ReplyDeleteHi Ron, did you try the rar, unrar package which integrates RAR support to file-roller (Archive Manager), that would provide you what you are looking for.
ReplyDeletethanks for share.....
ReplyDeleteyou can try http://www.openrarfile.com/open-rar-file
ReplyDeleteI was always facing problem to open a .rar file . Window was showing an error “window cannot open this file ” .Now my problem hasbeen solved .Thank’s for this tip
ReplyDelete