LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-04-2005, 01:23 PM   #1
enein
LQ Newbie
 
Registered: Sep 2005
Distribution: Red Hat
Posts: 1

Rep: Reputation: Disabled
.RPM files


I am trying to clean up my RedHat server because I keep getting messages that I am using over 90% of the hard drive. My question is, can I delete .RPM files once I have installed the rpm package? I wasn't sure if these files were needed when figuring out which packages were installed on a system.

On a related note, .tar and .tar.gz files can be deleted as well once the contents have been extracted, right?

Thanks in advance for your help. Sorry if this is a silly question.
 
Old 10-04-2005, 01:54 PM   #2
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
It's perfectly safe to delete the .rpm, tar.bz2 and tar.gz packages as well as other source and binary packages. You should not delete the extracted directories though. If you do that, some programs will return errors saying that package paths are missing.
 
Old 10-04-2005, 01:56 PM   #3
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Yes, .rpm, .tar, and .tar.gz files can be deleted after they have been installed/extracted. You can think of them as .zip files (if your background is Windows) or stuffit archives (if your background is Mac). Once you use the contents, you no longer need them.
 
Old 10-04-2005, 01:58 PM   #4
qwerty
Member
 
Registered: Feb 2005
Location: England
Distribution: Ubuntu 5.10
Posts: 80

Rep: Reputation: 15
You can delete all of the .tar, etc, files once you have unpacked their contents. I'm also pretty sure you can delete the .rpms because there just a package containing files and configuration stuff which all gets unpacked when you install them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 06:24 PM
preserve configuration files during RPM upgrade (rpm -U) charrua Red Hat 3 03-14-2004 02:18 PM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 05:35 PM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 07:12 PM
Building RPM files from TAR files parle Linux - Software 3 05-06-2002 12:02 AM


All times are GMT -5. The time now is 03:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration