This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
library:rk3568:crosscompilationtoolchains [2022/05/02 00:32] 127.0.0.1 external edit |
library:rk3568:crosscompilationtoolchains [2022/08/14 12:23] (current) lhaosen [2.1 安装Ubuntu 18.04.5] |
||
---|---|---|---|
Line 17: | Line 17: | ||
[[http:// | [[http:// | ||
- | === - Vmware Workstation安装 Ubuntu === | + | === - Vmware Workstation安装Ubuntu |
* 新建虚拟机,资源:RAM 8GB, 硬盘:60G | * 新建虚拟机,资源:RAM 8GB, 硬盘:60G | ||
* 手动安装(**非常重要**,使用自动安装会导致后期安装开发环境缺少依赖包) | * 手动安装(**非常重要**,使用自动安装会导致后期安装开发环境缺少依赖包) | ||
Line 51: | Line 51: | ||
unzip device-tree-compiler python-pip ncurses-dev python-pyelftools | unzip device-tree-compiler python-pip ncurses-dev python-pyelftools | ||
</ | </ | ||
+ | |||
+ | |||
+ | === - Other Ubuntu version === | ||
+ | |||
+ | == - Ubuntu 22.04 LTS == | ||
+ | |||
+ | Can not find 2 packages: | ||
+ | ncurses-dev | ||
+ | python-pyelftools | ||
+ | |||
+ | < | ||
+ | sudo apt-get install repo git ssh make gcc libssl-dev liblz4-tool \ | ||
+ | expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support \ | ||
+ | qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g++-multilib \ | ||
+ | unzip device-tree-compiler python-pip | ||
+ | </ | ||
+ | |||
+ | Make python2 as default python runner | ||
+ | |||
+ | sudo apt install python2 | ||
+ | cd /usr/bin | ||
+ | sudo ln -s python2 python | ||
==== - 安装SDK ==== | ==== - 安装SDK ==== |