LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing RAR on Mandrake Linux 8.0 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-rar-on-mandrake-linux-8-0-a-127450/)

CJB 12-19-2003 11:36 PM

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

Demonbane 12-20-2003 12:25 AM

try:
cp rar unrar /usr/local/bin

CJB 12-20-2003 01:44 AM

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?

Demonbane 12-20-2003 02:14 AM

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'

CJB 12-20-2003 03:00 AM

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?

Demonbane 12-20-2003 03:21 AM

'ls /usr/local/bin' do you see rar in there? if not copy it again

CJB 12-20-2003 03:47 AM

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!

Demonbane 12-20-2003 03:52 AM

what does "ls /usr/lib/libstdc++*" give you?

CJB 12-20-2003 11:37 AM

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


All times are GMT -5. The time now is 02:54 AM.