1 Star 0 Fork 1

程学洋/install-opencv-on-friendlycore

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cn-aptsource.sh 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
Lawrence-Tang 提交于 2018-08-11 17:53 +08:00 . first time commit.
#!/bin/bash
OSVER=`lsb_release -c | awk '{print $2}'`
sudo cat >/etc/apt/sources.list <<EOL0
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ ${OSVER} main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ ${OSVER}-backports main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ ${OSVER}-proposed main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ ${OSVER}-security main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ ${OSVER}-updates main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ ${OSVER} main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ ${OSVER}-backports main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ ${OSVER}-proposed main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ ${OSVER}-security main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ ${OSVER}-updates main multiverse restricted universe
EOL0
mkdir -p ~/.pip/
cat >~/.pip/pip.conf <<EOL
[global]
trusted-host = mirrors.aliyun.com
index-url = http://mirrors.aliyun.com/pypi/simple
EOL
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/njlite/install-opencv-on-friendlycore.git
git@gitee.com:njlite/install-opencv-on-friendlycore.git
njlite
install-opencv-on-friendlycore
install-opencv-on-friendlycore
master

搜索帮助