宏基暗影骑士3机器配置:(酷睿i5 8G 128G SSD+1T GTX1050 4G IPS 背光键盘)
暗影骑士3装双系统:
宏碁暗影骑士3 win10 和 ubuntu18.04双系统安装_ballack_linux的博客-CSDN博客
进入recovery模式:
ubuntu的recovery mode_ubuntu进入recovery恢复系统_luckywang1103的博客-CSDN博客
ubuntu的recovery mode解决用户一些实际问题 - 简书
vslyu@vslyu-Nitro-AN515-52:/media/vslyu/ziliao/engineering-softwares/config$ type gcc-5
gcc-5 is /usr/bin/gcc-5
vslyu@vslyu-Nitro-AN515-52:/media/vslyu/ziliao/engineering-softwares/config$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 100
update-alternatives: using /usr/bin/gcc-5 to provide /usr/bin/gcc (gcc) in auto mode
vslyu@vslyu-Nitro-AN515-52:/media/vslyu/ziliao/engineering-softwares/config$ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 100
update-alternatives: using /usr/bin/g++-5 to provide /usr/bin/g++ (g++) in auto mode
vslyu@vslyu-Nitro-AN515-52:/media/vslyu/ziliao/engineering-softwares/config$
If gcc is installed on your system, then please check that `cc` is in your PATH. - 搜索
error之“If gcc is installed on your system, then please check that `cc` is in your PATH.”
解决方法:
cd /usr/bin && ln -s gcc cc
Problem with GCC when compiling the nvidia driver - Support - OpenMandriva forum
error之“ The target kernel has CONFIG_MODULE_SIG set, which means that it supports cryptographic signatures
解决方法:”Secure Boot 的关闭
宏碁(宏基)笔记本关闭安全启动(Secure Boot)-百度经验
华硕主板禁用UEFI安全启动(Disable Secure Boot for ASUS Motherboard)_禁用secure boot uefi_Qiuuuuu的博客-CSDN博客
ubuntu18.04 不需要加:
sudo service lightdm stop 关闭图形化界面,原因:ubuntu17.10以后把桌面显示管理器换成了GDM,可以尝试如下:
关闭图形化界面:
sudo systemctl set-default multi-user.target
sudo reboot
开启图形化界面:
sudo systemctl set-default graphical.target
sudo reboot
CUDA编程(二): Ubuntu18.04LTS下的CUDA10.0环境搭建 - 简书
ubuntu18.04关闭图形界面失败_服务器-CSDN问答
error:
vslyu@vslyu-Nitro-AN515-52:/media/vslyu/ziliao/engineering-softwares/config/ubuntu1604_cuda_9.0.176_deb(推荐使用)$ sudo apt install nvidia-418 -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
nvidia-418
0 upgraded, 1 newly installed, 0 to remove and 496 not upgraded.
140 not fully installed or removed.
Need to get 0 B/104 MB of archives.
After this operation, 438 MB of additional disk space will be used.
(Reading database ... 134668 files and directories currently installed.)
Preparing to unpack .../nvidia-418_418.67-0ubuntu1_amd64.deb ...
Unpacking nvidia-418 (418.67-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/nvidia-418_418.67-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0', which is also in package libglx-mesa0:amd64 18.0.5-0ubuntu0~18.04.1
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-418_418.67-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
解决方法: