LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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
  Search this Thread
Old 12-28-2003, 05:28 AM   #1
princeware
LQ Newbie
 
Registered: Dec 2003
Location: Montreal
Distribution: slackware
Posts: 15

Rep: Reputation: 0
installing/uninstal source ?!


Hello,

Whene i'm installing a progame from the source, how can I desinstall it after ?
Thank you.
 
Old 12-28-2003, 05: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, 06:02 AM   #3
ToniT
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, 10:21 AM   #4
tokkee
Member
 
Registered: Dec 2003
Distribution: Debian, OpenBSD
Posts: 46

Rep: Reputation: 15
easiest way is to use stow: http://www.gnu.org/software/stow/ (manual at http://www.gnu.org/software/stow/manual.html). again, this has to be done during installation.

in short, what you have to do to install a program foo:
Code:
./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:
Code:
cd /usr/local/stow
stow -D foo
 
  


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


All times are GMT -5. The time now is 06:37 PM.

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