LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-28-2008, 11:30 AM   #1
newbie_john
LQ Newbie
 
Registered: Apr 2007
Location: Mongolia
Distribution: Debian Squeeze, Lenny, Mint
Posts: 9

Rep: Reputation: 1
How do I uninstall software?


Hello everyone!
I'm just curious about uninstalling software that I've previously installed. I've read much about installing software from source, but I can't seem to find how to uninstall it later, if I don't need it for instance. Actually, I'm running Ubuntu, it has easy to use Synaptic Package manager, so I'm just curious to find out more about the Unix-like systems.
Can anyone point me to a web or other resource where I can find some more info on that?
Thanks!
 
Old 04-28-2008, 11:46 AM   #2
womd
Member
 
Registered: Sep 2005
Location: Austria
Posts: 35

Rep: Reputation: 15
Quote:
Originally Posted by newbie_john View Post
Hello everyone!
I'm just curious about uninstalling software that I've previously installed. I've read much about installing software from source, but I can't seem to find how to uninstall it later, if I don't need it for instance. Actually, I'm running Ubuntu, it has easy to use Synaptic Package manager, so I'm just curious to find out more about the Unix-like systems.
Can anyone point me to a web or other resource where I can find some more info on that?
Thanks!
hi ..... i'm also a newbie .... "they" told me ... that linux - guys know what they do ... this is why it does not happen that there is useless software installed ... haha .. very funny !

here is what i did to remove softwar /gain free space .. as long as the system does not depend on one of those components it should work ...

find the "prgramms directory and "executable" with "whereis gnump3d" fe. then delete them .... also remove entries from /etc/init.d/*

but .... as with opensource sw .. they use lots of external librarys usw ... dontknow how to verify if everything unneeded is gone ....

cu
 
Old 04-28-2008, 11:51 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Here is an article about installing from source. Scroll down to the part about Uninstalling.
http://www.justlinux.com/nhf/Install..._Software.html

There is also a utility called make_uninstall which can be used to monitor source installation and make it easier to uninstall.
http://freshmeat.net/projects/make_uninstall/
 
Old 04-28-2008, 03:39 PM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by womd View Post
here is what i did to remove softwar /gain free space .. as long as the system does not depend on one of those components it should work ...

find the "prgramms directory and "executable" with "whereis gnump3d" fe. then delete them .... also remove entries from /etc/init.d/*

but .... as with opensource sw .. they use lots of external librarys usw ... dontknow how to verify if everything unneeded is gone ....
You don't have this problem, if you do it right. See earlier post.

And to quote Haynes (provider of car repair manuals) "re-assembly is the reverse of removal".
 
Old 04-28-2008, 03:56 PM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If you can, use a package manager that automates these things, or if you insist on source packages (or non-package manager managed packages), follow one of these:
1) see if the package includes a removal script, uninstallation target for make or something equivalent and use that - some software comes with an uninstaller script as well as an installer script ("make install" vs. "make uninstall" and so on)
2) see what the installation script does (for example "install" target of make - at Makefile), then just follow the same steps from the end to the beginning, removing/undoing whatever the installer did
3) use some software to automate option 2); see above posts.

In the end in a Unix system everything is files, and removing software means removing the files included in that software thing and undoing any modifications that were possibly made when the software was "installed". That leaves a lot of options on how to remove "installed" software, some of which depend on the method that was used to install the software, so you just need to pick the easiest one or the one that suits you best. Typically it's better to think before doing, and that holds here too - if you thought about this before installing anything, you would have made sure you have easy means to undo the changes to the filesystem.
 
Old 04-28-2008, 04:51 PM   #6
SaRS AeOL
LQ Newbie
 
Registered: Apr 2008
Location: Los Angeles
Distribution: FeDoRa CoRe 6 and 8, Ubuntu 7.10
Posts: 13

Rep: Reputation: 0
yum?

i believe ubuntu comes with yum pre-installed...

have you tried a "yum remove package name"
 
Old 04-29-2008, 02:54 AM   #7
newbie_john
LQ Newbie
 
Registered: Apr 2007
Location: Mongolia
Distribution: Debian Squeeze, Lenny, Mint
Posts: 9

Original Poster
Rep: Reputation: 1
Thanks guys for the info! As I said I want just to know more about this just from curiosity.
1) see if the package includes a removal script, uninstallation target for make or something equivalent and use that - some software comes with an uninstaller script as well as an installer script ("make install" vs. "make uninstall" and so on)

2) see what the installation script does (for example "install" target of make - at Makefile), then just follow the same steps from the end to the beginning, removing/undoing whatever the installer did

why didn't I think about it?
 
Old 04-29-2008, 03:46 AM   #8
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Quote:
Originally Posted by SaRS AeOL View Post
i believe ubuntu comes with yum pre-installed...

have you tried a "yum remove package name"
Isn't yum used in rpm -distros. I think you were meaning apt-get.
 
  


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 software which doesn't have an uninstall-file? lagu2653 Linux - Software 2 12-08-2005 01:36 PM
Uninstall Software jrmann1999 Ubuntu 4 07-21-2005 07:08 PM
How to uninstall a software? wolfshome Linux - General 7 11-04-2003 12:08 PM
How do I 'Uninstall' software? Brad Linux - Software 3 05-13-2002 10:33 AM
how to uninstall software? croger Linux - Software 2 05-11-2002 09:20 AM


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