Closed roccia closed 3 years ago
Hey @roccia, thank you for your interest!
Yes, Themis works on Alpine Linux.
However, at the moment Cossack Labs does not build packages for Alpine Linux so you will need to compile Themis from source:
apk add git # git to pull the source
apk add bash make gcc musl-dev # build system dependencies
apk add openssl openssl-dev # Themis dependencies
# Pull source code from GitHub:
git clone https://github.com/cossacklabs/themis
cd themis
make # build
make test # run test suite
make install # install to /usr/local
This builds and installs Themis Core libraries which are necessary to write C programs that use Themis. These libraries are also required for high-level language wrappers to work if you want to use them, but those are installed separately, via language-specific package managers.
Alpine Linux is not an officially fully supported platform, thus there are no official packages, no specific documentation for Alpine, and we don't do much testing there. However, it more or less “just works”.
Thank you @ilammy!
Yes, unfortunately right now we don't build ready-to-use binaries for Alpine. After building and installing Themis Core (using steps @ilammy described above), you might need to install Themis language wrapper (Themis for python from pip, or for nodejs from npm, etc). Which languages do you plan to use?
thank you @ilammy @vixentael I'm using golang, so I just need install gothemis with go get right?
First, install Themis Core on Alpine.
Then, install Themis Go using go get
.
Here are the docs: https://docs.cossacklabs.com/themis/languages/go/installation/
Got it Thank you
It seems themis installation only supprot debain , ubunut, I'm wondering if it works on alpine linux?