install gcc (already installed) erase gcc (not installed) huh ?
Hi all,
Following a book to learn Linux, but stumbled at this: using rpm to install something for training dependencies. When i want to install it says that gcc-4.* is already installed. When I try to erase gcc-4.* it says it isn't installed. I am confused. Using Fedora 9; standard installed. Trying the commands with SU Anyone who can help me ? Thanks a lot ! Kees |
Welcome to LQ.
# rpm -Uvh gcc-4* # yum install gcc-4* 'rpm -Uvh' and 'yum' accept wildcards ( * ). 'rpm -e' : Wildcards cannot be used. The valid package names for the e option are 'gcc', 'gcc-4.3.0-8.i386'. Please use : 'rpm -qa | grep <name>' to know the name for an installed package. .. |
Quote:
|
Ok I see what I can do - I must update.
But can anyone explain what is happened? I cannot erase a program that is not up-to-date ??? So I have to update it first and then erase ? Anyone please ? Kees |
You have to use the FULL name or the common name in order to erase.
Quote:
|
All times are GMT -5. The time now is 04:55 PM. |