How many times you forget the package name when you install something by „apt-get” in Ubuntu. I am sometimes confused when the package is named „apache” or „apache2″ or „apache3″. I was searching the name of the package in the Internet – i lost some time with this. Last time i found useful command that helps me a lot.
sudo apt-cache search apache
You see the big list with similar package for that name(here is: „apache”). Here is only the few line, from big list:
(...) apache2 - Apache HTTP Server metapackage apache2-doc - Apache HTTP Server documentation apache2-mpm-event - Apache HTTP Server - event driven model apache2-mpm-prefork - Apache HTTP Server - traditional non-threaded model apache2-mpm-worker - Apache HTTP Server - high speed threaded model apache2-prefork-dev - Apache development headers - non-threaded MPM apache2-threaded-dev - Apache development headers - threaded MPM apache2-utils - utility programs for webservers (...)
I hope i help you a lot with this command line. Once again sorry for my bad language.