Build requirements: Distro package lists

Hi,
Would appreciate any help on the following:

Context: Writing the julia-install script to build (and install) versions of Julia (>= v1.0.0)

I have the build test scaffolding in place to allow builds of as many distributions as we know working package lists.

Currently Ubuntu 16.04 and 18.04 build (DigitalOcean base images) with the package requirements:

  • sudo apt install build-essential libatomic1 python gfortran perl wget m4 cmake pkg-config

I’d like to add and run confirmation builds of other distributions, but don’t have the resources to trial and error the list of packages different distributions require.

The assumed starting point is a cloud-style flavor of the distribution base install.
If it matters please nominate the base image source along with the known-to-work list of packages and the install utility.

Possible distributions currently identifiable:

Amazon Linux 2
CentOS 6

  • sudo yum groupinstall "Development Tools"
  • sudo yum install cmake gcc-gfortran libatomic m4

CentOS 7

  • sudo yum groupinstall "Development Tools"
  • sudo yum install cmake gcc-gfortran libatomic m4

CentOS 8

  • sudo yum groupinstall "Development Tools"
  • sudo yum install cmake gcc-gfortran libatomic m4 pkgconf-pkg-config

CoreOS
Debian 8

  • sudo dpkg install cmake build-essential gfortran libatomic1 m4 pkg-config

Debian 9

  • sudo dpkg install cmake build-essential gfortran libatomic1 m4 pkg-config

Debian 10

  • sudo dpkg install cmake build-essential gfortran libatomic1 m4 pkg-config

FreeBSD 11

  • sudo pkgin install cmake linux-c7-libgfortran libatomic_ops m4

FreeBSD 12

  • sudo pkgin install cmake linux-c7-libgfortran libatomic_ops m4

NetBSD 7

  • sudo pkgin install cmake <gfortran> libatomic_ops m4 pkg-config

NetBSD 8

  • sudo pkgin install cmake <gfortran> libatomic_ops m4 pkg-config

Oracle Linux 6
Oracle Linux 7
Oracle Linux 8
SLES 11

  • sudo zypper install --type pattern devel_basis

SLES 12

  • sudo zypper install --type pattern devel_basis

SLES 15

  • sudo SUSEConnect -p sle-module-development-tools/15/x86_64
  • sudo zypper install cmake <gfortran> libatomic1 m4 pkg-config

RHEL 6

  • sudo yum groupinstall "Development Tools"
  • sudo rpm install cmake gcc-gfortran libatomic1 m4

RHEL 7

  • sudo yum groupinstall "Development Tools"
  • sudo rpm install cmake gcc-gfortran libatomic1 m4

RHEL 8

  • sudo yum groupinstall "Development Tools"
  • sudo rpm install cmake gcc-gfortran libatomic1 m4 pkgconf-pkg-config

Ubuntu 14.04

  • sudo apt install cmake build-essential gfortran libatomic1 m4 perl pkg-config python wget

Ubuntu 16.04

  • sudo apt install cmake build-essential gfortran libatomic1 m4 perl pkg-config python wget

Ubuntu 18.04

  • sudo apt install cmake build-essential gfortran libatomic1 m4 perl pkg-config python wget

Look forward to any input and information you can provide.

Kind regards
Mark

1 Like