Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
If I download a tar/gzip/bzip file. What is the best locatiopn to extract it to and compile? Are the different areas depending on the install? If so what would be ideal for Mandriva, SUSE, FC and RH?
Its personal preference. Some people extract them to /usr/src. I have a directory in my /home called downloads where I put various source packages in subdirectories according to what kind of software it is. I build all the software from there and just use su to install it.
when you run "make install" the compiled programs install into your normal file system. the place you compile things from has no long term impact on the end product whatsoever.
that source directory. the knowlege of what the "install", "uninstall" or any other make parameter is is dfefined in the Makefile in the vurrent directory.
The directory you installed the program from (i.e. where you made ./configure, make and make install) is where you need to make uninstall, so its important to keep the build directory if you think you make need to uninstall the program. If you have not kept the build directory then you can simply reinstall the package and then uninstall.
Originally posted by reddazz The directory you installed the program from (i.e. where you made ./configure, make and make install) is where you need to make uninstall, so its important to keep the build directory if you think you make need to uninstall the program. If you have not kept the build directory then you can simply reinstall the package and then uninstall.
That's what I did eventually. Just wondered if there were some residual files hanging about somewhere.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.