新装Kubuntu 18.04后的一些操作

本文介绍了Kubuntu系统的更新操作。首先将系统源替换为清华源,给出了具体的源地址。之后进行系统更新,包括更新软件包列表、升级软件包、清理缓存等操作,还列出了一系列软件的安装命令,如开发工具、语言包等,也提及虚拟机和双系统的相关设置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、更新源

sudo  cp  /etc/apt/sources.list   /etc/apt/sources.list.backup

 vim /etc/apt/sources.list 将下面的内容覆盖掉以前的

#清华源 https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/

deb 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 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

二、开始更新
sudo apt update
sudo apt upgrade
sudo apt clean autoclean autoremove
sudo apt install -y make cmake automake autoconf libtool autogen  g++ gcc git python3 build-essential  libfreetype6-dev  pkg-config mesa-common-dev  libgl1-mesa-dev  libglu1-mesa-dev

# mupdf need's
sudo apt install -y libxi-dev libxrandr-dev 

sudo apt install -y language-selector-gnome language-pack-kde-zh-hans language-pack-gnome-zh-hans

#如果是虚拟机

sudo apt install -y open-vm-tools


#双系统  win的时间不对
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
sudo hwclock --localtime --systohc
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值