Let’s Play With ‘apt-cache’ Some More!

inxi and you know how to open the terminal by pressing CTRL + ALT + T on your keyboard.

First, if you want to display a bunch of generic information, you can use the following:

[code]apt-cache show inxi[/code]

[code]apt-cache search inxi[/code]

[code]apt-cache search text editor[/code]

[code]apt-cache policy inxi[/code]

Among this giant, perhaps overwhelming, source of data are a couple of other neat things you can do. You can easily see both the dependencies and the reverse dependencies.

For clarity sake, the dependencies are the extra software that needs to be installed for the package in question to function. The reverse dependencies are what packages require the installation of the package in question in order to be fully functional.

To find the dependencies:

[code]apt-cache depends inxi[/code]

And the reverse dependencies:

[code]apt-cache rdepends inxi[/code]

[code]man apt-cache[/code]

[code]apt-cache stats[/code]

See? Another lovely way to use the terminal to gather information. I use the terminal nearly exclusively to manage my installed software.




How To: Use ‘apt-cache’ to Find Homepage for Your Installed Apps

[code]apt-cache show inxi[/code]

[code]apt-cache show inxi | grep Homepage[/code]

[code]apt-cache stats[/code]