@otisk
Linux Oct 09, 2026

Installing a .deb file from the terminal on Ubuntu?

Downloaded a .deb package for an app that isn't in the store. Double-clicking opens the software centre, which then just sits there. What's the proper command, and does it sort out dependencies by itself?
2

Leave A Reply

Log in to post an answer.

2 Answers

noraj Nov 06, 2026
otisk
No terminal? Right click the .deb and open it with Software Install (App Center on newer Ubuntu), does the same thing. To remove it later use the package name, not the file name: sudo apt remove packagename. If you don't know it, dpkg -I file.deb shows it.
meera_helpdesk Oct 14, 2026
otisk
sudo apt install ./yourfile.deb The ./ is the bit people miss, without it apt goes looking for a package by that name in the repos and fails. Doing it through apt instead of dpkg -i means it pulls in any missing dependencies for you.