麒麟系统修改配置镜像源地址并安装openGL

1.编辑文件/etc/apt/sources.list

进入目录

cd /etc/apt/

编辑文件(需要root权限)

sudo vi sources.list

将镜像地址改为你指定的镜像地址

#deb http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1 main restricted universe mul tiverse
#deb http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1-2203-updates main restricted universe multiverse
#deb http://archive2.kylinos.cn/deb/kylin/production/PART-V10-SP1/custom/partner /V10-SP1 default all
deb http://mirrors.xx.com.cn/kylin/KYLIN-ALL 10.1 main universe multivers e restricted

执行安装更新命令:

apt-get update

root@hik-ds-ig8002-a7umz:/etc/apt# apt-get update
命中:1 http://mirrors.hikvision.com.cn/kylin/KYLIN-ALL 10.1 InRelease
正在读取软件包列表... 完成

安装aptitude工具,这个安装工具比apt-get更强大,会处理缺少的依赖库;

apt-get install aptitude

安装成功后,用aptitude安装OpenGL

sudo aptitude install libglu1-mesa-dev mesa-common-dev

posted @   一字千金  阅读(234)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
历史上的今天:
2021-12-24 Qt文件选择复制另存为
2019-12-24 股票主动资金变化曲线分析交易意向和趋势
点击右上角即可分享
微信分享提示