LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-10-2005, 06:25 AM   #1
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Rep: Reputation: 30
uninstall programs


Hi,

How do I un-install programs under linux? In my currently problem I need to un-install a program compiled from source with the make commands. I thought it was as easy like 'make uninstall' but it wasn't.

Thanks!
 
Old 04-10-2005, 07:44 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146
Hi jasone,

you can use checkinstall for this. You find the package in the "extra" directory ( Link removed ). With checkinstall you are able to install programs and build a package on the fly. This means you are able to uninstall it after the installation with "removepkg name-of-the-package". You simply install checkinstall, do a "./configure && make" and then type "checkinstall". In case where the last step isn't "make install" you append the appropriate command, e. g. "checkinstall make all".
It works great, I use it for all my custom compiles.

Edit: I just noticed that the search with Slackware's package browser gives you no result. You can get checkinstall e. g. from here: ftp://ftp.gwdg.de/pub/linux/slackwar.../checkinstall/
Of course you can get it from any other slackware mirror.

Last edited by titopoquito; 04-10-2005 at 07:47 AM.
 
Old 04-10-2005, 10:03 AM   #3
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Original Poster
Rep: Reputation: 30
Thanks man!

I'll use check from now on, seems great! So there is no way for me to un-install programs thats made from 'make install' ?
 
Old 04-10-2005, 10:28 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Run "make uninstall" as root from the directory where the software was compiled and installed from.
 
Old 04-10-2005, 10:51 AM   #5
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
If there's no 'make uninstall', you could go about it by building the package again, and installing it with checkinstall - this will overwrite the old files, and then you can uninstall the package.
 
  


Reply



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
how do you uninstall programs. LinuxPadawan Linux - Software 3 04-13-2005 04:10 PM
uninstall programs? tristure Linux - Software 1 10-27-2003 04:02 PM
Uninstall Programs dwpondscum Linux - Software 1 07-16-2003 08:39 AM
How to uninstall programs Comatose51 Linux - General 8 02-16-2003 01:35 PM
How do I uninstall programs zachl Linux - Software 2 06-08-2002 09:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 AM.

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
Open Source Consulting | Domain Registration