Skip to content

Instantly share code, notes, and snippets.

@jacob-pro
Last active July 7, 2021 09:31
Show Gist options
  • Save jacob-pro/1a386dacc995e3ff7d7a4e10cd96e26b to your computer and use it in GitHub Desktop.
Save jacob-pro/1a386dacc995e3ff7d7a4e10cd96e26b to your computer and use it in GitHub Desktop.
Build and Install Seafile Client on CentOS 8 / Oracle Linux 8
yum groupinstall "Development tools"
yum install epel-release dnf-plugins-core
### Centos 8
sudo dnf config-manager --set-enabled PowerTools
### Oracle Linux 8
sudo dnf config-manager --set-enabled ol8_codeready_builder
# https://community.oracle.com/tech/apps-infra/discussion/4314646/powertools-and-pgadmin-4-on-oracle-linux-8
yum install \
libuuid-devel \
libcurl-devel \
vala \
sqlite-devel \
jansson-devel \
glib2-devel \
openssl-devel \
qt5-qtbase-devel \
qt5-linguist
git clone https://github.com/haiwen/libsearpc.git
cd libsearpc
./autogen.sh; ./configure; make; make install
export PKG_CONFIG_PATH=/home/jacob/seafile-client/libsearpc/:$PKG_CONFIG_PATH
git clone https://github.com/haiwen/seafile.git
cd seafile
./autogen.sh; ./configure; make; make install
export PKG_CONFIG_PATH=/home/jacob/seafile-client/seafile/lib/:$PKG_CONFIG_PATH
cd ../
cmake .
make
make install
echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf
sudo ldconfig
# To access the settings install:
https://github.com/ubuntu/gnome-shell-extension-appindicator
# Restart Gnome (logout)
# Run at startup:
sudo yum install gnome-tweak-tool
# Tweaks -> Startup Applications -> Add Seafile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment