Jump to content

How to Update One or All Apps on Linux in Seconds - Other Helpful Tutorials - InviteHawk - The #1 Trusted Source for Free Tracker Invites

Buy, Sell, Trade, or Find Free Invites for top private trackers like redacted, blutopia, losslessclub, femdomcult, filelist, Chdbits, Uhdbits, empornium, iptorrents, hdbits, gazellegames, animebytes, privatehd, myspleen, torrentleech, morethantv, bibliotik, alpharatio, blady, passthepopcorn, brokenstones, pornbay, cgpeers, cinemageddon, broadcasthenet, learnbits, torrentseeds, beyondhd, cinemaz, u2.dmhy, Karagarga, PTerclub, Nyaa.si, Polishtracker, and many more.

Recommended Posts


  • Member ID:  53,629
  • Followers:  0
  • Topic Count:  3,075
  • Topics Per Day:  1.55
  • Content Count:  3,094
  • Content Per Day:  1.56
  • Reputation:   105
  • Achievement Points:  4,020
  • Days Won:  0
  • Joined:  01/24/2021
  • Status:  Offline
  • Last Seen:  

It's a fact of computing: apps are going to nag you about updates. You shouldn't ignore such prompts though, as updates often carry security patches, bug fixes, and new features that make the software more useful.

We've talked about the essentials to updating Linux and Linux software, but perhaps you just want to quickly update an application on your computer and get on with your life.

Updating a Debian or Ubuntu System

For those times, there's a simple terminal command in Debian-based distros such as Ubuntu to update anything on your computer:

sudo apt install [package name here]

This command will simply check for and install any updates related to the software specified. If you don't know the package name of the app that you'd like to update, you can run the following command to list all the packages on your system:

apt search [package]

There are a few more commands you can use to beef up this process if you'd like to update everything at once. Running the following command will grab the latest information about the software on your computer:

sudo apt update

Once you run this, issue the following command to update all software that has a newer version.

sudo apt upgrade

The system will list everything updated by this command and ask you to confirm by typing Y.

RELATED:Which Linux Package Manager (And Distro) Is Right For You?

Updating Packages on Red-Hat Distros

If you're using a Red Hat-based distribution like CentOS, the commands to update your system are a little different. This is primarily because these systems use the Yum package manager.

To install a single app on such distributions:

sudo yum install [PACKAGE]

To update your system, type:

sudo yum update

Updating All Packages on OpenSUSE

OpenSUSE is famous for its menu-driven YaST tool, but you can also update your system from the command line with the Zypper tool:

sudo zypper update

Like other package managers, you can update just a single package with zypper as well:

sudo zypper update [package] sudo zypper up [package]

To update all the packages on your system, issue the aforementioned command without the package name.

sudo zypper update sudo zypper up

As you can see, package managers are pretty easy to use, with commands that are easy to remember. If you don't know the name of your package, every package manager usually has a "search" option to help you find it.

Installing Updates on Arch Linux

Arch's package manager, Pacman, is less mnemonic, but easy to use.

For updating a single package:

sudo pacman -S [package]

The -S switch stands for sync, which is what the developers call updating.

Updating the system is also a little obscure compared to other distros, but you can memorize it pretty quickly:

sudo pacman -Syu

The -y option stands for refresh, or download a new copy of the master package database from the repository, and -u for sysupgrade, or upgrading any outdated packages on the system.

RELATED:How To Install And Remove Packages In Arch Linux

It's Easy to Keep Your Linux System up to Date

That's it! Now you have all you need to quickly update apps in Linux right from the terminal. If you're using a different distro not covered here or just want more detail, consult the documentation for your system.

This tweet by Mahmoud Tantawy reminds us why it's important to keep our systems up to date:

If you like to keep your Linux installation minimal, then knowing which applications are important might be of help to you. Even a beginner Linux user is unaware of the various software that they can install on their system. Installing a Linux distribution that ships with basic applications is recommended for such users.

Image Credit: arka38/Shutterstock


  • Member ID:  48,211
  • Followers:  60
  • Topic Count:  144
  • Topics Per Day:  0.06
  • Content Count:  30,040
  • Content Per Day:  13.21
  • Reputation:   2,202
  • Achievement Points:  38,182
  • Days Won:  11
  • Joined:  04/09/2020
  • Status:  Offline
  • Last Seen:  

Avoid unnecessary posts such as 'Thank you', 'Welcome', etc. Such posts will be deleted and user will be warned if it happens again. If caught spamming, the following actions are applicable -

  • First time - Warning
  • Second time - 5000 Points will be deducted
  • Third time - Ban for 7 days
  • Fourth time - Permanent Ban

If the post helped you, reward the user by reacting to the post like this -

1.jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Read this before posting -
  • Only post if you have something valuable to contribute.
  • Avoid unnecessary posts such as 'Thank you', 'Welcome', etc. Such posts will be deleted and you will be warned if it happens again.
  • If the post helped you, reward the user by reacting to the post like this -                      1.jpg
Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Customer Reviews

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.