pip apt source images

~/.pip/pip.conf

[global]

index-url = https://pypi.douban.com/simple

download_cache = ~/.cache/pip

[install]

use-mirrors = true

mirrors = http://pypi.douban.com/

/etc/apt/source.list

deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse

上一篇:在ubuntu上安装最新稳定版本的node及npm


下一篇:leetcode 846.Hand of Straights