I downloaded a .deb package in Ubuntu and I’m not sure how to install it properly. What are the different ways to install a .deb file using terminal or GUI?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To install a `.deb` file in Ubuntu, use either the GUI or terminal:
GUI:Double-click the `.deb` file and open it with Ubuntu Software, then click Install
Terminal: Run:
bash
sudo dpkg -i package-name.deb
sudo apt-get install -f
The second command fixes missing dependencies automatically. You can also use:
bash
sudo apt install ./package-name.deb