Transferred from: http://jingyan.baidu.com/article/6d704a13f6bf1b28da51ca69.html
-
Ubuntu Apt-get is used for software installation, we first open the terminal to see Apt-get common commands
Input:
sudo apt-get
You can see a lot of commands, And there seems to be no command to find the package
- so if you do not know the details of the package is not able to install the name? In a skeptical attitude, to search the Internet, found that the query command is another: Apt-cache, since the command has been specified, 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?
- then experiment with it, for example, if we want 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
- can also be used to view the details of the software by using the show command, such as viewing Skype information, entering the command:
sudo Apt-cache show Skype
Can see package name, version number, installation size, dependencies, etc.
- 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