LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Use yum to install package. (http://www.linuxquestions.org/questions/red-hat-31/use-yum-to-install-package-582069/)

brave heart 09-04-2007 06:26 AM

Use yum to install package.
 
Hi, all

If I need to install some package via yum, how can I know if this package is provided by yum?

I mean can I learn that what package list yum support?

Thanks,

odcheck 09-04-2007 06:32 AM

visit

http://rpm.livna.org
and http://freshrpms.net

You'll learn alot about it.

important commands are

yum update
yum upgrade
yum install
yum remove
yum search

reddazz 09-04-2007 11:46 AM

If you mean that you want to know what packages are available to install through yum, then you need to use the list option e.g.
Code:

#yum list
to search for a specific package, you can do something like
Code:

yum list | grep -i nameOfPackage

brave heart 09-04-2007 11:55 PM

Thanks, odcheck and reddazz. Thanks for your reply.


To reddazz:

If I got following:
Code:

[root@localhost ~]# yum list | grep -i fcitx
[root@localhost ~]# yum list | grep -i bugzilla
[root@localhost ~]#

then it means I can't install fcitx or bugzilla via yum. Am I right?

reddazz 09-05-2007 03:51 AM

Yes, that means that those packages are not available in the repos that you have setup on your system.

brave heart 09-05-2007 06:31 AM

Then if I really wanna install above package, how can I? Is it a easy way for me to modify the repos?

odcheck 09-05-2007 07:59 AM

as I already said:
visit:

http://rpm.livna.org
and http://freshrpms.net

at them to the /etc/yum.repos.d

at the both above you can just click on them and they will install via rpm into /etc/yum.repos.d/ automatically

then there is
atrpms which is also a good source.

brave heart 09-05-2007 11:03 PM

Thanks, odcheck.

Do you mean in the package installation, centos5 corresponding to Fedora 7 (Moonshine)?

However, when I check the package list of http://moonshine.freshrpms.net/, I didn't find tomcat, bugzilla or fcitx and so on which I'm interested in.

odcheck 09-06-2007 01:22 AM

Lol... you never said something that you're using CentOS.
Therefor visit
http://dag.wieers.com

RHEL4 should operate with CentOS
I use CentOS as well with dag.wieers should be rpmforge.

brave heart 09-06-2007 03:51 AM

Hey, odcheck

Thanks for help,

I used"yum update", and then it seems that I can install fcitx. But I'm not so sure about how to use it, I'm trying to ask some chinese guy to help. :D


All times are GMT -5. The time now is 11:23 PM.