Problem Statement
Which command installs a package using the APT package manager?
Explanation
APT (Advanced Package Tool) is used on Debian-based systems like Ubuntu to install, remove, and update packages.
The command apt install <package_name> downloads and installs the package along with dependencies.
Code Solution
SolutionRead Only
sudo apt install nginx -y
Practice Sets
This question appears in the following practice sets: