LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2003, 12:36 AM   #1
CJB
Member
 
Registered: Dec 2003
Location: Hong Kong
Distribution: Mandrake 9.2, Windows XP, Fedora Core 1
Posts: 47

Rep: Reputation: 15
Exclamation Installing RAR on Mandrake Linux 8.0


HELP!

I've downloaded the RAR software package rarlinux-3.3.b3.tar.gz onto the desktop and unzipped it in KDE using the Archiver software.

I have looked at the text files in the folder to see how it can be installed and found the following (quoted exactly) in the Makefile file:


PREFIX=/usr/local

install:

cp rar unrar $(PREFIX)/bin
cp rarfiles.lst /etc
cp default.sfx $(PREFIX)/lib


I have tried typing this (and numerous combinations) in the Terminal Super User Mode but I don't appear to have much success. An example:

I type in cp rar unrar $/usr/local/bin and get the following message:


cp: copying multiple files, but last argument ($/usr/local/bin) is not a directory


In short: How do I install the program
 
Old 12-20-2003, 01:25 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try:
cp rar unrar /usr/local/bin
 
Old 12-20-2003, 02:44 AM   #3
CJB
Member
 
Registered: Dec 2003
Location: Hong Kong
Distribution: Mandrake 9.2, Windows XP, Fedora Core 1
Posts: 47

Original Poster
Rep: Reputation: 15
I tried that and got the following message:

cp: rar: omitting directory
cp: unrar: No such file or directory

I tried another variation and for the first time I didn't get an error message of any kind. What I typed was:

cp /home/xxxx/Desktop/rar/unrar /usr/local/bin

(Note: xxxx indicates my computer name)

I figured that as I saved the file on the desktop, the full path from the route would have to be typed.

Problem is now, how do I know whether the program is installed or not? There's no message saying that the program was 'Successfully Installed' or anything?
 
Old 12-20-2003, 03:14 AM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
hmm maybe its a lot more simpler than you thought, the installation procedure merely copies the rar and unrar executable to /usr/local/bin which should be in your PATH, therefore when you want to use it you just need to type 'rar' or 'unrar'
 
Old 12-20-2003, 04:00 AM   #5
CJB
Member
 
Registered: Dec 2003
Location: Hong Kong
Distribution: Mandrake 9.2, Windows XP, Fedora Core 1
Posts: 47

Original Poster
Rep: Reputation: 15
Having checked the Quick Browser Route Directory I have found the following:

unrar has been copied to /usr/local/bin
rarfiles.lst has been copied to /etc
default.sfx has been copied to /lib


Does this mean I should now be able to use the program?

When I type rar at the command prompt, all I get is the following message:

bash: rar: command not found


Any ideas?
 
Old 12-20-2003, 04:21 AM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
'ls /usr/local/bin' do you see rar in there? if not copy it again
 
Old 12-20-2003, 04:47 AM   #7
CJB
Member
 
Registered: Dec 2003
Location: Hong Kong
Distribution: Mandrake 9.2, Windows XP, Fedora Core 1
Posts: 47

Original Poster
Rep: Reputation: 15
It wasn't in there so I've now copied it there.

I tried typing rar at the command prompt and now get the following message:


rar: error while loading shared libraries: libstdc++.so.5: cannot load shared object file: No such file or directory


I've no idea what this means let alone how to resolve it. Any ideas?

Thanks!
 
Old 12-20-2003, 04:52 AM   #8
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
what does "ls /usr/lib/libstdc++*" give you?

Last edited by Demonbane; 12-20-2003 at 05:47 AM.
 
Old 12-20-2003, 12:37 PM   #9
CJB
Member
 
Registered: Dec 2003
Location: Hong Kong
Distribution: Mandrake 9.2, Windows XP, Fedora Core 1
Posts: 47

Original Poster
Rep: Reputation: 15
I typed that command in and the following message appeared:

/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so* /usr/lib/libstdc++-libc6.2-2.so.3@
/usr/lib/libstdc++-libc6.1-1.so.2@

The first line up to the * appeared in green text, the rest in cyan text with the exception of the * and @ symbols which appeared in the standard grey/white colour (whether this means anything I've no idea).


The distribution I'm running is:

Mandrake Linux 8.0
(Traktopel) for i586

The kernel is 2.4.3-20mdk

OS Version #1 Sun Apr. 15 CEST 2001
 
  


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
how to deal with .rar files in linux now that rar is no longer part of linux Lleb_KCir Linux - Software 14 11-22-2008 08:01 AM
extracting .rar with part01.rar? chime Linux - General 5 04-11-2006 07:59 PM
Password Protected rar files on Linux Mandrake 9.1 gregonite Linux - Newbie 2 01-23-2005 08:40 AM
vmware.rar extracting and installing xterminator890i Linux - Software 11 08-29-2004 07:03 PM
installing RAR for linux gurra59 Linux - Software 5 10-26-2003 02:45 PM


All times are GMT -5. The time now is 05:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration