这个电脑直接装18.04吧.以下记录纯属浪费时间
terminator
tmux
输入法+gcc6
ubuntu18.04默认的gcc7太高了,会出很多问题
sudo apt-get update && \ sudo apt-get install build-essential software-properties-common -y && \ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ sudo apt-get update && \ sudo apt-get install gcc-snapshot -y && \ sudo apt-get update && \ sudo apt-get install gcc-6 g++-6 -y && \ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 40 --slave /usr/bin/g++ g++ /usr/bin/g++-5 sudo update-alternatives --config gcc
输入法
https://blog.csdn.net/sailor201211/article/details/22383783
sudo apt-get install fcitx-sunpinyin fcitx-googlepinyin fcitx-sogoupinyin
其他
参考 liunx中国:
https://linux.cn/tech/desktop/
sudo add-apt-repository multiverse
sudo apt update
flash等媒体编解码器
sudo apt install ubuntu-restricted-extras (只需按 Tab 键,它将高亮选项。当高亮在正确的选项上,按下回车确认你的选)
字体等Arial 或 Times New Roman
sudo apt install ttf-mscorefonts-installer (按 tab 键来选择 “OK” ,并按回车键)
更新字体缓存
sudo fc-cache -f -v
如果意外地拒绝了许可协议,你可以使用这个命令来重新安装安装程序
sudo apt install –reinstall ttf-mscorefonts-installer
常用软件
深度原创应用
https://www.deepin.org/zh/original/deepin-deb-installer/
Ubuntu18.04必备的22款软件(安装详解)
https://zhuanlan.zhihu.com/p/90227781
无限网卡驱动问题
Intel Wireless-AC 9462
无法连接wifi
Ubuntu应用---安装 Intel Wireless-AC 9462 无线网卡驱动(无法连接wifi,完美解决)
https://blog.csdn.net/cgjustdoit/article/details/103363622
或者:
https://www.intel.cn/content/www/cn/zh/support/articles/000005511/network-and-i-o/wireless.html
https://launchpad.net/~canonical-hwe-team/+archive/ubuntu/backport-iwlwifi
https://blog.csdn.net/weixin_43793181/article/details/108925771
MX250显卡驱动安装一些参考
https://blog.csdn.net/CAU_Ayao/article/details/83507338
https://mirrors.ustc.edu.cn/help/ubuntu.html
内核更换
内核下载地址:
https://kernel.ubuntu.com/~kernel-ppa/mainline/ 我使用的4.20
intel-wifi与linux内核版本对应关系:
https://www.intel.com/content/www/us/en/support/articles/000005511/network-and-io/wireless.html
遇到问题:
sudo apt-get install dkms sudo apt-get install bcmwl-kernel-source wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
安装显卡驱动后无法设置分辨率的一种解决方案
Ubuntu 16.04 安装显卡驱动后循环登录和无法设置分辨率的一种解决方案
https://www.cnblogs.com/seniusen/p/10593196.html
按照这个方法安装驱动后可以正常登录进系统,运行
nvidia-smi
命令也可以看到显卡信息,但在设置中依然只有一个 800*600 的分辨率选项。
sudo gedit /etc/default/grub
在文件中添加以下两行:
GRUB_GFXMODE=1920x1080
GRUB_GFXPAYLOAD_LINUX=1920x1080
sudo update-grub
重启