sudo apt install vs sudo apt-get install code example
Example 1: what is deffrent between apt and apt-get
DIFFERENCES TO APT-GET(8)
The apt command is meant to be pleasant for end users and does not need
to be backward compatible like apt-get(8). Therefore some options are
different:
· The option DPkg::Progress-Fancy is enabled.
· The option APT::Color is enabled.
· A new list command is available similar to dpkg --list.
· The option upgrade has --with-new-pkgs enabled by default.
Example 2: sudo: apt: command not found
If apt is not found so Linux is CentOS which is RedHat-based
RedHat installs use yum not apt-get
Example 3: how to install vscode into ubuntu
sudo apt updatesudo apt install software-properties-common apt-transport-https wget