Linux - SoftwareThis 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.
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.
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.
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.
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
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.
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.
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.
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.