RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

Download, install, update, erase rpm packages using yum

yum - basics

yum – Red Hat tool for RPM package management used to download, install update, erase or list info about system packages

/etc/yum.repos.d/ -> list of configured repositories (web or ftp sites) that will be searched to download and install RPM packages

To view which repositories you have enabled:

yum repolist enabled
repo id -> repo name -> status
InstallMedia -> Fedora 8 -> enabled
fedora -> Fedora 8 – x86_64 -> enabled
updates -> Fedora 8 – x86_64 – Updates -> enabled

Working with yum:

yum install <package_name> -> will search, download and install requested package (e.g.: yum install gcc)

yum update -> will search for available updates and install them to your system

yum check-update -> will look for available updates for your system

yum upgrade -> similar to yum update, but tries to upgrade all your obsolete packages

yum remove (or erase) <packge_name> -> will remove previously installed package and its dependencies (e.g.: yum remove gcc)

yum search <package_name> -> search for package descriptions

yum clean packages -> cleans yum cache in /var/cache/yum/…

yum info <package_name> -> displays info about requested package (similar to rpm -qi) (e.g.: yum info gcc)

For complete options see man page

 

Share this linux post:

Submit Download, install, update, erase rpm packages using yum in Delicious Submit Download, install, update, erase rpm packages using yum in Digg Submit Download, install, update, erase rpm packages using yum in FaceBook Submit Download, install, update, erase rpm packages using yum in Google Bookmarks Submit Download, install, update, erase rpm packages using yum in Stumbleupon Submit Download, install, update, erase rpm packages using yum in Technorati Submit Download, install, update, erase rpm packages using yum in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download