LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   $PATH woes... (https://www.linuxquestions.org/questions/linux-newbie-8/%24path-woes-104242/)

kontrabass 10-15-2003 10:27 AM

$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 :(




Thanks!

Paul

bbeers 10-15-2003 10:33 AM

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".

HTH


All times are GMT -5. The time now is 12:15 AM.