+4 votes
in Operating Systems by (72.7k 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

+1 vote
by (354k points)
selected by
 
Best answer

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 (354k 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

...