LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm package not installed? (http://www.linuxquestions.org/questions/linux-newbie-8/rpm-package-not-installed-263324/)

dwarf007 12-06-2004 03:02 PM

rpm package not installed?
 
Can i know how to check installed package? I am not sure the way i install
and check installed rpm package is correct or not. I do it as below....


[root@TYJ rpm packages]# rpm -ivh libgd-devel-1.3-4.i386.rpm
Preparing... (100########################################### [100%]
package libgd-devel-1.3-4 is already installed
[root@TYJ rpm packages]# rpm -e libgd-devel-1.3-4.i386.rpm
error: package libgd-devel-1.3-4.i386.rpm is not installed

Why it still shows not install after i installed the package??

Anyone knows please help....

Thank You

kaito 12-06-2004 03:52 PM

Hi, dwarf007:)

>[root@TYJ rpm packages]# rpm -ivh libgd-devel-1.3-4.i386.rpm
>Preparing... (100########################################### [100%]
>package libgd-devel-1.3-4 is already installed

u can check whether that package is installed or not.
# rpm -qa | grep package-name

For example:
# rpm -qa | grep libgd

>[root@TYJ rpm packages]# rpm -e libgd-devel-1.3-4.i386.rpm
>error: package libgd-devel-1.3-4.i386.rpm is not installed
>
>Why it still shows not install after i installed the package??

Maybe, "rpm -e" argument is wrong:(
When rpm package is removed, cpu-architecrure and extension are not necessary.
In this case, the following command is correct:

# rpm -e libgd-devel-1.3-4


Good luck!!


All times are GMT -5. The time now is 09:44 PM.