Linux - SoftwareThis 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.
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 successfully updated gcc but i don't know how to set a path to it. do i have to change .bashrc or some other config file? what do i have to type there? (my machine still recognizes the old version, naturally)
if u know, plz help me. thanks a lot! jens
Where is the new gcc and where is the old one? You can manipulate your path in /etc/profile file to put the directory where the new gcc can be found before the directory with the old version, but what I'd suggest if you don't use the old gcc you can just rename it with mv and make a symlink in this directory to point to new gcc, as in example suppose old gcc is in /usr/bin and the new one in /opt/bin and /opt/bin is not in the path
mv gcc gcc.back
ln -s /opt/bin/gcc gcc
hhegab: i downloaded it from a german mirror, i don't know which. why do u want to know?
rverlander: sure ihad to compile it but that worked fine. then i renamed old gcc and g++ and made symlinks called gcc and g++ to the new directories. much easier than expected all in all
Everything in rpmfind works if you know exactly what you need (2.96 is buggy and RH preference only); hhegab - if you want to overcome that hurdle with less pain you can install gcc3 from the installation CD set of your redhat and then just do the symlink trick I pointed to j-ray. Post back if you need more assistance.