BowerStudios.com

  • My Lab
  • Family
  • Friends
  • Professional
  • About
Home » The Lab

Linux

Primarily Debian based like Ubuntu

Useful apt commands

daniel —Sat, 03/13/2010 - 4:22pm

Search for a package name in the repository from the command line: (php5 in this case)
$ apt-cache search php5

Get a list of the installed packages:
$ dpkg --get-selections

You'll likely want to pipe the results of each through grep to filter results...
For example, to look for installed php5 packages:
$ dpkg --get-selections | grep php5

  • Linux
  • Read more about Useful apt commands
  • Log in to post comments

Pages

  • « first
  • ‹ previous
  • …
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
Subscribe to RSS - Linux

Navigation

  • Search
  • Recent content
  • Contact Me
  • Mail
  • Pass Hasher
  • Bower Studios Admin

Quotes

daniel —Thu, 02/23/2012 - 10:36am

Children are natural mimics who act like their parents despite every effort to teach them good manners.

—

Anonymous

  • Log in to post comments
  • daniel's quotes

Popular content

Last viewed:

  • Grails 3 uses YAML for config??? Why?
  • Securely erase a hard drive in linux
  • Intellij VM options
  • Underscore to Camel case (Groovy)
  • Using SSL with an IP address instead of DNS

Copyright 2022 Daniel Bower
  • My Lab
  • Family
  • Friends
  • Professional
  • About