We can see detail information of any package by using below command.
$ apt show package-name
Example:
$ apt show php7.4
We can use below command to install any package
$ sudo apt-get install package-name
Example:
$ sudo apt-get install mysql_server
We can use below command to Uninstall or remove any package.
$ sudo apt-get remove package-name
Example:
$ sudo apt-get remove mysql_server
We can use below command to see list of all installed packages into the server.
$ dpkg --list
We can use below command to search any packages available in Ubuntu.
$ apt search package_name
Example:
$ apt search package_name
Below is the screenshots.
