This question already has an answer here:
- How can I find the name of a Package? 4 answers
How does one discover which command to run to install a piece of software?
For example, if I wanted to know the command to run to install VirtualBox, how do I know that I should run
sudo apt-get install virtualbox-4.2, and not
sudo apt-get install XYZ?