View Full Version : [ubuntu] searching for software using the command prompt
February 4th, 2010, 08:36 PM
Can you search for packages to install using the command prompt without using the ubuntu software center ?
February 4th, 2010, 08:43 PM
You mean the terminal? Yes:
sudo aptitude search PROGRAMNAME
sudo apt-get search PROGRAMNAME
And then use
sudo aptitude (or apt-get) install PROGRAMNAME
to install a program.
February 4th, 2010, 08:44 PM
apt-cache search <search term>
Use a program or file name as search term. For details of a specific package, run
apt-cache show <package name>
For a CLI menu interface, run
February 4th, 2010, 09:11 PM
Just to add to the reply by oldos2er.
Suppose you need to install a twitter client. Then enter the following command:
apt-cache search twitter
Then the terminal will display a list of packages related to 'twitter'. Suppose you want to know additional information about a particular package in that list, say gwibber. Then type:
apt-cache show gwibber
If the package is satisfactory, install it using:
sudo apt-get install gwibber
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.