LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-29-2005, 01:23 PM   #1
dhirsolo
Member
 
Registered: Apr 2005
Location: India
Distribution: RHEL, Fedora Core , SUSE, Ubuntu, etc
Posts: 54

Rep: Reputation: 15
How to uninstall package installed with make install


How can i uninstalled a package which was compiled and installed by make command. ... (make install)
 
Old 07-29-2005, 01:37 PM   #2
Andy Alkaline
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 306

Rep: Reputation: 25
Quite often, 'make uninstall' will do that. You also might want to check out a program called 'checkinstall'
 
Old 07-29-2005, 01:57 PM   #3
dhirsolo
Member
 
Registered: Apr 2005
Location: India
Distribution: RHEL, Fedora Core , SUSE, Ubuntu, etc
Posts: 54

Original Poster
Rep: Reputation: 15
make uninstall said
make : *** no rule to make target 'uninstall' *** .stop.

And

checkinstall command not found

tried help of make but not found something like uninstall

Using FC3
 
Old 07-29-2005, 02:11 PM   #4
Andy Alkaline
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 306

Rep: Reputation: 25
You'll need to download, make and install 'checkinstall' if you cannot find that package available as a Fedora package. I don't know anything about Fedora.. however packages are distributed. Otherwise, just download and make the checkinstall program.

http://asic-linux.com.mx/~izto/checkinstall/

After you've installed 'checkinstall' go into the directory of that program that you've built that you wish to uninstall.

checkinstall -R
will build an rpm package, so if you run
checkinstall -R make install

Yes it will try to install that same program you want un-installed. After checkinstall is done, you will have an RPM of the installation. You should be able to remove it using rpm.

checkinstall will build a few different packages, so you might want to check out the documentation before you use checkinstall. I actually highly recommend you read more about it from their website and docs rather than just by what I've described.

Also, there may be uninstallation instructions somewhere with that program you want uninstalled, if you haven't already gone through them all.

Good luck!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM
How to install sharutils package after the linux has been installed pwangee Linux - Hardware 2 03-26-2004 10:27 AM
Installed using ./configure, make, make install, how to remove? EnVoy Mandriva 4 03-10-2004 07:05 PM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration