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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-24-2004, 11:48 PM
|
#1
|
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765
Rep:
|
how do i remove programs?
in windows i just find the uninstaller, or use add/remove programs. i installed NWN just to see what it was like to play a game on linux. i like it, but i dont play it often enough to justify the roughly 2G of space it is taking up on my 30G HD.
id like to know how to uninstall/remove it without screwing things up.
thanks for the heads up.
|
|
|
05-24-2004, 11:57 PM
|
#2
|
Member
Registered: Mar 2004
Posts: 90
Rep:
|
If the software install was a RPM you can find out how to remove RPMs and other information by typing RPM --help in a terminal.
I think what you are looking for is rpm -e name of package
I know Red Hat and Fedora use RPMs and I thanks mandrake does to. If the install was not a RPM package it wont help
Last edited by aaronruss; 05-24-2004 at 11:59 PM.
|
|
|
05-24-2004, 11:59 PM
|
#3
|
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765
Original Poster
Rep:
|
thanks, but it was from a tar.gz source install.
guess i should of been more specific on how it was installed.
|
|
|
05-25-2004, 01:47 AM
|
#4
|
Member
Registered: Apr 2003
Location: Rovaniemi, Finland
Distribution: Slackware
Posts: 69
Rep:
|
I guess it depends. OpenOffice.org, for example, can be removed by running ./setup and choosing "remove". See the programs website for docs, that usually helps.
On RPM based systems, use the rpm command, as aaronruss said.
On Slackware based systems, run pkgtool, then choose "remove".
You can always remove it manually, tho, if you know how the package is installed. What files the installation has generated and where...
This is a question I've been wondering myself, too. Maybe some more experienced user could tell that.
Regards,
Bamse
|
|
|
05-25-2004, 01:52 AM
|
#5
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
If you installed it by
./configure
make
make install
if you still have the source directory where you ran the installation, some programs have an uninstall feature
make uninstall
|
|
|
05-25-2004, 02:29 AM
|
#6
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Rep:
|
cd /your/source_directory/
then run the command: make uninstall
The program will be removed.
|
|
|
05-25-2004, 11:14 AM
|
#7
|
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765
Original Poster
Rep:
|
ok thanks guys.
|
|
|
05-25-2004, 11:23 AM
|
#8
|
Member
Registered: May 2004
Location: Romania; Arad
Distribution: Archlinux
Posts: 91
Rep:
|
Just one more add to this:
In case you have deleted your source directory (which you might have, because there isn't much reason you would keep it after installation if you aren't really keened on modifying the sources yourself) then you can run untar the sources again, run ./configure with the same parameters again, run make again and then you can run make uninstall and the whole thing will be uninstalled.
|
|
|
05-25-2004, 11:54 AM
|
#9
|
Member
Registered: Jun 2001
Posts: 302
Rep:
|
If installed from binary: Depends on distro, might be "emerge -Cp" "rpm -e" "apt-get remove"
If from source: usually go back into the directory where you compiled and did "make install" and run "make uninstall". If you've deleted that directory there's probably no record as to where it installed its files.
|
|
|
05-25-2004, 01:20 PM
|
#10
|
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765
Original Poster
Rep:
|
if i remember correctly the NWN.tar.gz (not full file names) auto installed when i tar zxvf file.tar.gz and made thier own subdirectory in my /home/EU dir.
is it safe to just rm -R /home/EU/NWN
?
|
|
|
05-25-2004, 01:38 PM
|
#11
|
Member
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657
Rep:
|
Lleb_KCir
Just as a side note take a look at
Checkinstall
To late now but may be useful for future use
Pete
|
|
|
05-25-2004, 04:08 PM
|
#12
|
Member
Registered: May 2004
Location: Romania; Arad
Distribution: Archlinux
Posts: 91
Rep:
|
It is safe but if your program also installed shared libraries or pixmaps or commands in the /usr/bin or /bin directory then those files won't be removed. In order to uninstall programs I untar the directory again, then run
./configure <same parameters as first time>
make
sudo make install
sudo make uninstall
The make install line will overwrite your previous installation and will recreate the uninstall scripts which will containd information about all the files you installed (which are the same as the first time you installed them). When running sudo make uninstall the program is removed completely. After that you can safely remove your source directory. Your program is now completely uninstalled.
|
|
|
05-27-2004, 07:18 AM
|
#13
|
Member
Registered: May 2004
Location: @ Lake Constance, Germany
Distribution: FC3, Kernel 2.6.10
Posts: 46
Rep:
|
The best way of handling installation of binaries you built your own is "stow".
It's a tool that creates all symlinks when you install software. If you want to remove the installed software you can do it without "make uninstall" and everything - you just have to "unstow" this software.
stow can be downloaded at sourceforge.net. Help is available then after unpacking the source files. And of course after installing stow you have a manual. Try it. It's really nice!
|
|
|
All times are GMT -5. The time now is 12:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|