L015ubuntu and derivatives: package related processing

ubuntu and derivatives: package processing

Update software##

sudo apt-get update
sudo apt-get upgrade

Query which package whereis belongs to##

sudo dpkg -S whereis or
sudo dpkg-query -S /usr/bin/whereis

Download source code##

sudo apt-get source  xxx  

The source code package usually contains 3 files with dsc, orig.tar.gz and diff.gz as suffixes.

Reference link#

  1. Query package

Recommended Posts

L015ubuntu and derivatives: package related processing