LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-16-2005, 08:50 PM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
how to deal with .rar files in linux now that rar is no longer part of linux


at one time rar and unrar were part of the debian distro and i had no problem with them, but now they have been removed for what ever reason.

is there an other application that can handle .rar files? if so what is it and were would i go to get it?
 
Old 05-16-2005, 09:11 PM   #2
TomalakBORG
Member
 
Registered: Dec 2004
Location: Maryland
Distribution: SuSE / Gentoo
Posts: 245

Rep: Reputation: 30
Download unrar! -Bill
 
Old 05-16-2005, 09:11 PM   #3
s34n
Member
 
Registered: Jun 2003
Distribution: Slackware 9.1 / Debian Sid
Posts: 57

Rep: Reputation: 15
Code:
apt-get unrar-nonfree
if you want to open the latest .rar files
 
Old 05-16-2005, 09:30 PM   #4
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
Code:
p4ssmahome:~# apt-get install unrar-nonfree
Reading Package Lists... Done
Building Dependency Tree... Done
Package unrar-nonfree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package unrar-nonfree has no installation candidate
have tried that no love.

what repository do you have for it?

Code:
#deb file:///cdrom/ sarge main

##### main Debian source
deb http://security.debian.org/ testing/updates main contrib

##### Official US Debian archive
deb ftp://ftp.debian.org/debian/ testing main

##### k3b from http://www.k3b.org/
deb http://www.planet-moll.de/debian sarge main

##### Official mplayer and deverip
#deb http://dijkstra.csh.rit.edu/~mdz/debian unstable mythty
deb ftp://ftp.nerim.net/debian-marillat/ testing main

##### Official debian NON-US
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
that is my list and no luck there. do you have one i can add that will have the unrar vertual package i can apt-get install. running debian sarge 2.6.8 kernel if that matters.
 
Old 05-17-2005, 04:30 PM   #5
s34n
Member
 
Registered: Jun 2003
Distribution: Slackware 9.1 / Debian Sid
Posts: 57

Rep: Reputation: 15
Not sure why you are getting that error, but you can use your webbrowser to navigate to ftp://ftp.debian.org/debian/pool/non-free/u/unrar/ and it is there.

Just get it that way and install it with dpkg -i
 
Old 05-18-2005, 12:08 PM   #6
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
s34n thank you.
 
Old 05-24-2005, 09:35 PM   #7
JohnBoy
Member
 
Registered: Oct 2003
Distribution: Debian, RH, Knoppix, Ubuntu, CentOS
Posts: 62

Rep: Reputation: 15
"apt-cache search compress" returned a lengthy list of install candidates. Among them was a package called "unp".

After installing it, entering "unp -h" at my command prompt
gave me the help info, as expected. The following is extracted
from this info:

currently supported extensions and formats are
tar[.gz,.bz2], gz, bz2, Z, ar/deb, rpm, shar, rar, arj, zip, LHa, cab, ace,
tnef, uu (mail, news), mime, hqx, sea, zoo, pmd, cpio, afio, lzop


The man page gave me the following USAGE info, which I found interesting,
particualrly because of the blurb about Debian package files. I imagine
there is another means for doing this (wrt Deb packages) but this is the
first method I've come across.

USAGE
unp extract one or more files given as arguments on the command line.
Additionaly, it may pass some options to the backend tools (like tar
options) when they are appended after `--.

There is also a special option (-u) which is very usefull for extract-
ing of Debian packages. Using -u, unp extracts the package (i.e. the ar
archive) first, then extracts data.tar.gz in the current directory and
then control.tar.gz in control/<filename>/.
 
Old 06-06-2005, 09:57 PM   #8
figfighter
Member
 
Registered: Jun 2005
Distribution: Mandriva LE 2005
Posts: 71

Rep: Reputation: 15
After installing UnRar....

I just installed Xandros linux as I read it was supposed to be the most user friendly distro. In any event, I'm trying to accomplish some tasks that are simple tasks for windows.

One of these tasks is opening a .rar file.

Using Xandros Networks I installed UnRar, however I don't see it under the Applications menu. Also, when I double click on the .rar file it asked what program to use to open it.

Do I need to use the console?
 
Old 06-06-2005, 10:17 PM   #9
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
If you have ark installed, you can open rar files without going into the command line.
 
Old 06-06-2005, 10:33 PM   #10
figfighter
Member
 
Registered: Jun 2005
Distribution: Mandriva LE 2005
Posts: 71

Rep: Reputation: 15
AH! YES!!

That is what I've been needing, thank you. Like I said still getting used to this. Just figured out it helps to use Xandros Networks to install programs. Now I'm learning you need to install sometimes more than ONE thing!
 
Old 11-21-2008, 02:53 AM   #11
Birdman666
LQ Newbie
 
Registered: Oct 2008
Location: Calgary
Posts: 16

Rep: Reputation: Disabled
Angry further problems with rar files

I have both fileroller and ark installed. However no files are visible to extract. Not sure what the problem is. If it can't see the contents there never are any files to extract. Has anyone else had a similar problem?
 
Old 11-21-2008, 03:17 AM   #12
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
Quote:
Originally Posted by Birdman666 View Post
I have both fileroller and ark installed. However no files are visible to extract. Not sure what the problem is. If it can't see the contents there never are any files to extract. Has anyone else had a similar problem?
You still need (un)rar:

http://www.google.com/search?source=...le+Search&aq=f
 
Old 11-22-2008, 04:55 AM   #13
Birdman666
LQ Newbie
 
Registered: Oct 2008
Location: Calgary
Posts: 16

Rep: Reputation: Disabled
Debianlinux:/tmp/rar# ./unrar
./unrar: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./unrar)

This is what happens every single time I try to use a cmd of rar or unrar. Doesn't go away no matter how I try to install. This library is the issue.

I've checked various forums for the exact same problem as my own. Responses seem to not listen and just bowl over the person filing the question.

Although I'd prefer not to be reliant upon it the only way I can use a Rar utility is in Wine.
 
Old 11-22-2008, 05:45 AM   #14
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
you can also use p7zip, that's what I use, it worked on all rars I've ever found.
 
Old 11-22-2008, 08:01 AM   #15
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,248

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
Debian has changed its naming policy. I think it was introduced with Lenny.

Before:
free: unrar
non-free: unrar-nonfree

After:
free: unrar-free
non-free: unrar

About 3 weeks I have installed unrar again in Lenny and it works fine.

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
anything in linux to open rar files? yowwww Linux - Software 17 07-11-2009 12:00 PM
howto deal with .rar files in CentOS 4.1? Lleb_KCir Linux - Software 13 10-23-2005 04:58 PM
Password Protected rar files on Linux Mandrake 9.1 gregonite Linux - Newbie 2 01-23-2005 08:40 AM
dealing with .rar files in linux? dr_zayus69 Linux - Software 2 12-12-2004 01:25 AM
Linux rar files on Windows?? rbickram Linux - General 2 12-10-2002 02:25 PM


All times are GMT -5. The time now is 06:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration