How to Install Programs on Linux: Package Managers and Terminal

Learn to install software on Linux through package managers and the terminal, without complications.

Intermediate 1 min read Published on 2026 By Equipo SolucionaPC

Option 1: Software Centre (easiest, graphical interface)

Search for the program by name in your distribution's app store (the exact name varies: "Software", "Software Centre", "Discover") — click install, just like on a phone.

Option 2: Terminal (faster if you already know the exact name)

sudo apt install program-name

(Replace apt with your distribution's manager if you are not using a Debian/Ubuntu-based one.)

Option 3: Flatpak or Snap

If the program is not in the official repositories, look for it on Flatpak or Snap — universal formats that work on any distribution.

Option 4: manually downloaded .deb/.rpm package

For software that is only distributed this way (some proprietary programs) — we cover the specific process for .deb in this guide.

Tip: always try your distribution's official package manager first — only turn to Flatpak, Snap, or a standalone .deb if the specific program is not available through the simplest route.

Frequently asked questions

What is the safest way to install programs on Linux?

Your distribution's official package manager (or its graphical software centre) is the safest option, since it verifies the software's origin before offering it.

What do I do if a program is not in any official repository?

Check whether it exists as a Flatpak or Snap, universal formats compatible with any distribution. If it is not there either, some programs are distributed as a manually downloadable .deb or .rpm package.

Share: