Add script to install dependencies on Debian/Ubuntu.
Tested with Xubuntu 20.04 and Debian testing (in today's Docker image bitnami/minideb). Update README.md.
This commit is contained in:
parent
6afcf1a26f
commit
ba2ee6d6e5
@ -95,7 +95,7 @@ You need a C++20 compatible compiler such as GCC 10.2.0 to compile ImHex. Moreov
|
|||||||
- nlohmann json
|
- nlohmann json
|
||||||
- Python3
|
- Python3
|
||||||
|
|
||||||
Find all in one dependency installation scripts for Arch Linux, Fedora and/or MSYS2 in [dist](dist).
|
Find all in one dependency installation scripts for Arch Linux, Fedora, Debian/Ubuntu and/or MSYS2 in [dist](dist).
|
||||||
|
|
||||||
After all the dependencies are installed, run the following commands to build ImHex:
|
After all the dependencies are installed, run the following commands to build ImHex:
|
||||||
|
|
||||||
|
29
dist/get_deps_debian.sh
vendored
Normal file
29
dist/get_deps_debian.sh
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
echo "As of 2020-12, Debian stable does not include g++-10, needs debian testing or unstable."
|
||||||
|
|
||||||
|
# Tested on 2020-12-09 with Docker image bitnami/minideb:unstable
|
||||||
|
|
||||||
|
# Install pkgconf (adds minimum dependencies) only if the equivalent pkf-config is not already installed.
|
||||||
|
if !which pkg-config
|
||||||
|
then
|
||||||
|
PKGCONF="pkgconf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
apt install \
|
||||||
|
cmake \
|
||||||
|
g++-10 \
|
||||||
|
${PKGCONF:-} \
|
||||||
|
nlohmann-json3-dev \
|
||||||
|
libcapstone-dev \
|
||||||
|
libmagic-dev \
|
||||||
|
libglfw3-dev \
|
||||||
|
libglm-dev \
|
||||||
|
libjsoncpp-dev \
|
||||||
|
llvm-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libstdc++-10-dev \
|
||||||
|
python3-dev
|
||||||
|
|
||||||
|
echo "Please consider this before running cmake (useful on e.g. Ubuntu 20.04):"
|
||||||
|
echo "export CXX=g++-10"
|
Loading…
Reference in New Issue
Block a user