Deep Env
2024-09-04 08:48:33
https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/
Ready Ubuntu 18.04 这里直接wsl
Ubuntu 的软件源配置文件是 /etc/apt/sources.list。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用 TUNA 的软件源镜像。
apt 镜像
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
sudo apt update
sudo apt -y upgrade
sudo apt install -y python3-pip
vi .bashrc
alias python='python3'
alias pip='pip3'
source .bashrc
pip 镜像
https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install --upgrade setuptools
pip install tensorflow-gpu==1.15
pip install --upgrade tensorflow-datasets
pip install tensor2tensor
pip install jupyterlab
source .profile
------------恢复内容结束------------
最新文章
- javascript对象创建方式
- 使用Eclipse建立Maven的SpringMVC项目
- andriod and linux kernel启动流程
- Codeforces Round #198 (Div. 2) —— B
- c 转置字符串You are a so cheap man ->;man cheap so a are You
- win7 64位下如何安装配置mysql-5.7.4-m14-winx64
- Java 内部类和匿名内部类
- Servlet中 End event threw exception,错误404 的解决方法
- 简易版本vue的实现
- Newtonsoft.Json(Json.net) 的使用
- 用js实现博客打赏功能
- eclipse自动编译
- 逆袭之旅DAY17.东软实训.Oracle.PLSQL.过程,函数,包,练习
- word搜狗输入失效切换方法
- JMS学习(四)-一个简单的聊天应用程序分析
- 基于spring-cloud的微服务(1) 服务注册中心eureka
- 简单实用的php分页函数代码
- PAT 甲级 1054 The Dominant Color
- 简单JS旋转实现转盘抽奖效果
- 【源码分析】cocos2dx的Action
热门文章
- 什么是DO,DTO,VO,POJO
- Linux常用命令之cp、mv、rm、cat、more、head、tail、ln命令讲解
- CSS高级特效(下)
- Pytorch_第九篇_神经网络中常用的激活函数
- 常哥带你认识NoSQL和Redis的强大
- XCTF-WEB-新手练习区(1-4)笔记
- 2020-07-20:你觉得redis有什么缺点,给你改进的话你会怎么改进?
- C#开发笔记之01-为什么开源框架会大量的使用protected virtual?
- C#LeetCode刷题之#367-有效的完全平方数(Valid Perfect Square)
- 苹果TF上架的iOS应用怎么下载