nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

yum fedora linux howto

This is a discussion on yum fedora linux howto within the Getting started tutorials forums, part of the Linux Getting Started category; yum is software installation tool for Red hat linux and Fedora Linux. It is a complete software management system. Other ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-24-2005, 12:37 AM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 0
tom is an unknown quantity at this point
Default yum fedora linux howto

yum is software installation tool for Red hat linux and Fedora Linux. It is a complete software management system. Other option is to use up2date utility. yum is designed to use over network/internet. It does not use CDROM to install packages. If you are using fedora you don't have to install it, it is part of fedora itself.

If you don't have yum then download it from project home page http://linux.duke.edu/projects/yum/download.ptml
And then install it
Code:
rpm -ivh yup*
Step # 1: Configure yum
You need to edit /etc/yum.conf and modify/add following code to it:
Code:
vi /etc/yum.conf
Append or edit code as follows:
Code:
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
baseurl=http://mirrors.kernel.org/fedora/core/$releasever/$basearch/os
Save the file

Install GPG signature key with rpm command:
Code:
# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
and other keys too (if any using above command)

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:
Yum homepage: http://linux.duke.edu/projects/yum/
Managing Software with yum: http://fedora.redhat.com/docs/yum/index.html
FC Mirrors: http://fedora.redhat.com/download/mirrors.html
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-24-2005, 12:47 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 906
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft 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
  #3 (permalink)  
Old 12-26-2005, 06:38 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 481
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

I'm not very big fan either of yum or redhat/fedora. Get something real like Debian and apt-get , IMPO

Anyways, good work.

Force a fresh download of package
Code:
yum clean headers
yum clean oldheaders
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Fedora Linux 7 wireless card configuration adahan Linux hardware 3 12-08-2007 12:50 AM
Use memory command to find details under Fedora Linux chiku Getting started tutorials 0 04-29-2007 08:35 PM
Configuring disk quotas on Fedora Linux chimu Linux software 2 12-26-2006 10:18 AM
redhat fedora core linux disable screensaver chiku Linux software 1 12-13-2006 06:35 PM
Upgrading Red Hat Enterprise Linux to Fedora Core...? jerry Linux software 1 04-06-2006 03:54 PM


All times are GMT +5.5. The time now is 05:48 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36