LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-18-2005, 05:18 AM   #1
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Fedora Core 5, Mandrake 10.0, Gentoo, Suse
Posts: 179

Rep: Reputation: 30
unrar problem (need to uninstall / reinstall)


Hi Chaps,

I have managed to make a bit of a mess of my unrar utility.

I discovered that it was not installed so I downloaded a version (v2.71) from tucows and installed it from source.

"unrar e somefile.rar" gave me "corrupted header" errors on a known working archive so I thought I had better uninstall that version and find another.

"make unistall" gave me a "no target to make - stop" error so I guess that there was no option to unistall. Instead I did a "locate unrar" and a "whereis unrar" (after updatedb) which seemed to show no trace or unrar anywhere except in the directory I untarred the source and in /usr/local/bin. So I simply deleted all the executable and the untar direcory.

Next I installed another version of unrar - thi time using apt-get (should have done that first!) this time version 3.4.3-1.1.fc3.fr.

Now when I try "unrar e somefile.rar" I get
Code:
[mark@localhost rars]$ unrar e somefile.rar
bash: /usr/local/bin/unrar: No such file or directory
and when I do a "whereis" I get this
Code:
[mark@localhost rars]$ whereis unrar
unrar: /usr/bin/unrar /usr/share/man/man1/unrar.1.gz
So it seems that my FC3 system is still expecting to find unrar in /usr/local/bin while the real version is actually in /usr/bin

How do I tell Fedora where it should be looking?

How should I have uninstalled that rogue software (without being able to do "make uninstall") so that this won't happen again?

Thanks guys...

Mark
 
Old 03-18-2005, 05:36 AM   #2
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
Your PATH environment variable is not set properly. Your system should also look inside /usr/bin directory.

Add this line to your /etc/profile or your .bashrc file
Code:
 export PATH=$PATH:/usr/bin
You should always use package management to install software. Installing software from sources sometimes may not give the option of uninstallation

-Prasanta


Last edited by prasanta; 03-18-2005 at 05:37 AM.
 
Old 03-18-2005, 05:49 AM   #3
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Fedora Core 5, Mandrake 10.0, Gentoo, Suse
Posts: 179

Original Poster
Rep: Reputation: 30
Thanks Prasanta,

Actually all I did was to run "updatedb" again and it seemed to sort the problem out. I was just coming back here to say that when I found that you had posted your reply.

Thanks again...

Mark
 
Old 03-18-2005, 06:50 AM   #4
Tanc
Member
 
Registered: Sep 2003
Location: France
Distribution: Debian etch
Posts: 99

Rep: Reputation: 15
I've heard that rar was not free , can somebody confim ?
Can't we extract a rar document with ark ?
 
Old 03-18-2005, 07:13 AM   #5
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
The rar utility is not free. It is a shareware.

-Prasanta
 
  


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
Can't uninstall or reinstall backup software..HELP! ntwkgirl Linux - Software 2 05-23-2005 09:56 PM
Pkgtool .......... uninstall --->reinstall justaguynsrq Slackware 13 11-22-2004 04:59 PM
Uninstall/Reinstall Woody vsj Linux - Newbie 8 02-11-2004 06:34 AM
uninstall - reinstall eddcrossman Linux - Newbie 7 02-02-2003 10:24 AM
How to uninstall and reinstall Redhat 7.1? jane207 Linux - Software 1 11-02-2001 03:28 PM


All times are GMT -5. The time now is 02:22 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