Skip to content
LogoTechnipages
technipages logo
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
  • Product Reviews
  • Downloads
  • About

How to Install a Program With Apt-Get

Mel HawthorneNovember 2, 2020 Comments (0)

Most Linux desktop distributions come with a desktop environment that gives you an actual graphical interface rather than being limited to using a purely command-line environment as you would be on Linux server distributions. One of the many features that these desktop distributions include by default, is a graphical software update manager. This can really help to make using Linux more accessible to beginners, but it’s a good idea to learn how to use the commands, especially if you’re ever likely to work with Linux servers. On Debian-based Linux distributions such as Ubuntu and Linux Mint, the main command-line tool used to manage software updates is called “apt-get”.

Apt-get is a package manager that compares the version numbers of installed software with that in the list of online repositories to identify which applications have available updates. These updates can then be downloaded and applied. These repositories contain a huge list of software packages that can be searched and then have specified packages installed along with their dependencies.

Tip: Most software packages require other packages to be installed to be able to work. Sometimes these dependencies are already installed, if they’re not then apt-get will install them alongside the specified package automatically.

How to use apt-get

The first thing you need to do with apt-get is to download the latest update list from your configured repositories. To do so type the command “sudo apt-get update”. Doing this will ensure that the software you install or update is the latest available version.

Tip: “sudo” is a prefix used to run commands with root permissions. It should only be used where necessary due to the inherent powers of the root account but is needed for most admin tasks including software installs. When using sudo you will be asked to enter your password to confirm your identity, however, this will be remembered for a few minutes, so you won’t need to enter your password every time.

Use the command “sudo apt-get update” to get the latest versions of your configured repositories.

Next, you need to identify the exact name of the package you want to install. To do so, search through the repositories with the command “apt-cache search [search term]” where “[search term]” is the rough name of the software you wish to install. The search results show the name of the package on the left and a very short description on the right.

Search terms that are too loose may end up returning dozens of results of similarly named and potentially similarly functioning software. Try narrowing down your search term or using multiple terms separated by spaces. If you search for multiple words separated by spaces these terms will be applied cumulatively and only show results that match all terms.

Use the command “apt-cache search [search term]” to search for the exact name of the software you want to install.
Once you know the name of the package you want to install, type the command “sudo apt-get install [package name]” where “[package name]” is the exact name of the package you want to install. You can specify multiple packages at once by separating the names with spaces.

If the package requires dependencies to be installed apt-get will show you the list of packages being installed and ask for confirmation. Press the “y” key to confirm the installation or “n” to abort. If the package does not need to install any dependencies, apt-get will assume that you running the command was permission enough to install it and the process will complete automatically.

Use the command “sudo apt-get install [software name]” to install the software you want.
Once the install is complete, you’re ready to start using your new software.

Categories: Software

Author Mel Hawthorne

You Might Also Like

  • ms teams someone else is editing this section

    Microsoft Teams: Someone Else is Editing This Section

    Madalina DinitaSoftware
  • microsoft teams how long can a meeting last

    Microsoft Teams: How Long Can a Meeting Last?

    Madalina DinitaSoftware
  • microsoft teams error can't get there from here

    Fix Microsoft Teams: You Can’t Get There from Here

    Madalina DinitaSoftware
  • fix teams site won't load in desktop app

    Teams: This Site Won’t Load in Your Desktop App

    Madalina DinitaSoftware

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

300x600
Turning on Triple Touch Zoom on Android

Turning on Triple Touch Zoom on Android

How to Connect Outlook 2023 to Gmail

How to Connect Outlook 2023 to Gmail

Netflix: Change Password

Netflix: Change Password

Everything You Need to Know About WhatsApp Delete for Me

Step-by-Step Guide: How to Use WhatsApp on Your Computer

Android: Enable or Disable Background Data

Android: Enable or Disable Background Data

300x250
profile pic

The Experts Behind Technipages

My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Learn More

300x250 2
technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Visit guidingtechmedia.com to learn more about our mission and team.

© 2026 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Legal & Privacy

© 2026 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.