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 04-27-2006, 09:36 AM   #1
vshenoy
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
how to uninstall a package


i just downloaded rdesktop to connect to a windoze server, untarred it, read the README and then did configure, make and make install. But when i run rdesktop it still considers the one that my RH9 originally installed.Its an old version and i cant get more than 8 bits of color on it. How do i uninstall the original one and make the new my default?
 
Old 04-27-2006, 09:46 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
rpm -e rdesktop
You may have to make install again.

Or just make your new install prior to RH's in the PATH env.

Last edited by Agrouf; 04-27-2006 at 09:47 AM.
 
Old 04-29-2006, 04:35 PM   #3
alexander_bosakov
Member
 
Registered: Mar 2006
Location: Plovdiv, Bulgaria
Distribution: OpenSuse 11.3
Posts: 55

Rep: Reputation: 15
I don't know about RH particularly, but if it is like Mandrake (most probably), installing from .rpm puts the files under /usr. On other side, installing with "configure && make && make instal" usually defaults to /usr/local. If you installed the old version from the distro media (.rpm) and the new version from source, you probably have the old version in /usr/bin and the new in /usr/local/bin. And while commands are looked for in /usr/bin before /usr/local/bin, the old version is found first. Try the commands with full path:
$ /usr/bin/rdesktop
and
$ /usr/local/bin/rdesktop
and if the 2nd runs the new version, then you have the situation described above. If so, you can uninstall the old with 'rpm -e' (see: man rpm). After you removed the old version, the system will find the new. By the way, one advice: as a newbie, use rpms instead of sources (you can find such at http://rpm.pbone.net or http://rpmfind.net), since rpm cannot uninstall or upgrade packages that are not installed by rpm. If you want to uninstall a package installed from source, then you have to cd to the source directory and type 'make uninstall' (after install keep sources or at least the Makefile). If you want to install from source not in /usr/local, see 'configure --help', particularly '--prefix*' options.
 
  


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
Uninstall Linux Package Orac Linux - Software 5 10-25-2005 10:14 PM
Uninstall a python package danesp Linux - Newbie 8 06-02-2005 12:25 AM
How to Uninstall _One_ Package LynxDK Debian 2 02-27-2005 05:15 AM
UNinstall MySQL all package treotan Fedora 3 02-12-2005 12:59 PM
RH 8.0 package uninstall Sargek Linux - Software 5 01-05-2003 11:37 AM


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