Ubuntu sourcelist and apt-Get

Source: Internet
Author: User
Tags unsupported

Official Server:

#/Etc/APT/sources. List

# Deb CDROM: [Ubuntu 9.10 _ karmic koala _-release i386 (20091028.5)]/karmic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade
# Newer versions of the distribution.

Deb http://us.archive.ubuntu.com/ubuntu/ karmic main restricted
Deb-Src http://us.archive.ubuntu.com/ubuntu/ karmic main restricted

# Major bug fix updates produced after the final release of
# Distribution.
Deb http://us.archive.ubuntu.com/ubuntu/ karmic-Updates main restricted
Deb-Src http://us.archive.ubuntu.com/ubuntu/ karmic-Updates main restricted

# N. B. software from this repository is entirely unsupported by the Ubuntu
# Team. Also, please note that software in universe will not receive any
# Review or updates from the Ubuntu security team.
Deb http://us.archive.ubuntu.com/ubuntu/ karmic universe
Deb-Src http://us.archive.ubuntu.com/ubuntu/ karmic universe
Deb http://us.archive.ubuntu.com/ubuntu/ karmic-Updates universe
Deb-Src http://us.archive.ubuntu.com/ubuntu/ karmic-Updates universe

# N. B. software from this repository is entirely unsupported by the Ubuntu
# Team, and may not be under a free licence. please satisfy yourself as
# Your rights to use the software. Also, please note that software in
# Multiverse will not receive any review or updates from the Ubuntu
# Security team.
Deb http://us.archive.ubuntu.com/ubuntu/ karmic multiverse
Deb-Src http://us.archive.ubuntu.com/ubuntu/ karmic multiverse
Deb http://us.archive.ubuntu.com/ubuntu/ karmic-Updates multiverse
Deb-Src http://us.archive.ubuntu.com/ubuntu/ karmic-Updates multiverse

# Uncomment the following two lines to add software from the 'backports'
# Repository.
# N. B. software from this repository may not have been tested
# Extensively as that contained in the main release, although it except des
# Newer versions of some applications which may provide useful features.
# Also, please note that software in backports will not receive any review
# Or updates from the Ubuntu security team.
# Deb http://us.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# Deb-Src http://us.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

# Uncomment the following two lines to add software from Canonical's
# 'Parter' repository.
# This software is not part of ubuntu, but is offered by canonical and
# Respective vendors as a service to Ubuntu users.
# Deb http://archive.canonical.com/ubuntu karmic partner
# Deb-Src http://archive.canonical.com/ubuntu karmic partner

Deb http://us.archive.ubuntu.com/ubuntu/ karmic-security main restricted
The Deb-Src http://us.archive.ubuntu.com/ubuntu/ karmic-security main restricted
Deb http://us.archive.ubuntu.com/ubuntu/ karmic-security universe
The Deb-Src http://us.archive.ubuntu.com/ubuntu/ karmic-security universe
Deb http://us.archive.ubuntu.com/ubuntu/ karmic-security multiverse

Deb-Src http://us.archive.ubuntu.com/ubuntu/ karmic-security multiverse

Sohu's server:

Deb http://mirrors.sohu.com/ubuntu/ lucid main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ lucid-security main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ lucid-Updates main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ lucid-proposed main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ lucid-backports main restricted universe multiverse
The Deb-Src http://mirrors.sohu.com/ubuntu/ lucid main restricted universe multiverse
The Deb-Src http://mirrors.sohu.com/ubuntu/ lucid-security main restricted universe multiverse
The Deb-Src http://mirrors.sohu.com/ubuntu/ lucid-Updates main restricted universe multiverse
Deb-Src http://mirrors.sohu.com/ubuntu/ lucid-proposed main restricted universe multiverse
Deb-Src http://mirrors.sohu.com/ubuntu/ lucid-backports main restricted universe multiverse

163 of servers:

Deb http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse

Deb http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse

Deb http://mirrors.163.com/ubuntu/ jaunty-Updates main restricted universe multiverse

Deb http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse

Deb http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse

The Deb-Src http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse

The Deb-Src http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse

The Deb-Src http://mirrors.163.com/ubuntu/ jaunty-Updates main restricted universe multiverse

The Deb-Src http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse

Deb-Src http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse

Other references

Http://wiki.ubuntu.org.cn/%E6%BA%90%E5%88%97%E8%A1%A8

 

Apt-GET command:

Apt-cache search package

Apt-Cache show package obtains package information, such as description, size, and version.

Sudo apt-Get install package installation package

Sudo apt-Get install package--reinstall re-installation package

Sudo apt-get-F install fix and install "-F = -- fix-missing"

Sudo apt-Get remove package Delete package

Sudo apt-Get remove package--Purge delete a package, including deleting a configuration file.

Sudo apt-Get Update update source

Sudo apt-Get upgrade updates installed packages

Sudo apt-Get dist-upgrade System

Sudo apt-Get dselect-upgrade using dselect

Apt-Cache depends package for dependency usage

Apt-Cache rdepends package is used to check which packages are dependent on this package.

Sudo apt-Get build-dep package installation-related compilation environment

Apt-Get source package download the source code of the package

Sudo apt-Get Clean & sudo apt-Get autoclean clear useless packages

Sudo apt-Get check whether any corrupted dependency exists

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.