LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-03-2004, 08:51 PM   #1
sckain
Newbie
 
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
/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
 
Old 05-03-2004, 09:20 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
  


Reply



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
/tmp directory is full? Moses420ca Linux - Newbie 13 01-21-2005 07:48 PM
Can I delete everything in the /tmp directory? BajaNick Linux - General 5 07-04-2004 01:35 PM
permissions in /tmp directory linux_pioneer Linux - Software 1 08-30-2003 10:43 PM
Numerous scb_*.tmp files in /tmp dburk Programming 3 08-18-2003 04:28 PM
/tmp directory Bobmeister Linux - General 3 06-01-2003 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:04 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