Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-15-2003, 11:27 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
$PATH woes...

I compiled a new version of gcc (3.2) on my redhat machine, which also has the older 2.96 instaled via rpms. To get gcc to run from my new install, I entered this in the terminal:

export PATH=/usr/local/gcc/bin:$PATH

However, now I want to go back to gcc 2.96, and can't figure out how to get rid of that export PATH thing that I did so that it runs from the old binary again....

Also, anyone know how to uninstall a compiled-from-source gcc3.2? 'make uninstall' doesn't work



Last edited by kontrabass; 10-15-2003 at 11:28 AM.
Old 10-15-2003, 11:33 AM   #2
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
logout and login will reset your PATH.

you'll need to know what the gcc3.2 Makefile did when you typed
"make install" to undo it, unless there is a "make uninstall".



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
Image Path reference in Linux (Absolute path) javabuddy Linux - General 7 06-05-2006 08:45 AM
Apache path and kde path questions darkraider Debian 1 11-12-2005 06:07 AM
$PATH, vlc, and monitor woes in suse 10. HELP!!! xbennyboy SUSE / openSUSE 6 11-10-2005 06:52 AM
Removing path form PATH maginotjr Linux - Newbie 3 02-12-2005 03:23 PM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 07:10 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration