YUM - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

YUM

Description:

cd /usr/src/redhat/SPECS. rpmbuild bp target $(arch) kernel-2.6.spec. ln s ... Cd to /usr/src/linux. Make config. Answer questions ... – PowerPoint PPT presentation

Number of Views:63
Avg rating:3.0/5.0
Slides: 13
Provided by: Pow7
Category:
Tags: yum | usr

less

Transcript and Presenter's Notes

Title: YUM


1
YUM
  • What is Yum?
  • Yellow-dog updater, modified (YUM?, YUP?)
  • Developed by Seth Vidal and other volunteers
  • Managed by Duke University
  • GPL

2
Why Yum
  • Why?
  • Software Updates
  • Kernel Updates
  • Extra RPMs

3
How YUM works.
  • Packages (RPM)
  • Repositories
  • Base
  • Updates
  • Extras
  • Dependencies

4
How to use YUM
  • Installing new software
  • yum install packagename
  • Updating software
  • yum update packagename
  • Removing software
  • yum remove packagename

5
Searching with yum
  • yum list packagename
  • yum search searchcriteria

6
Updating the entire system
  • yum update
  • yum y update

7
YUM important notes
  • Fedora systems automatically uses the Fedora
    Project repositories.
  • If a package requires dependencies, yum will
    automatically try to acquire the required
    packages.

8
Modifying the kernel
9
Kernel management with /proc
  • What is /proc?
  • Similar to /dev
  • Interact with system resources as if they were
    files
  • Provides information on what kernel is doing
  • Cat /proc/meminfo

10
Kernel management with modules
  • lsmod
  • Modinfo
  • Modprobe
  • rmmod

11
Kernel Management with source
  • install fedora-rpmdevtools
  • download yum-utils
  • vi /etc/yum.repos.d change source to 1
  • download source
  • rpm Uvh kernel
  • cd /usr/src/redhat/SPECS
  • rpmbuild bp target (arch) kernel-2.6.spec
  • ln s

12
Kernel Management (cont.)
  • Cd to /usr/src/linux
  • Make config
  • Answer questions
  • Make clean make dep make bzImage make modules
    make modules_install
  • Make install (moves compiled kernel files to
    /boot)
Write a Comment
User Comments (0)
About PowerShow.com