JULEA's dependencies can either be installed using your operating system's package manage or with JULEA's install-dependencies.sh
script.
The install-dependencies.sh
script installs all dependencies into the dependencies
subdirectory using Spack.
$ ./scripts/install-dependencies.sh
After JULEA's environment has been loaded, the spack
command can also be used to install and load additional dependencies:
$ . scripts/environment.sh
$ spack install py-gcovr
$ spack load py-gcovr
Alternatively, you can install the dependencies manually. Most of them should be available within the repositories of Linux distributions.
-
Meson and Ninja
- Debian:
apt install meson ninja-build
- Fedora:
dnf install meson ninja-build
- Arch Linux:
pacman -S meson ninja
- Debian:
-
GLib
- Debian:
apt install libglib2.0-dev
- Fedora:
dnf install glib2-devel
- Arch Linux:
pacman -S glib2
- Debian:
-
libbson
- Debian:
apt install libbson-dev
- Fedora:
dnf install libbson-devel
- Arch Linux:
pacman -S libbson
- Debian:
-
libfabric
- Debian:
apt install libfabric-dev
- Fedora:
dnf install libfabric-devel
- Arch Linux:
pacman -S libfabric
- Debian:
-
FUSE
- Debian:
apt install libfuse3-dev
- Fedora:
dnf install fuse3-devel
- Arch Linux:
pacman -S fuse3
- Debian:
-
GDBM
- Debian:
apt install libgdbm-dev
- Fedora:
dnf install gdbm-devel
- Arch Linux:
pacman -S gdbm
- Debian:
-
LevelDB
- Debian:
apt install libleveldb-dev
- Fedora:
dnf install leveldb-devel
- Arch Linux:
pacman -S leveldb
- Debian:
-
libmongoc
- Debian:
apt install libmongoc-dev
- Fedora:
dnf install mongo-c-driver-devel
- Arch Linux:
pacman -S libmongoc
- Debian:
-
librados
- Debian:
apt install librados-dev
- Fedora:
dnf install librados-devel
- Arch Linux:
pacman -S ceph-libs
- Debian:
-
LMDB
- Debian:
apt install liblmdb-dev
- Fedora:
dnf install lmdb-devel
- Arch Linux:
pacman -S lmdb
- Debian:
-
MariaDB
- Debian:
apt install libmariadb-dev
- Fedora:
dnf install mariadb-connector-c-devel
- Arch Linux:
pacman -S mariadb-libs
- Debian:
-
RocksDB
- Debian:
apt install librocksdb-dev
- Fedora:
dnf install rocksdb-devel
- Arch Linux:
pacman -S rocksdb
- Debian:
-
SQLite
- Debian:
apt install libsqlite3-dev
- Fedora:
dnf install sqlite-devel
- Arch Linux:
pacman -S sqlite
- Debian:
Several backends require corresponding servers to be usable. For instance, the MongoDB key-value backend requires a MongoDB server. An easy way to install and run these servers is to use containers.
Podman can be used to run containers without root
privileges.
Alternatively, Docker can be used.
$ podman run --publish 27017:27017 docker.io/library/mongo
$ podman run --publish 3306:3306 \
--env MARIADB_RANDOM_ROOT_PASSWORD=yes \
--env MARIADB_DATABASE=julea_db \
--env MARIADB_USER=julea_user \
--env MARIADB_PASSWORD=julea_pw \
docker.io/library/mariadb
$ podman run --publish 3306:3306 \
--env MYSQL_RANDOM_ROOT_PASSWORD=yes \
--env MYSQL_DATABASE=julea_db \
--env MYSQL_USER=julea_user \
--env MYSQL_PASSWORD=julea_pw \
docker.io/library/mysql