Install Silkaj with Pip
You have to use a shell on GNU/Linux or a command tool (cmd.exe
) on Windows.
GNU/Linux
The system must use UTF-8 locales…
Install libsodium
sudo apt install libsodium23 # Debian Buster
sudo apt install libsodium18 # Debian Stretch
sudo dnf install libsodium # Fedora
Install dependencies before installing
sudo apt install python3-pip python3-dev python3-wheel libssl-dev
On Ubuntu (14.04 and 16.04) and Debian 8, you need this package too:
sudo apt install libffi-dev
Raspbian and Linux Mint are reported to require the installation of this package too:
sudo apt install python3-dev
PATH
Completing After intallation, if you get a bash: silkaj: command not found
error, you should add ~/.local/bin
to your PATH
:
echo "export PATH=$PATH:$HOME/.local/bin" >> $HOME/.bashrc
source $HOME/.bashrc
macOS
To install Python, run the following command:
brew install python3
pip3
will automatically be installed with python3
installation.
Then, install Silkaj with:
pip3 install silkaj --user
Windows
Administrator rights
Please note that the administrator rights might be mandatory for some of these operations.
PATH
variable
The The main issue on Windows is about finding where are the requested files.
Python must be installed (version 3.5 minimum). For instance https://sourceforge.net/projects/winpython/
You can test that Python is available by opening a command tool (cmd.exe) and running:
C:\>python --version
Python 3.6.7
When installing Python, take care to specify the good folder (for instance: C:\WPy-3670
)