Daily Shaarli

All links of one day in a single page.

June 30, 2020

How to upgrade a single package using apt-get? - Ask Ubuntu
thumbnail

You just need to do apt-get install --only-upgrade <packagename>. This will upgrade only that single package, and only if it is installed.

If you wish to install the package if it doesn't exist, or upgrade it if it does, you may leave out --only-upgrade.