What is the command to install a package in Linux?

What is the command to install a package in Linux?
Answer
Adding Packages from Another Repository
  1. Run the dpkg command to ensure that the package is not already installed on the system:
    [email protected]
    :~$ dpkg -l | grep {name of package}
  2. If the package is installed already, ensure it is the version you need. …
  3. Run apt-get update then install the package and upgrade:
 

Tìm kiếm

Back
Top