Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.71 KB

README.md

File metadata and controls

62 lines (45 loc) · 1.71 KB

External dependencies for the building and installation of iRODS

Currently tested on:

  • Ubuntu 18
  • Ubuntu 20
  • CentOS 7
  • AlmaLinux 8
  • Rocky Linux 8
  • Debian 11

Assumptions

This repository is expected to build in a VM or container environment that is isolated from other software or build environments.

The automated scripts run commands as sudo and update system libraries and compilers, etc.

In a new container, run the following:

Ubuntu 18, Ubuntu 20, and Debian 11

apt-get update -y && apt-get install -y sudo git python3 python3-distro
./install_prerequisites.py

# The following lines apply to Ubuntu 20 only!!!
update-alternatives --install /usr/local/bin/gcc gcc /usr/bin/gcc-10 1
update-alternatives --install /usr/local/bin/g++ g++ /usr/bin/g++-10 1
hash -r

make # or "make server" for packages specific to building the iRODS server.

CentOS 7

yum update -y && yum install -y sudo git python3 centos-release-scl
yum install -y devtoolset-10-gcc devtoolset-10-gcc-c++

# Installing the prerequistes must be done before enabling the GCC compiler
# environment.
python3 -m venv build_env
source build_env/bin/activate
python -m pip install distro
./install_prerequisites.py

# Enable the GCC 10 compiler tools.
scl enable devtoolset-10 bash

# Although it appears that the python virtual environment has been deactivated,
# trust and believe it is still active.
make # or "make server" for packages specific to building the iRODS server.

AlmaLinux 8 and Rocky Linux 8

dnf update -y && dnf install -y sudo git python3 python3-distro gcc-toolset-11
./install_prerequisites.py
scl enable gcc-toolset-11 bash
make # or "make server" for packages specific to building the iRODS server.