Operating Systems > Linux and UNIX

Adding Packages - RedHat 7.3

<< < (3/3)

voidmain:

quote:Originally posted by Doogee:
hey voidmain im trying to install the developments tools from the 3 redhat CDs cos i dint think i need them but i need the compilers and stuff, eg java c c++ gcc stuff like that, i would also like to get into writing my own programs in C or C++ but thats not my top priority atm.
--- End quote ---


I would suggest sticking your RedHat CDs in the drive one by one, mounting them on /mnt/cdrom and as root start up "gnorpm", click "install" and select everything you need under the "development" tree.

Let me know if that does not work for you....

Doogee:
thats what i did and it showed the dependency thing... its like 500 packages or something the 500 dependencies....

voidmain:
If you have that many unresolved dependencies then I think you must be doing something odd. I have a feeling you are trying to install all of the packages with the "-devel" in their name. You do not need to do that, unless you are trying to write code against that particular package. Or compile source written against that particular app. The *-devel-* packages contain headers and static libraries for their associated app, not needed to run the app but needed to be able to reuse the libraries from that app in another app.

For writing C/C++ apps you should only need around 10 packages, some of which are probably already installed: gcc, gcc-c++, binutils, cpp, glibc, glibc-common, glibc-devel, info, bash. Many source packages might also want "bison" and "flex" so you might want to install them as well. I would suggest you start small. Just try and install gcc, which will tell you it depends on a few other packages, go back and select those few other packages and try again.

With RPM there is maximum flexibility on what pieces you want installed, however that makes it a little more difficult in other areas (for now, but that soon will change). In the mean time, I have a feeling I can get you the exact functionality that you are looking for by downloading and installing Ximian's Red Carpet:

http://www.ximian.com/products/redcarpet/download.html

Download and install the Red Carpet rpm then type:

# red-carpet

Enter a proxy server if needed. Then click "Unsubscribed Channels" on the left. Then click "Red Hat Linux 7.3". At the top, click the "Install" icon. Find and select anything you want listed under "development utilities" and/or "development packages" like "gcc", "make", etc. If the packages you select to install require other packages it will tell you, and it will install those other packages.  I believe/hope this particular functionality is available in RedHat 8.0 (as an option).

[ September 26, 2002: Message edited by: void main ]

Calum:
hey, just to say:

there's another good rpm frontend called rpminst that i just encountered. Just thought i would mention it. it's a bit easier than kpackage.

Navigation

[0] Message Index

[*] Previous page

Go to full version