Template:Yocto Build Release IMX: Difference between revisions
From Variscite Wiki
(Replace zcat with {{#var:UNZIP}} in prep for migration to .zst) |
(Move python2 packages to a section for Ubuntu 20.04 and earlier) |
||
Line 19: | Line 19: | ||
$ sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib \ | $ sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib \ | ||
build-essential chrpath socat cpio | build-essential chrpath socat cpio python3 python3-pip python3-pexpect \ | ||
xz-utils debianutils iputils-ping libsdl1.2-dev xterm libyaml-dev libssl-dev | xz-utils debianutils iputils-ping libsdl1.2-dev xterm libyaml-dev libssl-dev | ||
$ sudo apt-get install autoconf libtool libglib2.0-dev libarchive-dev \ | $ sudo apt-get install autoconf libtool libglib2.0-dev libarchive-dev \ | ||
sed cvs subversion coreutils texi2html docbook-utils | sed cvs subversion coreutils texi2html docbook-utils \ | ||
help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev \ | help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev \ | ||
mercurial automake groff curl lzop asciidoc u-boot-tools dos2unix mtd-utils pv \ | mercurial automake groff curl lzop asciidoc u-boot-tools dos2unix mtd-utils pv \ | ||
Line 34: | Line 34: | ||
$ sudo apt-get install python-git | $ sudo apt-get install python-git | ||
}} | }} | ||
For Ubuntu 20.04 and earlier, install python2: | |||
$ sudo apt-get install python python-pysqlite2 | |||
{{#ifexpr:{{#rpos:{{#var:UBUNTU_COMPAT}}|16.04}} >= 0|{{Ubuntu16_Python}}|}}<!-- | {{#ifexpr:{{#rpos:{{#var:UBUNTU_COMPAT}}|16.04}} >= 0|{{Ubuntu16_Python}}|}}<!-- | ||
-->{{#ifexpr:{{#rpos:{{#var:UBUNTU_COMPAT}}|22.04}} >= 0|{{Ubuntu22_Python}}|}} | -->{{#ifexpr:{{#rpos:{{#var:UBUNTU_COMPAT}}|22.04}} >= 0|{{Ubuntu22_Python}}|}} |