Understanding Software Installation and Package Management Flashcards
What is the underlying package manager for red hat?
RPM
What are the high level package managers for rpm?
yum, dnf, zypper they sit on top of rpm
What is the purpose of using a higher level package manager?
Install dependencies
What are the high level package managers for dpkg?
apt, apt-get, aptitude, synaptic
What Distributions use dpkg?
Debian, Ubuntu, Mint etc.
What distros use RPM?
Red Hat, CentOS, SUSE, etc.
What is the command to search for software using the rpm high level package managers?
sudo yum search apache
What is the command to install software using the rpm high level package managers?
sudo yum install httpd
What is the command to show all installed software on host?
sudo yum list installed
What command to update all packages or just one?
sudo yum update
sudo yum update httpd
What command to remove a package?
sudo yum remove httpd
What command to remove a package and all associated dependencies?
sudo yum autoremove
What command to search for apache, and then only show first 10 lines in output?
sudo yum search apache | head