How to update a program based on a downloaded file
Solution 1:
There are several ways.
-
Install the gdebi installer for .deb files.
sudo apt install gdebi
Then open the .deb file with gdebi to install it.
-
Open a terminal in the directory containing the .deb package, and install it directly with apt.
sudo apt install ./filename.deb
Later on, to update the software database,
sudo apt update
Then, you can update the whole system with sudo apt dist-upgrade
, or selectively upgrade vscode with sudo apt install code