正在进行一个编译板子的任务,着实让你上火。
这个板子内存超级小,必须挂载外接硬盘,用来编译库
一些常用的linux命令,总是记不住,这里写一下,便于随时来see
查看外接设备:sudo fdisk -l
挂载外接设备: sudo mount /dev/sda3 ~/disk
授予挂载后文件夹的读写权利:sudo chmod 777 ~/disk/
清理旧版本软件缓存:sudo apt-get autoclean
清理所有软件缓存:sudo apt-get clean
删除系统不在使用的孤立软件:sudo apt-get autoremove
删除软件:sudo apt-get remove --purge 软件名
linux cblas 安装:https://blog.csdn.net/liu_feng_zi_/article/details/107336825
创建软连接:
ln -s [源文件或目录] [目标文件或目录]
解决cblas未定义问题,一句代码搞定:https://blog.csdn.net/qq_40155090/article/details/79729959
sudo apt-get install libatlas-base-dev
解决NX 无法进入可视化界面的问题:
https://askubuntu.com/questions/1031948/cant-start-ubuntu-desktop-after-upgrade-to-18-04
sudo apt install lightdm
sudo dpkg-reconfigure lightdm
sudo reboot
清空回收站:
sudo rm -rf ~/.local/share/Trash/*
git clone 指定本地保存的文件名:
git clone git@github.com:vnpy/vnpy.git myDirName
安装proto3.5.0:
https://zhuanlan.zhihu.com/p/374701554
使用 mv 命令移动多个文件
mv a b c d -t /myfile
查看安装的软件列表:dpkg -l
总是对付这种,想砸键盘的东西,就一句话:缺什么补什么O了