Skip to content

Commit 0ab0b82

Browse files
committed
CentOS, Alpine Linux and Windows additions.
Changed sudo to doas for modern Alpine Linux installations. Added a note to enable crb repo for gsl-devel and install Perl FindBin if needed. Added Windows instructions copied over from SAMtools.
1 parent 2f89c1e commit 0ab0b82

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

INSTALL

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,16 +218,22 @@ Note: libcurl4-openssl-dev can be used as an alternative to libcurl4-gnutls-dev.
218218
RedHat / CentOS
219219
---------------
220220

221+
Note: To install gsl-devel, it may be necessary to enable the "crb" repository.
222+
dnf --enablerepo=crb install gsl-devel
223+
221224
sudo yum install autoconf automake make gcc perl-Data-Dumper zlib-devel bzip2 bzip2-devel xz-devel curl-devel openssl-devel gsl-devel perl-ExtUtils-Embed
222225

226+
Note: On some versions, Perl FindBin will need to be installed to make the tests work.
227+
sudo yum install perl-FindBin
228+
223229
Alpine Linux
224230
------------
225231

226232
Note: To install gsl-dev, it may be necessary to enable the "community"
227233
repository in /etc/apk/repositories.
228234

229-
sudo apk update # Ensure the package list is up to date
230-
sudo apk add autoconf automake make gcc musl-dev perl bash zlib-dev bzip2-dev xz-dev curl-dev libressl-dev gsl-dev perl-dev
235+
doas apk update # Ensure the package list is up to date
236+
doas apk add autoconf automake make gcc musl-dev perl bash zlib-dev bzip2-dev xz-dev curl-dev libressl-dev gsl-dev perl-dev
231237

232238
OpenSUSE
233239
--------
@@ -240,4 +246,23 @@ MacOS, assuming Xcode is installed:
240246
xz
241247
gsl (optional)
242248

249+
Windows MSYS2/MINGW64
250+
---------------------
251+
252+
The configure script must be used as without it the compilation will
253+
likely fail.
254+
255+
Follow MSYS2 installation instructions at
256+
https://www.msys2.org/wiki/MSYS2-installation/
257+
258+
Then relaunch to MSYS2 shell using the "MSYS2 MinGW x64" executable.
259+
Once in that environment (check $MSYSTEM equals "MINGW64") install the
260+
compilers using pacman -S and the following package list:
261+
262+
base-devel mingw-w64-x86_64-toolchain
263+
mingw-w64-x86_64-libdeflate mingw-w64-x86_64-zlib mingw-w64-x86_64-bzip2
264+
mingw-w64-x86_64-xz mingw-w64-x86_64-curl mingw-w64-x86_64-autotools
265+
mingw-w64-x86_64-tools-git
266+
267+
(The last is only needed for building libraries compatible with MSVC.)
243268

0 commit comments

Comments
 (0)