LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 07: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, 08:44 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
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 08:47 AM.
 
Old 04-10-2005, 11: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, 11:28 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Run "make uninstall" as root from the directory where the software was compiled and installed from.
 
Old 04-10-2005, 11: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


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


All times are GMT -5. The time now is 04:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration