Transferred from: http://jingyan.baidu.com/article/6d704a13f6bf1b28da51ca69.html
Ubuntu is using Apt-get to install software, we first open the terminal to see Apt-get common commands
Input:
sudo apt-get
You can see a lot of commands, and there's nothing like a command to find a package
- Wouldn't it be impossible to install the detailed name of the package if you didn't know it? In a skeptical attitude, to search the Internet, found that the query command is another: Apt-cache, since the specified command, and then the same as above, open the Terminal input command:
sudo apt-cache
Can see a lot of changes in the use of the command, look at the picture is not found search?
- So let's experiment, for example, if we're going to install Skype, we'll use the cache to search for the Skype software.
Command:
sudo apt-cache search Skype
We can see a lot of software that contains Skype words, it's easy to look at the English instructions, just enter the word by installing Skype
- It can also be used to view the details of the software by using the show command, such as viewing the Skype information and entering the command:
sudo apt-cache show Skype
Can see the package name, version number, installation size, dependencies and other content
- Note that the official source of Skype seems to be damaged, if the installation error can refer to my other experience to see the installation method.
How Ubuntu uses commands to search for software in a software source