Thursday, May 2, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 483  / 2 Years ago, fri, august 19, 2022, 2:46:53

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?


More From » command-line

 Answers
6

When you don't want to use the search field in the Ubuntu Software Center you can search the packages via apt with this command: sudo apt-cache search virtualbox



You will get a list of found packages and now you can install it by typing the right package i.e. sudo apt-get install virtualbox-4.2


[#32307] Friday, August 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
otatorm

Total Points: 218
Total Questions: 113
Total Answers: 124

Location: British Indian Ocean Territory
Member since Tue, Feb 22, 2022
2 Years ago
;