LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 08-30-2005, 08:33 AM   #1
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Rep: Reputation: 31
How open files with rar extension?


Hi
I am using Sarge 3.1 and I have file with rar extension.
When I try open it I got a message /bin/sh: line 1: unrar: command not found

I know that I must do something like apt-get install xxxxxx
what to install to be able open file with rar extension in Linux.

Thank you

 
Old 08-30-2005, 08:52 AM   #2
stimpsonjcat
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

Rep: Reputation: 15
apt-get install unrar-free
or
apt-get install unrar
unrar-free probably won't work with archives in the RAR 3.0 format, only the non-free unrar package can do that
 
Old 08-30-2005, 06:27 PM   #3
byte.chaser
Member
 
Registered: Jun 2004
Distribution: debian 3.1 etch
Posts: 76

Rep: Reputation: 15
i just installed rar
then

rar e <filename.r**>

e's for extract i'm sure un-rar is the same
 
Old 08-31-2005, 04:31 AM   #4
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Hi
1.
I tried apt-get install unrar-free and got message below
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package unrar-free

2. I tried too apt-get install unrar and I got next message
apt-get install unrar
Reading Package Lists... Done
Building Dependency Tree... Done
Package unrar 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 has no installation candidate

So it is obviously I did not install it.

What to do next, which package to install to be able to read rar extension files
thank you

ps. I am using Debian Sarge 3.1
 
Old 08-31-2005, 05:41 AM   #5
stimpsonjcat
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

Rep: Reputation: 15
unrar-free:
unrar-free is in the unstable (sid) repositories, not in sarge. if you want to use unrar-free, add the unstable repositories to your /etc/apt/sources.list file. for detailed instructions, read this:
http://www.debian.org/doc/manuals/ap...basico.en.html
this is the relevant part from my sources.list file. this will work for you as well but you'll probably want to use a mirror closer to you for faster download speed:
Code:
# sid (unstable)
deb http://debian.ethz.ch/debian/ sid main
deb-src http://debian.ethz.ch/debian/ sid main
then run
apt-get update and
apt-get install unrar-free
then remove or comment (#) the above two lines in your sources.list. if you don't you'll upgrade to unstable the next time you run apt-get (dist-)upgrade which is probably not a good idea.
-------
unrar:
unrar is in the sarge repository, but in the "non-free" section, not in "main". if you want to use unrar (non-free), modify your sources.list file to read something like this:
Code:
# sarge (stable)
deb http://debian.ethz.ch/debian/ sarge main contrib non-free
deb-src http://debian.ethz.ch/debian/ sarge main contrib non-free
note the non-free arguments at the end of the line. again, you will probably not use the same mirror as I do.
then run
apt-get update and
apt-get install unrar

good luck
stimpy
 
Old 08-31-2005, 06:46 AM   #6
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Turning to Linux (now I am using Sarge 3.1) is completely new age in my computing.
There are people who have knowledge and patience for people like me.
Thank you.
It works now.
I wish I could help other people about Linux problems.

Thank You again

Best wishes

Welcome to Sarajevo
 
Old 08-31-2005, 08:34 AM   #7
stimpsonjcat
Member
 
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

Rep: Reputation: 15
you're welcome. debian is different in many ways compared with other operating systems or even other distros. but if you are willing to learn you'll get the hang of it quickly and you will be able to help other users in no time. a few months ago I was in the same situation as you are now and felt kind of like alice in wonderland, only with chubby penguins instead of a white rabbit.
of course, there are easier and 'user-friendlier' distros out there. but in certain areas (like package management) debian is so powerful that it is really worth the extra effort. keep it up!
 
  


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 11:00 AM
files with extension rar ankscorek Linux - Software 5 07-25-2005 09:41 PM
Cannot open rar files doctorwebbox Linux - General 2 12-03-2004 12:44 PM
Open Rar Files? wasabi Fedora 2 06-11-2004 07:05 AM
Do you know a good program to open RAR & ZIP files? SpOmA Linux - Software 2 02-28-2004 07:42 PM


All times are GMT -5. The time now is 07:24 AM.

Main Menu
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