LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-20-2009, 04:56 AM   #1
teodor_b
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Rep: Reputation: 1
how to uninstall application installed from source ?


Hi everyone !

When I install an application from source and I want to uninstall it I have to run 'make uninstall'. Which files I have to keep. Do I have to keep the whole source ? Is there some other way to remove the application ? The application is installed in different directories. ( /usr/bin /usr/lib .. and s.o.)

tanks :)
 
Old 07-20-2009, 05:09 AM   #2
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Rep: Reputation: 16
"make clear" this command will help for uninstall.

Regards,
maniannam
 
Old 07-20-2009, 05:20 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by maniannam View Post
"make clear" this command will help for uninstall.
??? Absolutely not. Apart the fact that it is make clean (not clear), if you run make clean in the installation directory, then you can't uninstall it anymore, since the Makefile is deleted and there will be no "uninstall" target anywhere.

@teodor_b: you have to keep the whole installation directory. Another option is to manually delete the installed files and reverse back any step performed by make install. It is useful to save the output from make install. Usually I do that by
Code:
make install 2>&1 | tee install.log
to see the output in the terminal and redirect it to a file at the same time. Anyway, unless you are out of disk space, I suggest to keep the installation directory as is.
 
Old 07-20-2009, 05:31 AM   #4
teodor_b
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Original Poster
Rep: Reputation: 1
tanks for the help. I'll try your advises
 
  


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
source code for application installed thru apt-get sg08 Linux - Software 11 05-06-2010 02:21 PM
How to uninstall the installed RPM source narendra1310 Linux - Newbie 2 06-18-2008 01:17 AM
Put the source installed packages to application>Internet menu krishnakumar85 Linux - Desktop 1 02-15-2007 01:07 AM
Clean way to uninstall apps installed from source JrLz Linux - General 2 05-06-2004 07:38 AM
how to uninstall a program which has installed using source marsques Linux - Newbie 4 02-09-2004 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:10 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
Open Source Consulting | Domain Registration