+4 votes
in Operating Systems by (16.8k points)
edited by
I downloaded the ".deb" file of Microsoft teams. How can I install and uninstall the package on the Ubuntu system?

1 Answer

0 votes
by (33.5k points)

Here are the steps you need to follow to install/uninstall the downloaded Debian package.

  • 'cd' to the folder where you downloaded the ".deb" file.
  • To install, run the following command:
sudo apt-get install <package_name>
  • To uninstall, run the following command:
sudo apt-get remove <package_name>
by (33.5k points)
- "cd" to the folder where you downloaded the .deb file and then run "sudo dpkg -i <package_name>" to install the package.

- If "apt-get install <package_name>" does not work, try "apt-get install ./<package_name>"
E.g.
sudo apt-get install ./mypackage.deb
...