0% found this document useful (0 votes)
86 views18 pages

073 Installing Software

This document discusses installing and managing software on Linux systems. It explains that packages are collections of files and metadata used to install software. Package managers install, upgrade, and remove packages while managing dependencies. It provides details on common package managers for RPM-based systems like yum and rpm, and for DEB-based systems like apt and dpkg. Commands are given to search for, install, remove, and get information about packages on both RPM and DEB distributions.

Uploaded by

nykaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views18 pages

073 Installing Software

This document discusses installing and managing software on Linux systems. It explains that packages are collections of files and metadata used to install software. Package managers install, upgrade, and remove packages while managing dependencies. It provides details on common package managers for RPM-based systems like yum and rpm, and for DEB-based systems like apt and dpkg. Commands are given to search for, install, remove, and get information about packages on both RPM and DEB distributions.

Uploaded by

nykaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Installing and

Managing Software
What You Will Learn
Packages
Package Managers
Managing software for RPM based distros
Managing software for DEB based distros
Package
A collection of files
Data / Metadata
Package description
Version
Dependencies
Package Manager
Installs, upgrades, and removes packages
Manages dependencies
Keeps track of what is installed
Installing Software on RPM Distros
RedHat
CentOS
Fedora
Oracle Linux
Scientific Linux
yum
yum search string Search for string

yum info [package] Display info

yum install [-y] package Install package

yum remove package Remove package


rpm
rpm -qa
List all installed packages.

rpm -qf /path/to/file


List the files package.
rpm
rpm -ql package
List packages files.

rpm -ivh package.rpm


Install package.
rpm
rpm -e package
Erase (uninstall) package.
Demo - yum
Installing Software on DEB Distros
Debian
Linux Mint
Ubuntu
APT - Advanced Packaging Tool
apt-cache search string
Search for string.

apt-get install [-y] package


Install package.
APT - Advanced Packaging Tool
apt-get remove package
Remove package, leaving configuration.

apt-get purge package


Remove package, deleting configuration.
APT - Advanced Packaging Tool
apt-cache show package
Display information about package.
dpkg
dpkg -l
List installed packages.

dpkg -S /path/to/file
List files package.
dpkg
dpkg -L package
List all files in package.

dpkg -i package.deb
Install package.
Demo - apt
Summary
Package
Package Manager
RPM
yum
rpm
DEB
apt
dpkg

You might also like