Advanced Package Tool (APT) is a free software user interface that works with core libraries to handle the installation and removal of software on various Linux distributions. APT offers a centralized interface for software management and a better experience than having to download and install software one by one. Tencent Cloud hosts APT sources so you can install software without adding sources.
Log in to a Linux CVM instance that runs Ubuntu.
In the following, Nginx is used as an example.
Run the following command to list available software:
sudo apt-cache search all
Run the following command to install Nginx:
sudo apt-get install nginx
Make sure this is the software you want to install and enter Y
to approve the installation. Wait until the software installation is complete, as shown in the figure below:
You can run different commands to query installed software.
sudo dpkg -L software_name
sudo dpkg -l software_name
View information on the installed Nginx, as shown in the figure below:
Was this page helpful?