前言:
当前兄弟们对“c语言图形库安装教程”都比较关注,你们都想要知道一些“c语言图形库安装教程”的相关内容。那么小编也在网摘上搜集了一些关于“c语言图形库安装教程””的相关文章,希望大家能喜欢,咱们快快来了解一下吧!往期好文:统信UOS上鼠标右键压缩选项消失的解决方法
hello,大家好啊,今天给大家带来一篇在统信UOS服务器操作系统CLI环境上安装GUI,文章前面的内容是安装一个CLI环境的服务器操作系统,然后后半部分的内容是在此基础上安装GUI,大家可以根据需要选择感兴趣的部分阅读查看。
1、选择自定义高级
2、点击下一步
3、选择稍后安装操作系统,点击下一步
4、选择客户机操作系统,点击下一步
5、输入虚拟机名称,点击下一步
6、输入处理器配置,点击下一步
7、选择虚拟机内存,点击下一步
8、选择使用的网络类型,点击下一步
9、选择I/O控制器类型,点击下一步
10、选择磁盘类型,点击下一步
11、选择创建新虚拟磁盘,点击下一步
12、选择磁盘容量,点击下一步
13、点击下一步
14、选择自定义硬件
15、选择ISO文件,点击关闭
16、点击完成
17、开机选择图形化方式安装
18、安装过程选择中文
19、软件选择为服务器,即CLI界面,配置好网络,点击开始安装
20、安装中
21、安装完成,点击重启系统
22、以此输入,接受许可证
23、成功登录系统
24、查看uos-license-mini
[root@localhost ~]# yum list installed |grep uos-licensuos-license-mini.x86_64 5.8.74-1.uel20 @anaconda [root@localhost ~]# yum list installed |grep deepin-license[root@localhost ~]#
25、安装deepin-license-activator,但是要卸载掉uos-license-mini,否则会有如下报错
[root@localhost ~]# yum makecache UnionTechOS-Server-20-1060-everything 2.3 MB/s | 20 MB 00:08 UnionTechOS-Server-20-1060 1.3 MB/s | 3.6 MB 00:02 Last metadata expiration check: 0:00:02 ago on 2023年08月10日 星期四 09时34分05秒.Metadata cache created.[root@localhost ~]# yum install deepin-license-activator.x86_64 Last metadata expiration check: 0:00:44 ago on 2023年08月10日 星期四 09时34分05秒.Error: Problem: problem with installed package uos-license-mini-5.8.74-1.uel20.x86_64- package uos-license-mini-5.8.74-1.uel20.x86_64 conflicts with deepin-license-activator provided by deepin-license-activator-5.8.74-1.uel20.x86_64- package deepin-license-activator-5.8.74-1.uel20.x86_64 conflicts with uos-license-mini provided by uos-license-mini-5.8.74-1.uel20.x86_64- cannot install the best candidate for the job(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)[root@localhost ~]#
26、卸载uos-license-mini,安装deepin-license-activator
[root@localhost ~]# rpm -e uos-license-mini licenseadapter exec[root@localhost ~]# yum list installed |grep uos-licens[root@localhost ~]# yum install deepin-license-activator.x86_64 -yLast metadata expiration check: 0:02:09 ago on 2023年08月10日 星期四 09时34分05秒.Dependencies resolved.==============================================================================================================Package Arch Version Repository Size==============================================================================================================Installing:deepin-license-activator x86_64 5.8.74-1.uel20 UnionTechOS-Server-20-everything 2.4 MInstalling dependencies:dtkcommon x86_64 5.5.23-1.uel20 UnionTechOS-Server-20-everything 19 kdtkcore x86_64 5.5.35-1.uel20 UnionTechOS-Server-20-everything 391 kdtkgui x86_64 5.5.27-1.uel20 UnionTechOS-Server-20-everything 175 kdtkwidget x86_64 5.5.59-1.uel20 UnionTechOS-Server-20-everything 17 Mfreeglut x86_64 3.0.0-10.uel20 UnionTechOS-Server-20-everything 137 kglew x86_64 2.1.0-6.uel20 UnionTechOS-Server-20-everything 231 kgsettings-qt x86_64 0-0.18.20180723bzr85.uel20 UnionTechOS-Server-20-everything 38 kmesa-demos x86_64 8.3.0-14.uel20 UnionTechOS-Server-20-everything 1.6 Mqt5-qtbase-gui x86_64 5.11.1-13.up6.uel20 UnionTechOS-Server-20-everything 5.5 Mqt5-qtdeclarative x86_64 5.11.1-6.uel20 UnionTechOS-Server-20-everything 3.0 Mqt5-qtsvg x86_64 5.11.1-7.uel20 UnionTechOS-Server-20-everything 165 kqt5-qtx11extras x86_64 5.11.1-6.uel20 UnionTechOS-Server-20-everything 26 kqt5-qtxmlpatterns x86_64 5.11.1-5.uel20 UnionTechOS-Server-20-everything 976 kxcb-util-image x86_64 0.4.0-13.uel20 UnionTechOS-Server-20-everything 16 kxcb-util-keysyms x86_64 0.4.0-12.uel20 UnionTechOS-Server-20-everything 11 kxcb-util-renderutil x86_64 0.3.9-15.uel20 UnionTechOS-Server-20-everything 14 kxcb-util-wm x86_64 0.4.1-17.uel20 UnionTechOS-Server-20-everything 26 kTransaction Summary==============================================================================================================Install 18 PackagesTotal download size: 32 MInstalled size: 82 MDownloading Packages:(1/18): dtkcommon-5.5.23-1.uel20.x86_64.rpm 21 kB/s | 19 kB 00:00 (2/18): dtkcore-5.5.35-1.uel20.x86_64.rpm 351 kB/s | 391 kB 00:01 (3/18): dtkgui-5.5.27-1.uel20.x86_64.rpm 198 kB/s | 175 kB 00:00 (4/18): freeglut-3.0.0-10.uel20.x86_64.rpm 203 kB/s | 137 kB 00:00 (5/18): glew-2.1.0-6.uel20.x86_64.rpm 228 kB/s | 231 kB 00:01 (6/18): deepin-license-activator-5.8.74-1.uel20.x86_64.rpm 653 kB/s | 2.4 MB 00:03 (7/18): gsettings-qt-0-0.18.20180723bzr85.uel20.x86_64.rpm 102 kB/s | 38 kB 00:00 (8/18): mesa-demos-8.3.0-14.uel20.x86_64.rpm 538 kB/s | 1.6 MB 00:03 (9/18): qt5-qtdeclarative-5.11.1-6.uel20.x86_64.rpm 507 kB/s | 3.0 MB 00:06 (10/18): qt5-qtsvg-5.11.1-7.uel20.x86_64.rpm 201 kB/s | 165 kB 00:00 (11/18): qt5-qtbase-gui-5.11.1-13.up6.uel20.x86_64.rpm 559 kB/s | 5.5 MB 00:10 (12/18): qt5-qtx11extras-5.11.1-6.uel20.x86_64.rpm 59 kB/s | 26 kB 00:00 (13/18): xcb-util-image-0.4.0-13.uel20.x86_64.rpm 55 kB/s | 16 kB 00:00 (14/18): xcb-util-keysyms-0.4.0-12.uel20.x86_64.rpm 40 kB/s | 11 kB 00:00 (15/18): xcb-util-renderutil-0.3.9-15.uel20.x86_64.rpm 63 kB/s | 14 kB 00:00 (16/18): xcb-util-wm-0.4.1-17.uel20.x86_64.rpm 96 kB/s | 26 kB 00:00 (17/18): qt5-qtxmlpatterns-5.11.1-5.uel20.x86_64.rpm 585 kB/s | 976 kB 00:01 (18/18): dtkwidget-5.5.59-1.uel20.x86_64.rpm 985 kB/s | 17 MB 00:17 --------------------------------------------------------------------------------------------------------------Total 1.7 MB/s | 32 MB 00:19 UnionTechOS-Server-20-1060-everything 14 kB/s | 1.7 kB 00:00 Importing GPG key 0x8DF595ED:Userid : "UnionTech <security@uniontech.com>"Fingerprint: C822 503F 2F4C E25A 6EA0 65BE 9055 A64E 8DF5 95EDFrom : imported successfullyRunning transaction checkTransaction check succeeded.Running transaction testTransaction test succeeded.Running transactionPreparing : 1/1 Installing : xcb-util-wm-0.4.1-17.uel20.x86_64 1/18 Running scriptlet: xcb-util-wm-0.4.1-17.uel20.x86_64 1/18 Installing : xcb-util-renderutil-0.3.9-15.uel20.x86_64 2/18 Running scriptlet: xcb-util-renderutil-0.3.9-15.uel20.x86_64 2/18 Installing : xcb-util-keysyms-0.4.0-12.uel20.x86_64 3/18 Running scriptlet: xcb-util-keysyms-0.4.0-12.uel20.x86_64 3/18 Installing : xcb-util-image-0.4.0-13.uel20.x86_64 4/18 Running scriptlet: xcb-util-image-0.4.0-13.uel20.x86_64 4/18 Installing : qt5-qtxmlpatterns-5.11.1-5.uel20.x86_64 5/18 Running scriptlet: qt5-qtxmlpatterns-5.11.1-5.uel20.x86_64 5/18 Installing : glew-2.1.0-6.uel20.x86_64 6/18 Running scriptlet: glew-2.1.0-6.uel20.x86_64 6/18 Installing : freeglut-3.0.0-10.uel20.x86_64 7/18 Running scriptlet: freeglut-3.0.0-10.uel20.x86_64 7/18 Installing : mesa-demos-8.3.0-14.uel20.x86_64 8/18 Installing : qt5-qtbase-gui-5.11.1-13.up6.uel20.x86_64 9/18 Running scriptlet: qt5-qtbase-gui-5.11.1-13.up6.uel20.x86_64 9/18 Installing : qt5-qtdeclarative-5.11.1-6.uel20.x86_64 10/18 Running scriptlet: qt5-qtdeclarative-5.11.1-6.uel20.x86_64 10/18 Installing : gsettings-qt-0-0.18.20180723bzr85.uel20.x86_64 11/18 Installing : qt5-qtsvg-5.11.1-7.uel20.x86_64 12/18 Running scriptlet: qt5-qtsvg-5.11.1-7.uel20.x86_64 12/18 Installing : qt5-qtx11extras-5.11.1-6.uel20.x86_64 13/18 Installing : dtkcommon-5.5.23-1.uel20.x86_64 14/18 Installing : dtkcore-5.5.35-1.uel20.x86_64 15/18 Installing : dtkgui-5.5.27-1.uel20.x86_64 16/18 Installing : dtkwidget-5.5.59-1.uel20.x86_64 17/18 Running scriptlet: deepin-license-activator-5.8.74-1.uel20.x86_64 18/18 Installing : deepin-license-activator-5.8.74-1.uel20.x86_64 18/18 Running scriptlet: deepin-license-activator-5.8.74-1.uel20.x86_64 18/18 restart license.serviceVerifying : deepin-license-activator-5.8.74-1.uel20.x86_64 1/18 Verifying : dtkcommon-5.5.23-1.uel20.x86_64 2/18 Verifying : dtkcore-5.5.35-1.uel20.x86_64 3/18 Verifying : dtkgui-5.5.27-1.uel20.x86_64 4/18 Verifying : dtkwidget-5.5.59-1.uel20.x86_64 5/18 Verifying : freeglut-3.0.0-10.uel20.x86_64 6/18 Verifying : glew-2.1.0-6.uel20.x86_64 7/18 Verifying : gsettings-qt-0-0.18.20180723bzr85.uel20.x86_64 8/18 Verifying : mesa-demos-8.3.0-14.uel20.x86_64 9/18 Verifying : qt5-qtbase-gui-5.11.1-13.up6.uel20.x86_64 10/18 Verifying : qt5-qtdeclarative-5.11.1-6.uel20.x86_64 11/18 Verifying : qt5-qtsvg-5.11.1-7.uel20.x86_64 12/18 Verifying : qt5-qtx11extras-5.11.1-6.uel20.x86_64 13/18 Verifying : qt5-qtxmlpatterns-5.11.1-5.uel20.x86_64 14/18 Verifying : xcb-util-image-0.4.0-13.uel20.x86_64 15/18 Verifying : xcb-util-keysyms-0.4.0-12.uel20.x86_64 16/18 Verifying : xcb-util-renderutil-0.3.9-15.uel20.x86_64 17/18 Verifying : xcb-util-wm-0.4.1-17.uel20.x86_64 18/18 Installed:deepin-license-activator-5.8.74-1.uel20.x86_64 dtkcommon-5.5.23-1.uel20.x86_64 dtkcore-5.5.35-1.uel20.x86_64 dtkgui-5.5.27-1.uel20.x86_64 dtkwidget-5.5.59-1.uel20.x86_64 freeglut-3.0.0-10.uel20.x86_64 glew-2.1.0-6.uel20.x86_64 gsettings-qt-0-0.18.20180723bzr85.uel20.x86_64 mesa-demos-8.3.0-14.uel20.x86_64 qt5-qtbase-gui-5.11.1-13.up6.uel20.x86_64 qt5-qtdeclarative-5.11.1-6.uel20.x86_64 qt5-qtsvg-5.11.1-7.uel20.x86_64 qt5-qtx11extras-5.11.1-6.uel20.x86_64 qt5-qtxmlpatterns-5.11.1-5.uel20.x86_64 xcb-util-image-0.4.0-13.uel20.x86_64 xcb-util-keysyms-0.4.0-12.uel20.x86_64 xcb-util-renderutil-0.3.9-15.uel20.x86_64 xcb-util-wm-0.4.1-17.uel20.x86_64 Complete![root@localhost ~]#
27、安装dde、 dde fonts
[root@localhost ~]# yum groupinstall dde "dde fonts" -yLast metadata expiration check: 0:03:44 ago on 2023年08月10日 星期四 09时34分05秒.Dependencies resolved.==============================================================================================================Package Arch Version Repository Size==============================================================================================================Installing group/module packages:dde x86_64 2022.1.4-1.uel20.05 UnionTechOS-Server-20-everything 9.2 kdejavu-fonts noarch 2.37-1.uel20 UnionTechOS-Server-20-everything 5.0 Mglibc-all-langpacks x86_64 2.28-93.uel20.01 UnionTechOS-Server-20-everything 27 Mgnu-free-serif-fonts noarch 20120503-21.uel20 UnionTechOS-Server-20-everything 1.5 Mgoogle-droid-sans-fonts noarch 20200215-2.uel20 UnionTechOS-Server-20-everything 2.3 Mgubbi-fonts noarch 1.3-4.uel20 UnionTechOS-Server-20-everything 52 kjomolhari-fonts noarch 0.003-28.uel20 UnionTechOS-Server-20-everything 528 kkhmeros-fonts noarch 5.0-27.uel20 UnionTechOS-Server-20-everything 364 klohit-telugu-fonts noarch 2.5.5-7.uel20 UnionTechOS-Server-20-everything 125 ksil-padauk-fonts noarch 3.003-4.uel20 UnionTechOS-Server-20-everything 794 kwqy-microhei-fonts noarch 0.2.0-0.24.uel20 UnionTechOS-Server-20-everything 1.7 Mxorg-x11-drv-amdgpu x86_64 19.1.0-3.uel20 UnionTechOS-Server-20-everything 74 kxorg-x11-drv-ati x86_64 19.1.0-2.uel20 UnionTechOS-Server-20-everything 156 kInstalling dependencies:LibRaw x86_64 0.20.2-4.uel20 UnionTechOS-Server-20-everything 359 kNetworkManager-l2tp x86_64 1.8.6-5.uel20 UnionTechOS-Server-20-everything 167 kOpenEXR-libs x86_64 2.2.0-28.uel20 UnionTechOS-Server-20-everything 626 kSDL2 x86_64 2.0.12-2.uel20 UnionTechOS-Server-20-everything 449 kSDL2-devel x86_64 2.0.12-2.uel20 UnionTechOS-Server-20-everything 836 kUnionTech-menus noarch 1.0.0-3.uel20 UnionTechOS-Server-20-everything 138 kaccountsservice x86_64 0.6.54-2.uel20 UnionTechOS-Server-20-everything 97 kadobe-mappings-cmap noarch 20190730-2.uel20 UnionTechOS-Server-20-everything 14 kadobe-mappings-cmap-lang noarch 20190730-2.uel20 UnionTechOS-Server-20-everything 2.5 M
28、设置默认界面为图形化界面,重启
[root@localhost ~]# systemctl set-default graphical.target Removed /etc/systemd/system/default.target.Created symlink /etc/systemd/system/default.target → /usr/lib/systemd/system/graphical.target.[root@localhost ~]# reboot
29、登录界面
30、启动器显示正常
31、控制中心显示正常
32、日历等显示正常
33、授权界面显示正常
标签: #c语言图形库安装教程 #822c程序设计