LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-04-2007, 05:26 AM   #1
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Rep: Reputation: 15
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,
 
Old 09-04-2007, 05:32 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
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
 
Old 09-04-2007, 10:46 AM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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
 
Old 09-04-2007, 10:55 PM   #4
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Original Poster
Rep: Reputation: 15
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?
 
Old 09-05-2007, 02:51 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Yes, that means that those packages are not available in the repos that you have setup on your system.
 
Old 09-05-2007, 05:31 AM   #6
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Original Poster
Rep: Reputation: 15
Then if I really wanna install above package, how can I? Is it a easy way for me to modify the repos?
 
Old 09-05-2007, 06:59 AM   #7
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
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.
 
Old 09-05-2007, 10:03 PM   #8
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Original Poster
Rep: Reputation: 15
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.
 
Old 09-06-2007, 12:22 AM   #9
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
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.
 
Old 09-06-2007, 02:51 AM   #10
brave heart
Member
 
Registered: Mar 2007
Distribution: Fedora-14
Posts: 155
Blog Entries: 8

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum - install particular version of a package? neiljt Linux - Software 8 06-23-2014 04:41 PM
yum - Package Conflicts revof11 Fedora 5 04-24-2007 06:28 AM
YUM: How to install package from a specific repository? Akhran Red Hat 1 04-16-2007 10:04 PM
Yum Error: Transaction Check Error package x(which is newer than package y)... godsk Linux - Newbie 0 06-05-2006 07:13 AM
Using YUM to install a package bwallace Linux - Newbie 2 02-21-2006 09:43 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration