ubuntu list installed packages code example
Example 1: npm list global packages
npm list -g --depth 0
Example 2: how to find installed packages in ubuntu
apt list --installed
Example 3: ubuntu list latest installed packages
apt list --installed | grep [name]
Example 4: ubuntu see if package is installed
dpkg -l {package_name}
Example 5: 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