Top Banner
Downloading & Installing Software Chapter 13
23

Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Dec 25, 2015

Download

Documents

Austen Burke
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Downloading & Installing Software

Chapter 13

Page 2: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Maintaining the System

• Yum• Pirut• BitTiorrent• Rpm• Keeping Software Up To Date• Up2date• Red Hat Network• Wget

Page 3: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Packages

• A software package is a collection of scripts, programs, files, and directories required to run a software application.

• Software from your system can come in different packages– Rpm– Tar– GNU Config & Build System

Page 4: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

yum

• Early releases of Red hat did not have a tool for managing updates

• Yellow Dog Updater , Modified (yum) is now included with Fedora

• Yum works with “rpm” packages

Page 5: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Repositories

• The yum utility downloads pakage headers and packages from servers called repositories.

• Fedora provides the initial repositories (repos). These are quickly mirrored around the world.

• Yum is configured to use these mirrors.

Page 6: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Configuring yum

• By default yum is configured to access the global mirrors and install updates as requested.

• There is no configuration needed unless you want to modify the repo that you are using (use an in-house mirror)

Page 7: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Using yum to update, install and remove packages

• Logged in as “root” you can run yum from the command line– “Yum update”– See p.478-9 for an example of the

output

Page 8: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Installing with yum

• New packages can be installed with yum– Yum install package_name

• In addition to working with individual packages you work with groups.

• If you are unsure of the groups you can use:– Yum grouplist

Page 9: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Installing with yum

• Unsure of a groups contends?– Yum groupinfo groupname

Page 10: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Other yum commands

• Check-update– Lists packages installed and list updates available

• List available – list all packages that can be installed from the yum

repositories

• Search word– Searches for a word in the package description,

summary, packager, and name

Page 11: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Automatic updates

• The yum service can be set to run nightly:– /sbin/servcie yum start– This will set the service

• To verify:– /sbin/chkconfig yum on

Page 12: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Pirut:add and remove

• GUI Package Install and Removal Utility

• KDE: System – Add/Remove Software

• GNOME – Applications – Add/Remove

Page 13: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

BitTorrrent

• Hybrid Server / Client and P2P

• Efficiently distributes large amounts of static data – Fedora ISOs

• Requirements– BT client software curses– Firewall permission to

pass .torrent – Bandwidth

Wizard brings back Klaw!

Page 14: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

BitTorrent-curses

• Textual BT client– Downloading a slackware ISO

Page 15: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

rpm

• A utility and a package format

• Red Hat Package Manager (rpm) works only with packages tht have been built for processing by rpm

• It install, uninstalls, upgrades, queries, and verifies rpm packages

Page 16: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

rpm

• Rpm can be used to install a new kernel– We cover this in ch.15

Page 17: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Keeping Software Up to Date

• Reasons to keep current– Security– Bug Fixes– Feature enhancement

Page 18: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Up2date

• The up2date utility utilizes the Red hat Network (RHN) Alert Notification Tool.

• When updates are available they are indicated by a pop up or light on the panel

• Up2date uses the similar approach as yum with repositories

Page 19: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Up2date GUI

• Up2date-config

Page 20: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

RHN Alert Notification Tool

• Main Panel indictors:– Blue with a check mark

• All is well

– Red with an exclamation mark• Updates available

– Green with ½ arrows• System is downloading

– Gray with question mark• Indicates an error

Page 21: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

wget

• Wget – utility is a noninteractive command line utility

that can retrieve files from the web– Wget http://www.redhat.com/filename

Page 22: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.

Summary

• Yum• Pirut• BitTiorrent• Rpm• Keeping Software Up To Date• Up2date• Red Hat Network• Wget

Page 23: Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.