Showing posts with label update single package in ubuntu. Show all posts
Showing posts with label update single package in ubuntu. Show all posts

Sunday, September 11, 2016

How to update a single package in ubuntu/kubuntu

In order to update a single package using the CLI: you need to add the option '--only-upgrade install'

sudo apt-get --only-upgrade install <packagename>

e.g., sudo apt-get --only-upgrade install ack

Reading package lists... Done
Building dependency tree      
Reading state information... Done
Skipping **ack**, it is not installed and only upgrades are requested.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.