In order to run properly on FreeBSD OS we need to manually install the dependencies and make some minor additional changes.
- Create an empty file at the location /etc/os-release so the 'cat' command won't fail.
sudo touch /etc/os-release
2) symlink 'python2' to 'python', assuming that is the path to your python2 binary. You can verify with "which python2"
sudo ln -s /usr/local/bin/python2 /usr/local/bin/python
3) Install Python PIP
curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | sudo python
4) Install the necessary Python PIP packages
sudo pip install awscli
sudo pip install certifi
sudo pip install colorama
sudo pip install python-dateutil
5) Change the shell of the user you are using (freebsd in this example) to /bin/sh instead of /bin/tcsh
chsh -s /bin/sh freebsd
6) For file backups we need to use GNU Tar instead of BSD Tar and symlink it.
sudo pkg install gtar
sudo ln -sf /usr/local/bin/gtar /usr/bin/tar
We hope you find this helpful! If you need any further assistance, please contact us and we'll be more than glad to help you out.