LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Getting rid of installation folder ? (https://www.linuxquestions.org/questions/linux-software-2/getting-rid-of-installation-folder-468816/)

Sabinou 07-29-2006 05:09 AM

Getting rid of installation folder ?
 
Hello there !

I've got newbie questions, sorry for that :cry:

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 ! :eek:

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 :study:

alienDog 07-29-2006 05:41 AM

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.

JunctaJuvant 07-29-2006 06:52 AM

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.

Sabinou 07-29-2006 10:12 AM

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 :)


All times are GMT -5. The time now is 11:20 AM.