Usually takes me a half a day to figure out all the dependencies post a 
new-release, so in case any other beginners like myself need a bit of 
step-by-step on getting s3ql going on a fresh Ubuntu 18 box, maybe my notes 
below will help:

Ubuntu 2018:
apt-get install psmisc
apt-get install sqlite
apt-get install libsqlite3-dev
apt-get install python3
apt-get install python3-pip
pip3 install setuptools
pip3 install --upgrade setuptools (optional)
pip3 install cryptography
apt-get install python3-defusedxml
pip3 install apsw
apt-get install python3-llfuse
apt-get install python3-dugong
apt-get install python3-pytest
pip3 install -U pytest
apt-get install python3-systemd
apt-get install python3-requests
apt-get install python3-google-auth
pip3 install google-auth-oauthlib

python3 -c 'import setuptools; print(setuptools.__version__)'
python3 -c 'import cryptography; print(cryptography.__version__)'
python3 -c 'import defusedxml; print(defusedxml.__version__)'
python3 -c 'import apsw; print(apsw.__version__)'
python3 -c 'import llfuse; print(llfuse.__version__)'
python3 -c 'import dugong; print(dugong.__version__)'
python3 -c 'import pytest; print(pytest.__version__)'
python3 -c 'import systemd; print(systemd.__version__)'
pytest --version (need above v4 for testing to work)

3.4.0 new stuff:
python3 -m pip install --upgrade trio
python3 -c 'import trio; print(systemd.__version__)'
apt-get install pkg-config
apt-get install meson
apt-get install ninja-build
wget 
https://github.com/libfuse/libfuse/releases/download/fuse-3.9.1/fuse-3.9.1.tar.xz
tar xvf fuse-3.9.1.tar.xz
cd fuse-3.9.1/
mkdir build; cd build
meson ..
ninja
python3 -m pytest test/
ninja install
pkg-config --modversion fuse3 (just to verify)
pip3 install pyfuse3
ldconfig
Download release from https://github.com/s3ql/s3ql/releases
Bunzip2, tar, cd then build:
python3 setup.py build_ext --inplace
python3 -m pytest tests/
nano s3ql-3.4.0/setup.cfg
edit "allow_hosts = None" to "allow_hosts = *"
python3 setup.py install

Good luck!

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/s3ql/648c214f-f206-4580-b292-eb574b09c307%40googlegroups.com.

Reply via email to