Search My Blog

Friday, September 3, 2010

yum Fedora Linux Howto - Linux / UNIX Forum

Here are a few quick Yum Commands that I found in a Forum. These would be helpful in updating and installing Apps in Fedora...

Step # 2 Update your package list:
Code:
# yum check-update
Step # 3 start to use yum

Install a new package called foo
Code:
# yum install foo
To update packages
Code:
# yum update
To update a single package called bar
Code:
# yum update bar
To remove a package called telnet
Code:
# yum remove telnet
To list all packages
Code:
# yum list installed
You can search using grep command
Code:
# yum list installed | grep samba
Display information on a package called foo
Code:
# yum info foo
To display list of packages for which updates are available
Code:
# yum list updates
Reference:

  1. http://www.cyberciti.biz/faq/rhel-centos-fedora-linux-yum-command-howto/

Last edited by nixcraft; 9th August 2009 at 03:48 PM.
Reply With Quote
  #2 (permalink)  
Old 24th December 2005, 12:47 PM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,294
Thanks: 13
Thanked 410 Times in 304 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond repute
Default

Nice! You may need to clean all cahced packages:
Code:
# yum clean packages
To remove all cached packages and old headers:
Code:
# yum clean all
Reply With Quote

Go there...
http://nixcraft.com/getting-started-tutorials/233-yum-fedora-linux-howto.html

Don

No comments: