Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-28-2003, 04:28 AM   #1
LQ Newbie
Registered: Dec 2003
Location: Montreal
Distribution: slackware
Posts: 15

Rep: Reputation: 0
installing/uninstal source ?!


Whene i'm installing a progame from the source, how can I desinstall it after ?
Thank you.
Old 12-28-2003, 04:57 AM   #2
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Usually, some programs distributed from source has also a make uninstall. So, simply type

make uninstall

at the path where you have the uncompressed program the program (where you did ./configure, make and make install).
Old 12-28-2003, 05:02 AM   #3
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
In general: no good way. That is why we have package management software (deb, rpm) in the first place.

Occassionally there might be an uninstall target in makefile, that is, running command 'make uninstall' in the source directory might do the job.

Also using a tool called checkinstall can do quite a good job trackking the changes made to the filesystem in the installation phase. Thus this have to be done before installation.

Hopefully the program is installed in /usr/local, that contains only programs installed by the system administrator from the source, so it should be easy to locate the files installed by the software, so removing them manually shouldn't be impossible, either.
Old 12-28-2003, 09:21 AM   #4
Registered: Dec 2003
Distribution: Debian, OpenBSD
Posts: 46

Rep: Reputation: 15
easiest way is to use stow: (manual at again, this has to be done during installation.

in short, what you have to do to install a program foo:
./configure --prefix=/usr/local/stow/foo
make; make install
cd /usr/local/stow
stow foo
this will create symbolic links in /usr/local/bin and/or /usr/local/sbin

to remove the symlinks:
cd /usr/local/stow
stow -D foo


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
Grub remains after uninstal - Help! XJDenton Fedora 3 03-02-2005 07:47 AM
how to uninstal SuSe Linux 8.2 profesional? flickmaster Linux - General 9 10-25-2003 12:54 AM
uninstal realplayer rpm in rh9 munkeman Linux - Software 1 08-03-2003 05:51 PM
How do I uninstal RH9? iridium Linux - General 13 06-13-2003 02:48 AM
uninstal command rekonrad Linux - Software 1 03-25-2001 02:01 AM > Forums > Linux Forums > Linux - Software

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