Last active
July 7, 2021 09:31
-
-
Save jacob-pro/1a386dacc995e3ff7d7a4e10cd96e26b to your computer and use it in GitHub Desktop.
Build and Install Seafile Client on CentOS 8 / Oracle Linux 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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