Find a package with Apt command – Ubuntu
apt-get install is a useful command in Ubuntu, it can help user easily install application, it just like yum in fedora core.however, sometime we do not know exactly what package name to be install. Here is apt-cache search come to place and solve it. We can search a package name available to install with following command
sudo apt-cache search
For example, i want to install java sdk in Ubuntu, but i do not know the exatly package name to install, i can issue following command to search “java sdk”.
sudo apt-cache search java sdk
Got it, just install it with following command
sudo apt-get install sun-java6-sdk