LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-24-2007, 07:37 PM   #1
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Rep: Reputation: 30
howto install rar


Hello there.

I just discovered that there's a way to extract rar archives with linux. The problem is that the readme.txt file within the directory does not tell me how to install the program. I tried using the usual ./configure, but it tells me command not found. Here are the contents of this directory, i don't see what usually comes inside other packages, just the Makefile that has some commands that seem to be the way to install, but how do i run it?

428 2007-09-20 06:50 Makefile*
58233 2007-09-20 06:50 default.sfx*
210 2007-09-20 06:50 file_id.diz
6291 2007-09-20 06:50 license.txt
3183 2007-09-20 06:50 order.htm
345504 2007-09-20 06:50 rar*
70287 2007-09-20 06:50 rar.txt
877156 2007-09-20 06:50 rar_static*
1018 2007-09-20 06:50 rarfiles.lst
1050 2007-09-20 06:50 readme.txt
8957 2007-09-20 06:50 technote.txt
200080 2007-09-20 06:50 unrar*
6418 2007-09-20 06:50 whatsnew.txt

Thanks for the help.
 
Old 10-24-2007, 07:44 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
If I had to guess, it looks like you already have a binary for "unrar". Try just running ./unrar filename.

Also, depending on what distro you're using, you can install several programs from repositories (unrar or unrar-free) to decompress rar files.
 
Old 10-25-2007, 01:56 AM   #3
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
I am using Slackware 12, and i looked up any rar utilities using slapt-get, but nothing turned out. So i googled around and found this thing, but can't install it.

I suppose i need to add something to my profile so that i can use rar or unrar from anywhere using the console.

Thanks for the reply mate.
 
Old 10-25-2007, 02:01 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You don't have to compile anything, since it comes already precompiled (binaries). Just copy the executables in a directory in your PATH (/usr/bin for example), to make them available to use from everywhere in your file system.
 
Old 10-25-2007, 11:41 AM   #5
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
You don't have to compile anything, since it comes already precompiled (binaries). Just copy the executables in a directory in your PATH (/usr/bin for example), to make them available to use from everywhere in your file system.
That makes sense mate, thanks. Which of the files i pasted above should i copy over?
 
Old 10-25-2007, 12:41 PM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
If this is your kubuntu system (you mention that you use kubuntu in your profile), you should install rar and unrar using kubuntu's packaging system, rather than downloading a binary package from some untrusted website.

From the command line just do this:
Code:
sudo aptitude install rar unrar
Or use the adept package manager.
 
Old 10-25-2007, 10:29 PM   #7
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by matthewg42 View Post
If this is your kubuntu system (you mention that you use kubuntu in your profile), you should install rar and unrar using kubuntu's packaging system, rather than downloading a binary package from some untrusted website.

From the command line just do this:
Code:
sudo aptitude install rar unrar
Or use the adept package manager.
I in fact use kubuntu on my laptop. I'll use that to install it there thanks. The problem i have is with the Slackware 12 distribution. As our friend here suggested, i should just copy some files to /usr/bin (directory in my PATH) so that i can use the executables from anywhere on my system using the console.

Thanks for the tip, i really appreciate it.
 
  


Reply



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
question on how to rar multiple files into there own rar file steve51184 Linux - Software 13 10-24-2007 04:23 PM
Newbie trying to install .rar games on Kubuntu brumby_nw Linux - Software 6 01-11-2007 05:31 AM
To install rar grautu Debian 1 10-23-2006 07:03 AM
extracting .rar with part01.rar? chime Linux - General 5 04-11-2006 06:59 PM
howto deal with .rar files in CentOS 4.1? Lleb_KCir Linux - Software 13 10-23-2005 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:26 PM.

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
Open Source Consulting | Domain Registration