127k views
5 votes
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?

---------------------------------------------------------------------
apt-get list available

ps -e

yum show available

yum list all

yum show all

yum list available

apt-get list

ps -ef

1 Answer

4 votes

Final answer:

To see a list of all available packages from internet repositories on an RPM-based Linux system, the command "yum list all" should be used. This includes both installed and installable packages.

Step-by-step explanation:

To list all packages available for installation from the internet repositories configured on a Linux system that uses RPM (Red Hat Package Manager) for package management, you would use the command "yum list all". This command will display all the packages available in the repositories that YUM has access to, including those that are already installed and those that can be installed.

Other listed commands such as "apt-get list" or "yum show available" are either incorrect syntax or are appropriate for different package management systems. "apt-get" is associated with Debian-based systems and not RPM-based systems. And while "yum show available" is not a standard yum command, "yum list available" can be used specifically to show packages that are available to be installed and are not already installed on the system.

User PetrosB
by
7.5k points