DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Search Available Package on Remote Repository


Debian-based distro

First update your system cache:

apt-get update

Then you can use one of the following ways to search available packages:

apt-cache search <package-name>

There is only package names and simple descriptions.

aptitude search <package-name>

The command provide more information than above one. The first character of the output indicate the package status on your host machine: "i" means installed, "p" otherwise. If the third character is "A" other than space, it means the package is auto installed.

Use "aptitude why " to get the explanation of why the package should be installed on the system.

RPM-based distro

yum list <package-name>


Published

Jan 2, 2014

Last Updated

Jan 2, 2014

Category

Tech

Tags

  • linux 158
  • package 28

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor