LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Uninstalling gcc (https://www.linuxquestions.org/questions/linux-newbie-8/uninstalling-gcc-78364/)

Riggs 08-02-2003 02:25 PM

Uninstalling gcc
 
I recently installed gcc v. 3.2 via an rpm in attempt to upgrade mine from 2.96, and i probably installed the wrong rpm b/c it didnt compile mplayer, anyhow i need to know how i can get rid of the version 3.2 and get back to my 2.96. thanks in advance.
btw running Mandrake 8.0

david_ross 08-02-2003 02:30 PM

If it was an rpm:
rpm -e gcc

Riggs 08-02-2003 02:47 PM

indeed it was an rpm. When i execute rpm -e gcc it tells me my kernel and other programs are dependent upon it, and it lists gcc 2.96, so im thinking 3.2 is uninstalled.. but when i gcc -v and gcc -dumpversion it lists 3.2.

Looking_Lost 08-02-2003 03:26 PM

You could try

rpm -U --oldpackage theolderversion.rpm

maybe help


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