Your Question: How Do I Upgrade a Specific Package in Ubuntu?
Contents

How do I upgrade only one package in Ubuntu?

How to Ubuntu upgrade or update a single package

  1. Open the Terminal application.
  2. Fetch package index by running sudo apt update command.
  3. Now only update apache2 package by running sudo apt install apache2 command.
  4. If apache2 package already installed it will try to update to the latest version.

5 авг. 2020 г.

How do you update a specific package in Linux?

To update a single package on the system, use the apt-get command + the package name we want to update. Press “space” to scroll through the list of installed packages. See their version and of course obtain the exact package name in order to update it with the: apt-get update && apt-get upgrade packagename command.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest