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 |
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-03-2008, 10:03 AM
|
#16
|
|
Member
Registered: Aug 2008
Posts: 34
Original Poster
Rep:
|
Quote:
Originally Posted by matthewg42
It looks like wine is installed in /usr/local/... which usually means you have installed it manually - i.e. not with the package management system.
I assume you are familiar with Windows, so I'd like a draw an analogy. Lets say you get an application which is in a .zip file - there is no installer - the zip file just contains containing a .exe file and a few .dlls and data files. You unzip this in C:\myapp\. In this case you would no expect to be able to go to add/remove programs to un-install it - it has not been registered with the OS - you must manually delete it.
The same thing goes for any software which you install on a debian/ubuntu system where you do not use one of th front ends to the package management system (apt-get or aptitude or adept or synaptic and so on).
When you build software from source, it does not use the package management system. Some (but not all) projects provide a "make uninstall" target. If you have this, and remember building and installing with "make install", you should be fine to use it.
If there is no "make uninstall" target, you simply have to go and delete the files for th program. This can be a little fiddly because the file system layout means the files are split over several areas - the binary goes in <prefix>/bin, the libraries go in <prefix>/lib, and so on.
For this reason, when I am building from source, I usually set the <prefix> to be /opt/<applicationname>/
This way, everything gets installed under one directory, and if I want to get rid of it, I just delete that directory. The down-side is that the binary will not be in the PATH, and if there are libraries to load, I sometimes need to set the LD_LIBRARY_PATH. For me this is worth the effort for the clean un-install.
|
Thank you for your response. The 'make uninstall' did the job. Next time I'll have the balls to delete if it's necessary. 
|
|
|
|
08-03-2008, 11:29 AM
|
#17
|
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
Quote:
Originally Posted by NMY
Thank you for your response. The 'make uninstall' did the job. Next time I'll have the balls to delete if it's necessary. 
|
hehe, no worries. The rule of thumb is - is you can install with the package manager, do that. In the case of wine, they do a build of every release and package it for ubuntu/debian. You can add their repository and then just update and install wine, and you will have th latest version.
You can find details here:
http://www.ubuntu-unleashed.com/2008...in-ubuntu.html
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:57 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
|
|