LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-21-2004, 01:52 PM   #1
azebuski
Member
 
Registered: Jan 2004
Posts: 43

Rep: Reputation: 15
deleting devel packages


As I understand it -devel packages are the headers and support files needed by developers. Can I safely delete these devel rpms from my Fedora installation? Being a newbie I have no intention of developing anything for Linux (nor do I have the skills to if I wanted to)

There are over 200 of these devel packages on my system, ranging from libcapplet0-devel to hesoid-devel. Can I remove these rpms?

I just don't want to delete stuff without knowing what I am doing.
 
Old 02-21-2004, 02:15 PM   #2
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Even if you're not a developer, having these devel packages is a good idea since they are required when you compile something from the source. If you're happy with RPMs, and have no intention to try out all the latest cool open source software from sourceforge.net and freshmeat.net, you can get rid of them.
 
Old 02-21-2004, 04:30 PM   #3
TheOneKEA
Member
 
Registered: Oct 2003
Location: Somewhere in Surrey
Distribution: Debian GNU/Linux 7.4.0 (amd64) w/kernel 3.13.0
Posts: 279

Rep: Reputation: 30
He's right - you should only remove the devel packages if you never intend to compile anything from source.
 
Old 02-25-2004, 12:54 AM   #4
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Does that mean (for example) if I'm wanting to delete as many devel packages as possible, but I may want to complie some things from source, on occaision in the future, should I just delete the devel packages that are for packages that I probably won't be using?

For example, maybe I have httpd and I may want to compile that from source, so I would want to keep those devel packages, but on the other hand, if I'm not using this machine as a desktop, I could remove all of the gnome and KDE devel packages and not have to worry?
 
Old 02-25-2004, 01:21 AM   #5
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
The devel package satisfies dependency when you compile from the source, for example if you don't have XFree86-devel installed, you won't be able to compile anything that requires X libraries. But you will still be able to compile XFree from the source, since it wouldn't make much sense if XFree needs its own libraries to compile its own libraries.

These development package are usually quite small, they shouldn't take more than few hundred megs of space even if you have all of them installed. But if you really want to get rid of them what I suggest is that you setup something like apt-get, and use it to install the development packages whenever necessary.
 
Old 02-25-2004, 01:37 AM   #6
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
In my case, I installed RH9 and I realized that it loaded a whole bunch of junk that I probably will never need. I am running regular backups on my system, so I don't want to backup a bunch of wasted stuff I will never use. So I have been going through rpm-qa and looking at the stuff I have installed and then going to rpmseek.com and searching for the packages I don't recognize.

If you have a better way of doing this, that would be good, since there are about a thousand packages installed, and a better way of finding out what's what would be nice. rpmseek.com is a little slow and clunky for looking at the descriptions of each RPM. Is there a master list somewhere that would be easier to browse?
 
Old 02-25-2004, 02:08 AM   #7
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try "rpm -qi <packagename>"
If you want to see desciptions for every package installed on your system, you can do:
Code:
rpm -qai
 
Old 02-25-2004, 07:41 AM   #8
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Hey, that IS better! Thanks for the tip. I have looked at the man pages for rpm, but I guess I missed that one.
 
  


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
compiling from source and devel packages acedreds Linux - Software 1 09-22-2005 12:27 PM
gtk+ devel packages mindkill Linux - Software 1 09-12-2005 04:50 AM
how to add GTK devel packages? alexwang74 Linux - Software 4 06-14-2005 10:03 PM
MPlayer - GTK devel packages? Levitate Debian 14 12-30-2004 02:10 PM
libglade and gtk devel packages contrasutra Slackware 3 05-24-2003 06:25 PM


All times are GMT -5. The time now is 02:04 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration