Chapter 9.7 Linux Application Management

question

You’re using a Linux distribution that uses RPM for package management. Which command would you use to install httpd, the Apache HTTP Server package, and all its dependencies?
answer

yum install httpd
question

You’re using a Linux distribution that uses RPM for package management. Which command would you use to check to see if httpd package, the Apache HTTP Server package, is installed?
answer

yum list installed httpd
question

You’re using a Linux distribution that uses Debian Package Manager (dpkg) for package management. Which command would you use to install httpd, the Apache HTTP Server package, and all its dependencies?
answer

apt-get install httpd
question

You’re using a Linux distribution that uses RPM for package management. Which command would you use to display a list of all packages available for installation within the Internet repositories configured on this system?
answer

yum list available
question

Which command would you use to display a simple list of all processes running on a Linux distribution that uses either RPM or dpkg for package management?
answer

ps -e

Get instant access to
all materials

Become a Member