Terms

Linux Package Manager

Ubunutu uses apt as it’s package manager , DPKG is a sort of low level package manager

To install a .deb package

sudo dpkg -i file.deb

APT ⇒ Advanced Packaged Tool

sudo apt install [package name]

In dpkg , we had to use the downloaded ,deb file , but for apt , we only need the library name . APT has a repository that is a collection of resources . So tool we want is taken from the repository , if incase the tool is absent from the repository , there is an alternate way , or there will be their repo list that we can add to the sources package list.

sudo apt—installed ⇒ to see what system that are installed with

To remove stuff

sudo apt remove package remove deletes application but not the user data

sudo apt purge package this will remove any user data that has been initiated.

dpkg is low level package manager whereas apt is high level package manager which installs all the dependencies required for the program being installed

SNAP

Snap is a service that allows developers to deploy their app to the store before and faster it foes to the repository. So example to install VS code in the system , it would be something like

sudo snap install —classic code

sudo snap list