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/02 07:45] – [CentOS / Fedora] perl-Time-Piece is now required on Fedora 38 981213 | 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 106: | Line 107: | ||
| rsync tar unzip wget which diffutils python2 python3 perl-base \ | rsync tar unzip wget which diffutils python2 python3 perl-base \ | ||
| perl-Data-Dumper perl-File-Compare perl-File-Copy perl-FindBin \ | perl-Data-Dumper perl-File-Compare perl-File-Copy perl-FindBin \ | ||
| - | perl-IPC-Cmd perl-Thread-Queue perl-Time-Piece | + | perl-IPC-Cmd |
| </ | </ | ||
| - | ==== 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 | ||
| </ | </ | ||