Share your knowledge at the LQ Wiki.
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 05-19-2006, 08:32 PM   #1
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
remove program from source?

In linux/unix I often install a lot of program from source with ./configure && make && make install or similar variation. Recently I installed xemacs, and decided that I didn't really like it, but couldn't figure out how to remove it (the binary of course, not the source). Anybody?
Old 05-19-2006, 08:43 PM   #2
Hungry ghost
Senior Member
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Have you tried going to the source directory and running 'make uninstall'?
Old 05-19-2006, 08:47 PM   #3
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
Best way I know is to type "whereis xemacs" and see where all the stuff is, then delete it. This wont get rid of everything though unless it stores its stuff in separate directories. I think it only finds the binaries, man pages, and source for a command. Prolly gonna be a pain to get it all, unless there is an uninstallation script included in the source. You could updatedb and then locate any places with xemacs and delete them, but this is a bit risky because not every file with xemacs in it is necessarily going to be part of xemacs, you could delete something thats part of another program if you dont pay attention.
Old 05-20-2006, 07:07 AM   #4
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
It won't help immediately, but you might want to look into Checkinstall. It replaces the make install step and can create .rpm, .deb or .tgz packages that you can install and uninstall with your normal package tools.


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
remove a program faris10 General 3 05-11-2006 04:00 AM
remove from source android6011 Linux - Software 1 11-03-2005 06:08 PM
How do i remove a program? SykoMachine Linux - Software 5 01-04-2004 03:55 PM
How can i remove source installs?? phz Linux - Software 5 11-07-2003 12:09 PM
Remove program which installed by source code cccc Linux - Software 3 09-09-2003 01:24 PM > Forums > Linux Forums > Linux - Software

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

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