LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 07-29-2006, 05:09 AM   #1
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Wheezy, Webmin + Virtualmin (remote dedi)
Posts: 214

Rep: Reputation: 30
Question Getting rid of installation folder ?


Hello there !

I've got newbie questions, sorry for that

I just compiled Wine from the source, and found myself with a surprise.
The source folder, in which I ran configure, make depend && make, make install, passed from a bit less than 20 megabytes to a whopping one gigabyte !

Now that the installation, compilation and installation worked fine, I don't know if it's possible, can I safely delete the installation folder, Will wine be able to work after this suppression ?

Besides, let's say I can safely delete the installation folder, but later on, I want to uninstall wine... Can it still be possible if I have deleted the installation folder ? Can I just extrat the source code into a new folder, and then run configure and make uninstall ?

Once again, sorry if these are newbie questions

Thanks if you can help me
 
Old 07-29-2006, 05:41 AM   #2
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
Quote:
Now that the installation, compilation and installation worked fine, I don't know if it's possible, can I safely delete the installation folder, Will wine be able to work after this suppression ?
Basically you can safely delete the installation folder after make install. It will not have any effect on the installed software (wine in this case).

Quote:
Besides, let's say I can safely delete the installation folder, but later on, I want to uninstall wine... Can it still be possible if I have deleted the installation folder ? Can I just extrat the source code into a new folder, and then run configure and make uninstall ?
You can do that, but make sure that you use the same version of the source package and same the configure options. There is a better way though: instead of make install use checkinstall. Checkinstall will make a package (in your case rpm, Mandriva uses rpm, right?) out of your compiled sources and install the package. If you need to remove the package later, you can do it with your distributions package manager, rpm (or one of the graphical frontends for rpm).

You can find checkinstall from: http://asic-linux.com.mx/~izto/checkinstall/ I believe you can use the package: http://asic-linux.com.mx/~izto/check...6.0-1.i386.rpm to install it on your machine.
 
Old 07-29-2006, 06:52 AM   #3
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
You could also try running "make clean", AFAIK this removes all the built objects from the source tree, but leaves the Makefile(s) intact.
Hope that helps.
 
Old 07-29-2006, 10:12 AM   #4
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Wheezy, Webmin + Virtualmin (remote dedi)
Posts: 214

Original Poster
Rep: Reputation: 30
Thank you very much for the useful and clear replies, Juncta and AlienDog !

And concerning "checkinstall", there's simply not enough thank words in my vocabulary, if I can get such an application to work, that will be simply awesomely useful
 
  


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
use my windows installation as wine folder? delfick Linux - Software 3 05-28-2006 11:40 AM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
How to get rid of the no name folder created by Open Office? Linux.tar.gz Linux - Software 8 09-27-2005 02:39 PM
location of default KDE installation folder Dimension User Fedora 7 06-22-2005 06:00 PM
saving a compiled folder for future installation as zip? webazoid Linux - Newbie 2 07-06-2004 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:26 PM.

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
Open Source Consulting | Domain Registration