LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /tmp/ directory and Instlation files (https://www.linuxquestions.org/questions/linux-newbie-8/tmp-directory-and-instlation-files-177550/)

sckain 05-03-2004 08:51 PM

/tmp/ directory and Instlation files
 
Hi, I am very new to linux, but, have been proud to have accompolished every task however, I have the stupidist question. I have followed many faqs on downloading and successfully installing pacakes on my system, currently fedora core one, kernel 2.4.X; however, I do not know what to do with the actual install files.

For example Xine.
-this is all done working in the /tmp/ directory
-I downlaoded the zine.*.tar.gz
-gunziped it made the directory to install from
-went into the directory
-did the good old make and make install.

Now the application is running and everthing is fine there, but, now I have the original file I downloaded, the directory I made to install it, and where ever the actiual application is installed. This can really add up after installing many diffrent packages

Finaly the question, can cet rid of whatever is in the temp directory and still have the applications work, i would be so mad at myself or successfuly installing an app, then screwing it up by deleting somthing i did not know I needed. I know that this is a long post, but, I wanted to be as clear as possible.

Thanks early

sckain

Tinkster 05-03-2004 09:20 PM

Re: /tmp/ directory and Instlation files
 
Quote:

Originally posted by sckain
For example Xine.
-this is all done working in the /tmp/ directory
-I downlaoded the zine.*.tar.gz
-gunziped it made the directory to install from
-went into the directory
-did the good old make and make install.

Now the application is running and everthing is fine there, but, now I have the original file I downloaded, the directory I made to install it, and where ever the actiual application is installed. This can really add up after installing many diffrent packages

Finaly the question, can cet rid of whatever is in the temp directory and still have the applications work, i would be so mad at myself or successfuly installing an app, then screwing it up by deleting somthing i did not know I needed. I know that this is a long post, but, I wanted to be as clear as possible.
You could use checkinstall ( http://checkinstall.izto.org ) ...
That will creat an RPM for you that you could store for re-use
and then delete the directory and original tarb-ball (or
keep the tarball as well :})....

None of the source files (or files created under /tmp during
compilation) should be required to actually run your apps,
that's why there's installation scripts/Makefiles ...



Cheers,
Tink


All times are GMT -5. The time now is 10:11 PM.