To access my Linux machine remotely from outside of my home, I decided to use Teamviewer. I went to their website and downloaded the latest version for Debian. Now that the file is on my downloads folder I need to know how to install it. I’ve done this before but it’s been a while and I forgot how to install a local package. After a quick google search I found out the method. To do this, you need to be in a terminal window and type
sudo apt install ./filename.deb
You can also use
sudo dpkg -i filename.deb
Where filename is the name of the package. So my case, I navigated to the ~/Downloads directory and typed
sudo apt-get install ./teamviewer_14.2.2558_amd64.deb
This installed Teamviewer with no problems and now I can access my Linux machine when I’m away from home
Now to uninstall a package you can type
sudo apt remove applicationName
or
sudo dpkg -r applicationName
The application name is NOT the name of the file that you downloaded. It is the name that you use to execute the application. So for teamviewer I use
sudo apt remove teamviewer
Since teamviewer is what I use to run the application in a commandline.
The alternate method of installing using dpkg was brought to me by psychocod3r from
https://psychocod3r.wordpress.com/. Thank you for the tip!
You can also type
sudo dpkg -i filename.deb.LikeLike
Thank you for the bringing this up to me! I updated the post and also added ways of uninstalling packages.
LikeLike