0

debian lenny box, how can I check for apache and mysql installs?

user2659
  • 1,152
  • 4
  • 20
  • 32
  • Can you tell us a bit more about the context in which you need this information? Can we assume that the system only has packages that where installed via apt? – Zoredache Dec 07 '09 at 23:54

1 Answers1

1

dpkg -l |egrep '(apache|mysql)'

womble
  • 96,255
  • 29
  • 175
  • 230