Sunday, August 17, 2014

apt command list

I used apt command very extensively.

# it is like sync the database
apt-get update

# it is like do the whole system upgrade
apt-get dist-upgrade

# search the database with the keyword
apt-cache search keyword

# show the keyword status, like version, description
apt-cache show keyword

# install the keyword
apt-get install keyword

# list the related file system path with the keyword.
dpkg -L keyword

No comments: