Ubuntu

apt show

apt show command shows information about a package. root@ok-vm:~# apt show apache2 Package: apache2 Version: 2.4.18-2ubuntu3.5 Priority: optional Section: web Origin: Ubuntu…

apt policy

apt policy command show information about a package. root@ok-vm:~# apt policy apache2 apache2: Installed: 2.4.18-2ubuntu3.5 Candidate: 2.4.18-2ubuntu3.5 Version table: *** 2.4.18-2ubuntu3.5 500…

add-apt-repository

add-apt-repository command can be used to add repository in ubuntu. To install, run apt-get install software-properties-common python-software-properties Example apt-key adv –recv-keys –keyserver…

apt

List all Dependencies for a package. If you don’t want to upgrade a package, you can use apt-mark command to hold it,…