LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-14-2004, 09:49 PM   #1
Davno
Member
 
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Linux MX 23 KDE "Libretto"
Posts: 213

Rep: Reputation: 25
question about compiling program.


I never dare deleting new folder that untar in /home/user/ ...After i compile them succesfully may i delete those folder.???
 
Old 07-14-2004, 10:02 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You untar source into your home directory?

It would usually go in /usr/src.
 
Old 07-14-2004, 10:15 PM   #3
Davno
Member
 
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Linux MX 23 KDE "Libretto"
Posts: 213

Original Poster
Rep: Reputation: 25
home/user

i usually untar into my user dir (habit) cause at opening the shell that is where i am by default
 
Old 07-15-2004, 12:48 AM   #4
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
There's really nothing wrong with extracting tarballs wherever you're most comfortable. However, I'd suggest creating a subfolder to extract them to (for instance, I use /home/cerbere/temp/) because some tarballs are poorly created and could extract all of their files directly into your /home/user/ directory. For me, that'd be a real nuisance to clean out.

But getting back to your question, you can delete the folders after installing, but that will make uninstalling them more difficult. So I'll make another suggestion: take a look at checkinstall. It replaces the 'make install' step when installing from source, and it'll create an RPM (or Slack *.tgz or Debian *.deb) package, as well as entering the correct install/uninstall info into your package manager. This makes uninstalling programs much simpler, so you can delete your source directories with no worries.

BTW, you should enter your distro into your profile here in the forum. That'll make it easier for people to help you. For instance, I don't really know if you have any of the package management sytems that checkinstall works with so . . .

Enjoy!
--- Cerbere
 
  


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
help compiling a program minm Linux - Newbie 3 10-10-2005 01:14 AM
Compiling a Program? dbzw Linux - Software 4 10-09-2005 01:31 PM
Compiling a program lintho Linux - Software 2 08-24-2004 07:41 AM
Compiling Program Star3132 Linux - General 8 06-29-2004 05:35 AM
compiling a program question fernandoo Linux - Newbie 4 09-30-2003 01:08 PM

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

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