Debian

2020-11-18  本文已影响0人  sarto

一定不要执行 apt autoremove

安装桌面环境
debian 提供了一个命令 tasksel ,该命令可以安装桌面

debian 更换国内源

// 安装ca-certificates ssl 认证服务,使应用能够识别第三方证书
apt install apt-transport-https ca-certificates


/etc/apt/sources.list 用以下代码覆盖

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free

解压和压缩

.tar.gz    格式解压为          tar   -zxvf   xx.tar.gz
.tar.bz2  格式解压为          tar   -jxvf    xx.tar.bz2
上一篇下一篇

猜你喜欢

热点阅读