Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:guide-developer:toolchain:install-buildsystem [2023/11/28 03:29] – [CentOS / Fedora] f39 update vgaetera | docs:guide-developer:toolchain:install-buildsystem [2024/09/30 18:39] (current) – [Void] Remove Python 2 and add missing packages from the requirements table harpia | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| | python2-dev | | python2-dev | ||
| | ? | python3-dev | | ? | python3-dev | ||
| + | | [[wp> | ||
| | unzip | unzip | unzip | unzip | unzip | unzip | unzip | app-arch/ | | unzip | unzip | unzip | unzip | unzip | unzip | unzip | app-arch/ | ||
| | [[wp>GNU Wget]] | | [[wp>GNU Wget]] | ||
| Line 86: | Line 87: | ||
| </ | </ | ||
| - | ==== Arch / Manjaro ==== | + | ==== Arch / Manjaro |
| Arch users may install the [[https:// | Arch users may install the [[https:// | ||
| Line 94: | Line 95: | ||
| bzip2 fakeroot file findutils flex gawk gcc gettext git grep groff \ | bzip2 fakeroot file findutils flex gawk gcc gettext git grep groff \ | ||
| gzip libelf libtool libxslt m4 make ncurses openssl patch pkgconf \ | gzip libelf libtool libxslt m4 make ncurses openssl patch pkgconf \ | ||
| - | python rsync sed texinfo time unzip util-linux wget which zlib | + | python |
| # Optional prerequisites, | # Optional prerequisites, | ||
| Line 100: | Line 101: | ||
| </ | </ | ||
| - | ==== CentOS / Fedora ==== | + | ==== Fedora |
| <code bash> | <code bash> | ||
| sudo dnf --setopt install_weak_deps=False --skip-broken install \ | sudo dnf --setopt install_weak_deps=False --skip-broken install \ | ||
| Line 109: | Line 110: | ||
| </ | </ | ||
| - | ==== Debian / Ubuntu ==== | + | ==== Debian / Ubuntu |
| - | Modernized set for Ubuntu | + | |
| + | |||
| + | Modernized set for Ubuntu | ||
| + | (OpenWrt main/ | ||
| + | |||
| + | <code bash> | ||
| + | sudo apt update | ||
| + | sudo apt install build-essential clang flex bison g++ gawk \ | ||
| + | gcc-multilib g++-multilib gettext git libncurses5-dev libssl-dev \ | ||
| + | python3-setuptools rsync swig unzip zlib1g-dev file wget | ||
| + | </ | ||
| + | |||
| + | |||
| + | set for Ubuntu 22.04 (that has older Python 3.xx): | ||
| <code bash> | <code bash> | ||
| Line 116: | Line 130: | ||
| sudo apt install build-essential clang flex bison g++ gawk \ | sudo apt install build-essential clang flex bison g++ gawk \ | ||
| gcc-multilib g++-multilib gettext git libncurses-dev libssl-dev \ | gcc-multilib g++-multilib gettext git libncurses-dev libssl-dev \ | ||
| - | python3-distutils rsync unzip zlib1g-dev file wget | + | python3-distutils |
| </ | </ | ||
| - | Older advice: | + | Older advice |
| <code bash> | <code bash> | ||
| Line 159: | Line 173: | ||
| coreutils diffutils findutils flex gawk gcc gettext git grep intltool \ | coreutils diffutils findutils flex gawk gcc gettext git grep intltool \ | ||
| libxslt linux-headers make ncurses-devel openssl-devel patch perl \ | libxslt linux-headers make ncurses-devel openssl-devel patch perl \ | ||
| - | pkg-config | + | pkg-config python3-devel rsync tar unzip util-linux |
| - | wget zlib-devel | + | zlib-devel time libelf perl-ExtUtils-MakeMaker-CPANfile \ |
| + | help2man swig | ||
| + | |||
| + | # for musl version, also install: argp-standalone musl-fts-devel musl-obstack-devel | ||
| </ | </ | ||