Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • 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

  • Chrome header

    Chrome: Disable Auto Updates

    Mitch BartlettSoftware
  • How to Resize Multiple Images at Once

    Kat ArmstrongSoftware
  • File Header

    What Are ABW Files?

    Mel HawthorneSoftware
  • fix-signal-app-wont-install

    Fix: Signal App Won’t Install on Android, iOS or PC

    Madalina DinitaSoftware

Leave a Reply

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

average laptop lifespan

What Is an Average Laptop Lifespan?

fix 0x80070302 windows update error

How to Fix the 0x80070302 Windows Update Error

how to allocate more memory to a program

How to Allocate More Memory to a Program in Windows

marvel rivals memory leak fix

Marvel Rivals Using Too Much Memory – How to Fix

how to create a macro in word

How to Create a Macro in Word

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

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2025 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Legal & Privacy

© 2025 Guiding Tech Media All Rights Reserved

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

Last Updated on November 2, 2020 by Mitch Bartlett