Lecture #6 Installing Software Packages
Objectives
Find software packages on the internet.
Install a software package downloaded from an internet site.
List the contents of a software package.
Verify if a particular software package is installed and what version it is.
Remove software packages from the system.
Agenda
Install gNewSense from the LiveCD ISO on a typical VM named computer4.
Install VMware Tools from the tarball.
Install FileZilla using apt-get.
Update Computer1 with X Windows and Mozilla by performing an update with the RH9 ISO
View Computer1's anaconda-ks.cfg
Install the
openmotif
package from the rpmfind website.
On Computer2, install VMware Tools using the RPM package manager
On Computer2, install Adobe Acrobat Reader using the method of your choice.
Assignment
Read Chapter 22 on X Windows.
Complete Lab 5.
PowerPoint Slides
CCC Confer video:
Dual-boot install
Software Management
Software Package Managers
How Package Managers Work
Package manager design approaches
Advantages of Using a Package Manager
Software dependencies on other packages can be checked
Database maintains all installation and removal activity
Packages cannot be removed if other programs require them
Installation of older versions can be prevented
The Debian Package Manager
Debian Package Priorities
Package Control File Information
Package name
Version number
Architecture
Dependencies
Installed size
Information on the maintainer
Description of the package
Debian Package Management Programs
dpkg
dselect
Access Configure Update Remove Select Quit Install
Using APT
apt-setup
atp-get
Dependencies and Conflicts
Package Verification
Red Hat's RPM
RPM Configuration
Modes and Options
Install, Uninstall, Query, Verify, Upgrade
APT with RPM
Could be Linux standard package management front-end
Tarballs and Slackware .tgz Files
Slackware tgz's
Slackware's Main Package Utilities
The Slackware package tool
Example of the Slackware Package Contents
Disadvantages of Package Managers
Take away the freedom of the user to decide where files should go
Can get confused if a package gets partially installed
Different package managers are not compatible with each other.
Relevant Commands and Files
Commands
Files
rpm
- RedHat Package Manager
tar
- tape archiver (tarballs)
dpkg
- Debian packaging tool
apt-get
- latest package manager
alien
- converts one package to another