ubuntu list packages code example
Example 1: how to find installed packages in ubuntu
apt list --installed
Example 2: ubuntu list latest installed packages
apt list --installed | grep [name]
Example 3: Ubuntu packages
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install libgl1-mesa-glx
sudo apt-get install libgl1-mesa-dri
sudo apt-get install libgl1-mesa-dev
sudo add-apt-repository --remove ppa:xorg-edgers/ppa
sudo apt install net-tools
sudo apt-get install -y unzip
sudo apt install gcc
sudo apt install g++
sudo apt install python
ln -s /usr/bin/python2 /usr/bin/python
Example 4: list apt installed programs
aptitude search '~i!~M'