This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions.
There are 7 references cited in this article, which can be found at the bottom of the page.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 349,868 times.
Learn more...
This wikiHow guide teaches you how to install software packages on Debian Linux. The most common way is to use a package manager like Apt, Synaptic, or GNOME Software, but you can also install .deb packages using Dpkg. Another option is to use Flatpak, which has an App Store-like interface and lets you install sandboxed applications. Keep reading to learn how!
Steps
-
Open a terminal. If you're using a graphical user interface (GUI), you can usually do this by clicking the terminal icon or by pressing Ctrl+Alt+T.
-
Type sudo apt update and press ↵ Enter. You will be asked to enter your password to confirm. Once your password is verified, the package manager will update to include the latest software sources.[1]Advertisement
-
Search for the package you want to install. If you already know the exact name of the package you want to install, skip to the next step. Otherwise, run apt-cache search softwareName (with softwareName being the name of your software) at the prompt.[2]
- This can sometimes print out a lot of options, of which many are irrelevant. Be patient and read the description of every package to determine which one you want to install. If you're unsure, you can also use apt show packageName, with packageName being the name of any listed package, to get a longer description of what the package is.
- If you're unsure what your software is called, you might try searching for a word that describes what the package does. For example, typing apt-cache search paint will print the package names of many painting programs, including GIMP and Krita.
-
Run sudo apt install packageName to install the package. Replace packageName with the actual package name. For example, if you want to install the package dillo (that's a web browser), you would type sudo apt-get install dillo.[3]
- If additional dependencies are required for the package to install, follow the on-screen instructions to choose whether to install them now.
- To remove an installed package, use sudo apt-get remove packageName.
-
Open the Synaptic graphical package manager. Synaptic, which is a graphical version of Apt, comes preinstalled in Debian as long as you've installed the version with desktop support.[4] You'll find it in your Applications menu, or under System > Administration. If you want to use a different graphical package manager, open that instead—most work similarly.
- You can also run Synaptic from the command line using sudo synaptic.
Tip: If you can't find any graphical package manager, consider installing one through the command line, for example, one of the following: KPackage, Klik, Autopackage, Bitnami, Click N Run.
-
Click Search. It's the magnifying glass icon near the top of the window.
-
Search for the software you want to install. You can use the search bar to find something in particular or browse the list by category.
-
Select the package(s) you want to install. Check the box next to the name of any package you want to install. You can install multiple packages at once if you wish.
-
Click the Apply button. It's at the bottom of the window. Synaptic will now download and install the selected packages.
-
Download a package file. If you want to install a package that ends with the .deb file extension, you can use a built-in tool called dpkg.[6] Start by downloading the desired *.deb file from your preferred source.
-
Open a terminal. If you're using a graphical user interface (GUI), you can usually do this by clicking the terminal icon or by pressing Ctrl+Alt+T.[7]
-
Use cd to enter the directory of the downloaded file. For example, if you've saved the file to a folder in your local directory called downloads, type cd downloads and press ↵ Enter or ⏎ Return.
-
Run sudo dpkg –i packageName. Replace packageName with the full name of the package ending in .deb. This installs the software package.[8]
- For example, to install a package called icewm_0.8.11-2.deb, type sudo dpkg –i icewm_0.8.11-2.deb and press ↵ Enter or ⏎ Return.
- Type your root password when prompted to complete the command.
-
Install Flatpak. Flatpak is a different type of package manager, similar to an App Store, that allows you to install sandboxed versions of software on Linux. Though Flatpak isn't preinstalled on Debian, you can install it easily using Apt. Here's how:[9]
- Open a Terminal window.
- Type sudo apt update and press Enter.
- Type sudo apt install flatpak and press Enter.
-
Install the Software Flatpak plugin. If you're using GNOME or KDE as your desktop environment, you should also install the Flatpak plugin. Here's the command you'll need:[10]
- GNOME: sudo apt install gnome-software-plugin-flatpak
- KDE: sudo apt install plasma-discover-backend-flatpak
-
Add the Flathub repository to Flatpak. The Flathub repository is home to many Flatpak versions of software, which you can also browse online. To add the repository, run the following command:
- flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo.
-
Restart your computer. Before you use Flatpak to install software, be sure to restart your computer. Otherwise, you will run into issues using the Flathub repository and, possibly, have trouble getting desktop apps to work.[11]
-
Search for and install Flatpaks. Once you're all set up, installing software with Flatpak is just as easy as installing apps from the App Store or Play Store–just head to Flathub.org, search for and select the app you want to install, then click the Install button.
- You can also use programs like KDE Discover and GNOME software to install Flatpaks. If an application you find in either program is available as a Flatpak, you'll be prompted to download the Flatpak version upon installation.[12]
Community Q&A
-
QuestionWhere do I find what I've installed?
Community AnswerFor command line applications, you can use the `which` command. It will print the path of the executable. Just type your application name as argument. Examle: `which firefox`. -
QuestionHow do I download this terminal?
SomoneCommunity AnswerThe terminal is built into all Linux Mint operating systems. If it's missing, then you may have a faulty OS. -
QuestionHow do I install the Audible app on Linux?
PCI TechieCommunity AnswerWhile it isn’t made for Linux itself, many Windows programs (such as Audible) will run under W.I.N.E. Try installing PlayOnLinux onto your Linux installation, downloading the WINDOWS.EXE, and clicking “Install a Program” in PlayOnLinux. Click “Install an Unlisted Program” in the bottom left, then go to your downloads folder, click the .EXE, and install like normal.
Video
Tips
References
- ↑ https://wiki.debian.org/AptCLI#Updating_your_package_list
- ↑ https://wiki.debian.org/AptCLI#Updating_your_package_list
- ↑ https://wiki.debian.org/AptCLI#Updating_your_package_list
- ↑ https://wiki.debian.org/Synaptic#Installation
- ↑ https://wiki.debian.org/DesktopEnvironment#Desktop_environment
- ↑ https://www.debian.org/doc/manuals/debian-handbook/sect.manipulating-packages-with-dpkg.html
- ↑ https://www.debian.org/doc/manuals/debian-handbook/sect.manipulating-packages-with-dpkg.html
- ↑ https://www.debian.org/doc/manuals/debian-handbook/sect.manipulating-packages-with-dpkg.html
- ↑ https://docs.flatpak.org/en/latest/introduction.html
About This Article
1. Open Synaptic.
2. Click Search.
3. Search for software.
4. Select a package to install.
5. Click Apply.




















