Installation and Setup¶
Install Silas¶
Linux¶
On Debian, Silas works right out of the zip. On other distributions, you may need to install the TBB library. For instance, on Ubuntu you may install it using the following commands:
sudo apt update
sudo apt install libtbb-dev
If the package libtbb-dev cannot be located, you can add universe in your sources.list using the following command:
sudo sh -c 'echo "deb http://archive.ubuntu.com/ubuntu/ bionic universe" >> /etc/apt/sources.list'
If you wish to run Silas from any directory, you can include the executable directory in “PATH”.
If you encounter an error like the following:
./silas: error while loading shared libraries: libtbb.so.2: cannot open shared object file: No such file or directory
You can try installing a newer version of libtbb as follows:
sudo apt install libtbb2
Mac¶
On a Mac, you can install the TBB library using Homebrew. You can install Homebrew using the commands below:
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Once Homebrew is installed, you can install the TBB library using the following command:
brew install tbb
Then Silas should work. Note that you may need to grant Silas the access the run in System Preferences -> Security & privacy -> General tab.
Windows¶
On Windows, you can run Silas in the Linux Subsystem. You can refer to Microsoft’s website about how to install and run the Linux Subssytem on Windows.