安装unbuntu
https://www.ubuntu.org.cn/download/desktop
百度直接搜unbuntu
安装vscode
https://code.visualstudio.com/
百度直接搜vscode
Xshell同理
基本按照默认安装即可
安装好unbuntu后,在可视化界面点左下角很多点的图标,更改下载源为aliyun或者qinghua
更新软件源
sudo apt-get update
安装gcc,g++,tree,编译环境
sudo apt-get install gcc-multilib g+±multilib
GCC multilib主要是用于支持交叉编译(cross compiling),即编译出来的程序是用来在其他处理器平台上运行的。
编译环境
Sudo apt-get install build-essential module-assistant
vim
安装执行命令sudo apt-get install vim
tree
安装执行命令sudo apt-get install tree
git
安装执行命令sudo apt-get install git
svn
安装执行命令sudo apt-get install subversion
make
安装执行命令sudo apt-get install make
cmake
安装执行命令sudo apt-get install cmake
minicom
串口工具,安装执行命令sudo apt-get install minicom
vlc
安装执行命令sudo apt-get install vlc
ffmpeg
安装执行命令sudo apt-get install ffmpeg
安装opengl
sudo apt-get install build-essential
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install freeglut3-dev
安装minicom
sudo apt-get install minicom
安裝配置ssh
sudo apt-get install openssh-client
sudo apt-get install openssh-server
sudo /etc/init.d/ssh restart
安裝ncurses
sudo apt-get install ncurse*
安裝makeinfo
sudo apt-get install texinfo
安裝bison
sudo apt-get install bison
sudo apt-get install flex
安装gimp图形处理软件
sudo apt-get install gimp
安装配置tftp服务
sudo apt-get install tftpd-hpa
sudo /etc/init.d/tftpd-hpa restart
安装c++库
sudo apt-get install lib32stdc++6
安装fastboot
sudo apt-get install android-tools-fastboot
安装配置nfs
sudo apt-get install nfs-kernel-server
sudo /etc/init.d/nfs-kernel-server start
安装ctags
sudo apt-get install ctags
安装wireshark
sudo apt-get install wireshark
安装readline(为了sqlite3能够使用方向键)
sudo apt-get -f install libreadline6-dev libreadline-dev
安装zlib
sudo apt-get install zlib1g-dev
sudo apt-get install libx32z1-dev
sudo apt-get install lib32z1
安装unrar
sudo apt-get install unrar
安装tree
sudo apt install tree
安装lftp
sudo apt-get install lftp
安装libmad
sudo apt-get install libmad0-dev
安装7z工具
sudo apt-get install p7zip
安装gstreamer
sudo apt-get install libgstreamer0.10-dev gstreamer-tools gstreamer0.10-tools gstreamer0.10-doc
sudo apt-get install gstreamer0.10-plugins-base gstreamer0.10-plugins-good
在unbuntu虚拟机管理处装vmware tools,装好后内部找软件进行更新
查看本地ip
Vmware
安装ssh连接unbuntu
其他的一些配置
{
“workbench.colorTheme”: “Shades of Purple”,
“remote.SSH.showLoginTerminal”: true,
“remote.SSH.remotePlatform”: {
“yanmeng”: “linux” //自动选择linux
},
“remote.SSH.useLocalServer”: true,
“remote.SSH.suppressWindowsSshWarning”: true //使用本地服务器
}
最后连接,用户名上右键