Related to Apt-Get, UBUNTU package management tool

Source: Internet
Author: User
I. Update the source and change the source server

Sudo apt-Get install *** is often used in Ubuntu,

But sometimes there may be various errors. If there is no command error, it may be a problem with the software source!

First, you can enter sudo apt-Get update to update the source, and then try again.

It may also be that the connection is not connected to the source, or sometimes the source may be used very slowly. For example, after Ubuntu is installed, the initial source is a foreign source server, at this time, you can configure the source server-I found today that the source can be configured, cainiao!

You can go to the Internet to search for "ubuntu update source", or refer to the following post content (http://zhidao.baidu.com/question/514732784.html? Push = related & Group = 0)

Ii. Powerful apt-Cache commands

Most of the information query functions of APT package management can be implemented by the APT-Cache command. The apt-Cache command can be used with different sub-commands and parameters for searching, displays software package information and package dependencies.

apt-cache search package_name
Search software package, you can search for a software package by keyword. The keyword used for query usually uses the software package name or a part of the software package.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.