Changeset View
Changeset View
Standalone View
Standalone View
contrib/utils/install-dependencies.sh
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | PACKAGES=( | ||||
librsvg2-bin | librsvg2-bin | ||||
libssl-dev | libssl-dev | ||||
libtiff-tools | libtiff-tools | ||||
libtinfo5 | libtinfo5 | ||||
libtool | libtool | ||||
libzmq3-dev | libzmq3-dev | ||||
lld | lld | ||||
make | make | ||||
mypy | |||||
ninja-build | ninja-build | ||||
nsis | nsis | ||||
php-codesniffer | php-codesniffer | ||||
pkg-config | pkg-config | ||||
protobuf-compiler | protobuf-compiler | ||||
python3 | python3 | ||||
python3-autopep8 | python3-autopep8 | ||||
python3-pip | python3-pip | ||||
▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | ||||
update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | ||||
# Python library for merging nested structures | # Python library for merging nested structures | ||||
pip3 install deepmerge | pip3 install deepmerge | ||||
# For running Python test suites | # For running Python test suites | ||||
pip3 install pytest | pip3 install pytest | ||||
# An up-to-date mypy is required as a python linter | |||||
pip3 install mypy==0.780 | |||||
echo "export PATH=\"$(python3 -m site --user-base)/bin:\$PATH\"" >> ~/.bashrc | |||||
# shellcheck source=/dev/null | |||||
source ~/.bashrc | |||||
# Install pandoc. The version from buster is outdated, so get a more recent one | # Install pandoc. The version from buster is outdated, so get a more recent one | ||||
# from github. | # from github. | ||||
wget https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-1-amd64.deb | wget https://github.com/jgm/pandoc/releases/download/2.10.1/pandoc-2.10.1-1-amd64.deb | ||||
echo "4515d6fe2bf8b82765d8dfa1e1b63ccb0ff3332d60389f948672eaa37932e936 pandoc-2.10.1-1-amd64.deb" | sha256sum -c | echo "4515d6fe2bf8b82765d8dfa1e1b63ccb0ff3332d60389f948672eaa37932e936 pandoc-2.10.1-1-amd64.deb" | sha256sum -c | ||||
DEBIAN_FRONTEND=noninteractive dpkg -i pandoc-2.10.1-1-amd64.deb | DEBIAN_FRONTEND=noninteractive dpkg -i pandoc-2.10.1-1-amd64.deb | ||||
# Install npm v7.x and nodejs v15.x | # Install npm v7.x and nodejs v15.x | ||||
curl -sL https://deb.nodesource.com/setup_15.x | bash - | curl -sL https://deb.nodesource.com/setup_15.x | bash - | ||||
apt-get install -y nodejs | apt-get install -y nodejs |