1. win拷贝数据到虚拟机Ubuntu配置
1.打开终端,更新软件库
sudo apt-get update
2.下载安装open-vm-tools,open-vm-tools-desktop
sudo apt-get install open-vm-tools open-vm-tools-desktop
3.重启
sudo reboot
2.编译环境配置
1.设置环境脚本
sudo apt-get install binutils binutils-dev git git-lfs gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip m4 bc gnutls-bin python3.8 python3-pip ruby genext2fs device-tree-compiler make libffi-dev e2fsprogs pkg-config perl openssl libssl-dev libelf-dev libdwarf-dev u-boot-tools mtd-utils cpio doxygen liblz4-tool openjdk-8-jre gcc g++ texinfo dosfstools mtools default-jre default-jdk libncurses5 apt-utils wget scons python3.8-distutils tar rsync git-core libxml2-dev lib32z-dev grsync xxd libglib2.0-dev libpixman-1-dev kmod jfsutils reiserfsprogs xfsprogs squashfs-tools pcmciautils quota ppp libtinfo-dev libtinfo5 libncurses5-dev libncursesw5 libstdc++6 gcc-arm-none-eabi vim ssh locales libxinerama-dev libxcursor-dev libxrandr-dev libxi-dev
sudo apt-get install gcc-arm-linux-gnueabi gcc-9-arm-linux-gnueabi
3.将Python3.8设置为默认Python版本。
查看Python3.8的位置:
which python3.8 将Python和Python3切换为Python3.8:
sudo update-alternatives--install /usr/bin/python python {Python 3.8路径} 1 #{Python 3.8路径}为上一步查看的Python 3.8的位置
sudo update-alternatives--install /usr/bin/python3 python3 {Python 3.8路径} 1 #{Python 3.8路径}为上一步查看的Python 3.8的位置