From MdsWiki
You can now install MDSplus on the Alpine Linux platform.
You can use the following steps to install MDSplus:
Add MDSplus apk repository
Currently we have MDSplus packages built on Alpine Linux 3.3 but they work fine until version 3.6 of the operating system. To configure the repository run the appropriate command for your Alpine Linux system (for stable release replace alpha with stable):
echo "http://www.mdsplus.org/dist/alpine/3.3/alpha" >> /etc/apk/repositories
echo "http://www.mdsplus.org/dist/alpine/3.4/alpha" >> /etc/apk/repositories
echo "http://www.mdsplus.org/dist/alpine/3.5/alpha" >> /etc/apk/repositories
echo "http://www.mdsplus.org/dist/alpine/3.6/alpha" >> /etc/apk/repositories
You will need to add a public key for this repository by downloading it from mdsplus.org:
apk add wget && sh -c "cd /etc/apk/keys; wget http://www.mdsplus.org/dist/mdsplus@mdsplus.org-589e05b6.rsa.pub"
HINT: More recent versions of alpine (>3.6) will run but require a little patch. Please add repository for v3.6 main together with the mdsplus repository like so:
echo "https://uk.alpinelinux.org/alpine/v3.6/main" >> /etc/apk/repositories echo "http://www.mdsplus.org/dist/alpine/3.6/alpha" >> /etc/apk/repositories
Install MDSplus
After configuring the repository you can then simply issue the command:
apk add mdsplus-alpha
If you want to install more of the MDSplus packages you can do:
apk search mdsplus
to get a complete list of packages.
MDSplus configuration
Much of the configuration is done automatically at time of install but there might be some scripts then reference bash so you should add bash:
apk add bash
If you want to configure an mdsip service you will need to do the following steps:
cp /usr/local/mdsplus/etc/mdsip.hosts /etc # edit the mdsip.hosts file to account mapping echo "mdsip 8000/tcp" >> /etc/services echo "mdsip stream tcp nowait root /usr/local/mdsplus/bin/mdsipd mdsip mdsip /var/log/mdsplus/mdsipd" >> /etc/inetd.conf rc-update add inetd boot