Rudiments is supported on a variety of Linux/Unix systems and Windows. Building Rudiments on these platforms requires the installation of a compiler toolchain and other bits of optional software. Instructions follow for many supported platforms.
LinuxRudiments is supported on a variety of Linux platforms including Fedora, CentOS, OpenSuSE, Debian, and Ubuntu.
FedoraCentOSTo install all of the prerequisites at once, execute the following command, as root:
dnf -y install gcc-c++ make openssl-devel krb5-devel pcre-devel libcurl-develThe gcc-c++ and make packages are required, but the rest are optional and may be omitted as appropriate. For example, if you don't need PCRE support, then you can omit the pcre-devel package.
Note that on older Fedora platforms, the yum package manager is used instead of the dnf package manager. The syntax for the two is the same though, just replace dnf with yum in the command above.
OpenSuSETo install all of the prerequisites at once, execute the following command, as root:
yuf -y install gcc-c++ make openssl-devel krb5-devel pcre-devel libcurl-develThe gcc-c++ and make packages are required, but the rest are optional and may be omitted as appropriate. For example, if you don't need PCRE support, then you can omit the pcre-devel package.
UbuntuTo install all of the prerequisites at once, execute the following command, as root:
zypper install gcc-c++ make libopenssl-devel krb5-devel pcre-devel libcurl-develThe gcc-c++ and make packages are required, but the rest are optional and may be omitted as appropriate. For example, if you don't need PCRE support, then you can omit the pcre-devel package.
DebianTo install all of the prerequisites at once, execute the following command, as root:
apt-get install g++ make libssl-dev libkrb5-dev libpcre3-dev libcurl4-openssl-devThe g++ and make packages are required, but the rest are optional and may be omitted as appropriate. For example, if you don't need PCRE support, then you can omit the libpcre3-dev package.
UnixTo install all of the prerequisites at once, execute the following command, as root:
apt-get install g++ make libssl-dev libkrb5-dev libpcre3-dev libcurl4-openssl-devThe g++ and make packages are required, but the rest are optional and may be omitted as appropriate. For example, if you don't need PCRE support, then you can omit the libpcre3-dev package.
Rudiments is supported on a variety of Unix platforms including FreeBSD, NetBSD, OpenBSD, and Minix.
FreeBSDNetBSDTo install all of the prerequisites at once, execute the following command, as root:
pkg install clang gmake pkgconf openssl pcre curlThe clang and gmake packages are required, but the rest are optional and may be omitted as appropriate. For example, if you don't need PCRE support, then you can omit the pcre package.
Note that on older FreeBSD platforms:
- The pkgtools package manager is used instead of the pkg package manager and the syntax for the two is the different. Replace "pkg install" with "pkg_add -r " in the command above.
- Clang is not available, so clang must be replaced with g++.
Kerberos/GSSAPI is installed as part of the base installation.
OpenBSDTo install all of the prerequisites at once, execute the following command, as root:
pkgin install g++ gmake openssl pcre curlThe g++ and gmake packages are required, but the rest are optional and may be omitted as appropriate. For example, if you don't need PCRE support, then you can omit the pcre package.
Kerberos/GSSAPI is installed as part of the base installation.
MinixTo install all of the prerequisites at once, add a line to /etc/pkg.conf like:
installpath = ftp://ftp.usa.openbsd.org/pub/OpenBSD/5.8/packages/amd64/(replacing 5.8 with the version of OpenBSD that you are using and replacing amd64 with the architecture given by uname -m)
... and execute the following command, as root:
pkg_add -r g++ gmake heimdal pcre curlThe g++ and gmake packages are required, but the rest are optional and may be omitted as appropriate. For example, if you don't need PCRE support, then you can omit the pcre package.
OpenSSL is installed as part of the base installation.
WindowsTo install all of the prerequisites at once, execute the following command, as root:
pkgin install clang binutils gmake openssl heimdal pcre curlThe clang, binutils, and gmake packages are required, but the rest are optional and may be omitted as appropriate. For example, if you don't need PCRE support, then you can omit the pcre packages.
Rudiments is supported on a variety of Windows platforms. Building Rudiments on these platforms just requires the installation of a compiler toolchain.
Rudiments can be built using the Microsoft Visual Studio and Visual Studio Express toolchains. Visual Studio Express can be downloaded for free from Microsoft and the installer is intuitive.