Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am using Linux RHEL ES 4.When i trying to install my new version of gcc, getting the following error.
[root@localhost rpms]# rpm -ivh gcc-3.4.6-3.i386.rpm
warning: gcc-3.4.6-3.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
error: Failed dependencies:
cpp = 3.4.6-3 is needed by gcc-3.4.6-3.i386
libgcc >= 3.4.6-3 is needed by gcc-3.4.6-3.i386
Further when i going for install cpp new version again i am getting the following error.
[root@localhost rpms]# rpm -ivh cpp-3.4.6-3.i386.rpm
warning: cpp-3.4.6-3.i386.rpm: V3 DSA signature: NOKEY, key ID 0c98ff9d
Preparing... ########################################### [100%]
file /usr/bin/cpp from install of cpp-3.4.6-3 conflicts with file from package cpp-3.4.3-9.EL4
file /usr/libexec/gcc/i386-redhat-linux/3.4.3/cc1 from install of cpp-3.4.6-3 conflicts with file from package cpp-3.4.3-9.EL4
file /usr/share/man/man1/cpp.1.gz from install of cpp-3.4.6-3 conflicts with file from package cpp-3.4.3-9.EL4
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Originally Posted by shibu_sp
Thank you for quick answer and when i try as you said i am getting the following error
please help me.
[sarcasm]ah, good ol' dependency hell [/sarcasm]
that's why tools like yum annd apt-get were created in the first place,
it means you are gonna have to download the proper version of gcc to match the version of cpp you are trying to install and run rpm -Uvh with that, and then see what dependencies it comes up with and download and try and install those with rpm -Uvh package.rpm etc..
yum and apt-get were created to automate this process to make updating as painless as possible...
[root@localhost rpms]# yum install gcc
Setting up Install Process
Setting up repositories
rpmforge 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: gcc
Nothing to do
what repos do you have installed on that old rhel 4 ( you do know that rhel 5.2 is the current)
yes 4 is still supported , just like win 98 was still supported for a long time after xp came out .
can you post the output of