Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-27-2006, 08:36 AM   #1
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, 08:46 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
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 08:47 AM.
Old 04-29-2006, 03:35 PM   #3
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
$ /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 or, 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.


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

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration