spk / ruby-apt-pkg

Ruby interface to Debian apt-pkg
http://www.rubydoc.info/gems/apt-pkg
MIT License
17 stars 3 forks source link

List packages? #2

Closed arjunmenon closed 4 years ago

arjunmenon commented 6 years ago

Hey Is it possible to list all packages installed in the system, like you find in the package manager? From the docs, Debian::AptPkg::PkgCache.pkg_names this only checks if something is installed or not. But how can we know what all is installed?