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 08-03-2003, 12:04 AM   #1
coldfusion713
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
Question Need untarred files after installation?


I'm a relatively newbie linux user, so I'm just wondering about this: I've installed several tar.gz programs successfully by untarring the tar.gz file into a directory, then using ./configure, make, make install, (and make clean... about this, is it neccessary? and what exactly does it clean out?);
Then after compiling and installing the program, I sent the directory of untarred files to the trash... But for some reason when I try to empty the trash, or delete the files, it says access is denied... is this because they're being used or something, and can i delete them, or am I supposed to leave the untarred folder there?
Thanks- btw, i dun think it should matter but i'm running mandrake 9.1
 
Old 08-03-2003, 12:11 AM   #2
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Well, you should keep the source directories in case you want to uninstall that program later on.

But as for "permission denied", some of the files in it must be owned by root.

Try (as root):

chown -R [user]:users /path/to/source

replacing [user] with whatever your user is.
 
Old 08-03-2003, 12:17 AM   #3
coldfusion713
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Thumbs up Yup, it works now

I tried changing the ownership with the commands you gave, and it works now, i can delete the files... I suppose its because I did the ./configure, make etc under the Konsole in super user mode... should I not do this? I know its not very smart to log in as root with graphical interface, but shouldn't i use root for installing all programs to avoid problems with not being able to modify certain directories/files?
 
Old 08-03-2003, 02:16 AM   #4
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
It's just a safety thing. For a lot of home users/small business people, it's pointless, but if you're running a large network, you don't want people in there adding and deleting things willy-nilly. Therefore, if you want to install files, you want to be root, and by the same token, to remove them, you want to be root as well.
 
  


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
Where are installation files present saipraveen Linux - Newbie 2 06-10-2005 08:07 AM
Where do i get these?(installation files?) ch4s3r Linux - Software 1 11-10-2003 12:49 PM
Installation of files icealert Linux - Newbie 8 06-28-2003 07:21 PM
Downloading installation files linda Linux - Newbie 7 09-02-2002 04:03 PM
Can I move Untarred directories? Nigel_Tufnel Linux - General 5 08-08-2002 08:45 AM

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

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