Apr 13, 2013

The 5 sample of apt-cache Ubuntu Command for Package Management

APT (usually written using the lowercase) is acronym of Advanced Package Tool. It is a common tool which used to manage the software using the command line in terminal. Basically, apt-cache and apt-get command are available by default. We can manually add apt-fast. Our previous brief tutorial explained you on how to replace apt-get with apt-fast. The apt-get and apt-cache command basically is used for Debian based Linux, such as Ubuntu, Linux Mint and other variant which is developed based on Debian.

What is apt-get? Apt-get get is actually a command line especially developed to support packages management on Debian and its variant. It can be implemented for package installation, removing installed package, updating the newest available package and upgrading the same one. It can be used as well for upgrading the operating system version. And What is apt-cache? Apt-cache (written with lower cases) is actually a command line which is used to obtain the information related to the package installed on the system or available on the repository.

The list and sample apt-cache command Line

a. How do I see the package list on Ubuntu/Debian/Linux Mint?
To see list of available packages you can type the command and see the sample of it below:

b. How to check package information on Debian/Ubuntu/Linux Mint?
Actually you can check the information for the specific package including release version, size, installed size, etc. For this tutorial I'll use "calibre" as the sample. Run the command below:

c. How to check package dependencies on Ubuntu, Linux Mint and Debian?
You can use "showpkg" to get information about the dependencies of the specific package. We use calibre as the sample. See the command below:

Arsip Blog

Page and post views plugin

About Ossdoc

Ossdoc initiative is developed to support open source source movement worldwide. This website is created to be an interactive open source resource center for documentation and mainstreaming the freedom of code.