1.配置yum源

[root@localhost yum.repos.d]# uname -r
3.10.0-693.el7.x86_64

[root@localhost yum.repos.d]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

wget -O /etc/yum.repos.d/copr-pkerling-seafile.repo https://copr.fedorainfracloud.org/coprs/pkerling/seafile/repo/epel-7/pkerling-seafile-epel-7.repo

2.直接安装

yum install seafile

报错了,系统已安装qt5的版本高了,来源是base源,但是我的本地源local(安装的光盘)有符合版本要求的QT5
Error: Package: qt5-qtdeclarative-5.6.2-1.el7.x86_64 (local)
Requires: qt5-qtbase(x86-64) = 5.6.2
Installed: qt5-qtbase-5.9.2-3.el7.x86_64 (@base)
qt5-qtbase(x86-64) = 5.9.2-3.el7
Available: qt5-qtbase-5.6.2-1.el7.x86_64 (local)
qt5-qtbase(x86-64) = 5.6.2-1.el7

3.把base源移入备份文件夹,刷新缓存

mv CentOS-Base.repo bak20180514/

yum clean all

yum repolist

4.删除高版本的QT5

rpm -e qt5-qtbase-5.9.2-3.el7.x86_64

一堆依赖包报错,实践证明了用rpm删不行,只好用yum删
error: Failed dependencies:
libQt5Core.so.5()(64bit) is needed by (installed) qt5-qtbase-gui-5.9.2-3.el7.x86_64
libQt5Core.so.5()(64bit) is needed by (installed) qt5-qtxmlpatterns-5.9.2-1.el7.x86_64
libQt5Core.so.5(Qt_5)(64bit) is needed by (installed) qt5-qtbase-gui-5.9.2-3.el7.x86_64
libQt5Core.so.5(Qt_5)(64bit) is needed by (installed) qt5-qtxmlpatterns-5.9.2-1.el7.x86_64
libQt5Core.so.5(Qt_5.9)(64bit) is needed by (installed) qt5-qtbase-gui-5.9.2-3.el7.x86_64
libQt5Core.so.5(Qt_5.9)(64bit) is needed by (installed) qt5-qtxmlpatterns-5.9.2-1.el7.x86_64
libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit) is needed by (installed) qt5-qtbase-gui-5.9.2-3.el7.x86_64
libQt5Core.so.5(Qt_5_PRIVATE_API)(64bit) is needed by (installed) qt5-qtxmlpatterns-5.9.2-1.el7.x86_64
libQt5DBus.so.5()(64bit) is needed by (installed) qt5-qtbase-gui-5.9.2-3.el7.x86_64
libQt5DBus.so.5(Qt_5)(64bit) is needed by (installed) qt5-qtbase-gui-5.9.2-3.el7.x86_64
libQt5EglFSDeviceIntegration.so.5()(64bit) is needed by (installed) qt5-qtbase-gui-5.9.2-3.el7.x86_64
libQt5Network.so.5()(64bit) is needed by (installed) qt5-qtbase-gui-5.9.2-3.el7.x86_64
libQt5Network.so.5()(64bit) is needed by (installed) qt5-qtxmlpatterns-5.9.2-1.el7.x86_64
libQt5Network.so.5(Qt_5)(64bit) is needed by (installed) qt5-qtbase-gui-5.9.2-3.el7.x86_64
libQt5Network.so.5(Qt_5)(64bit) is needed by (installed) qt5-qtxmlpatterns-5.9.2-1.el7.x86_64
qt5-qtbase = 5.9.2-3.el7 is needed by (installed) qt5-qtbase-common-5.9.2-3.el7.noarch
qt5-qtbase(x86-64) = 5.9.2-3.el7 is needed by (installed) qt5-qtbase-gui-5.9.2-3.el7.x86_64
qt5-qtbase(x86-64) = 5.9.2 is needed by (installed) qt5-qtxmlpatterns-5.9.2-1.el7.x86_64

yum删除QT5

yum -y remove qt5-qtbase

rpm -ql qt5-qtbase

rpm -qa qt5-qtbase

5.安装5.6.2.版本的QT5,最好先安装epel-release

yum -y install epel-release

yum clean all

yum repolist

yum list qt5-qtbase-5.6.2-1.el7.x86_64

yum -y install qt5-qtbase.x86_64

yum install seafile-client-qt(安装图形界面,测试的时候命令行界面用不了)

centos7.5安装seafile的更多相关文章

  1. Centos7下安装Seafile实现私有网盘

    Seafile是一个开源.专业.可靠的云存储平台:解决文件集中存储.共享和跨平台访问等问题,由北京海文互知网络有限公司开发,发布于2012年10月:除了一般网盘所提供的云存储以及共享功能外,Seafi ...

  2. CentOS上安装seafile

    一.安装python2.7.14(CentOS7上python默认版本是Python 2.7.5 ,不需要安装)1.安装依赖包[root@web01 ~]# yum -y install zlib z ...

  3. 在centos7上安装Jenkins

    在centos7上安装Jenkins 安装 添加yum repos,然后安装 sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins ...

  4. CentOS7 Jenkins安装

    CentOS7 Jenkins安装 CentOS7 Jenkins安装 Download 从Jenkins下载apache-tomcat-8.0.18.tar.gz Install 安装 上传RPM文 ...

  5. 在 CentOS7 上安装 zookeeper-3.4.9 服务

    在 CentOS7 上安装 zookeeper-3.4.9 服务 1.创建 /usr/local/services/zookeeper 文件夹: mkdir -p /usr/local/service ...

  6. 在 CentOS7 上安装 MongoDB

    在 CentOS7 上安装 MongoDB 1 通过 SecureCRT 连接至 CentOS7 服务器: 2 进入到 /usr/local/ 目录: cd /usr/local 3 在当前目录下创建 ...

  7. 在 CentOS7 上安装 MySQL5.7

    在 CentOS7 上安装 MySQL5.7 1 通过 SecureCRT 连接到阿里云 CentOS7 服务器: 2 进入到目录 /usr/local/ 中: cd /usr/local/ 3 创建 ...

  8. 在 CentOS7 上安装 Tomcat9

    在 CentOS7 上安装 Tomcat9 1 通过 SecureCRT 连接到阿里云 CentOS7 服务器: 2 进入到目录 /usr/local/ 中: cd /usr/local/ 3 创建目 ...

  9. 在CentOS7上安装JDK1.8

    在CentOS7上安装JDK1.8 1 通过 SecureCRT 连接到阿里云 CentOS7 服务器: 2 进入到目录 /usr/local/ 中: cd /usr/local/ 3 创建目录 to ...

随机推荐

  1. LoaderManager与CursorLoader用法

    一.基本概念 1.LoaderManager LoaderManager用来负责管理与Activity或者Fragment联系起来的一个或多个Loaders对象. 每个Activity或者Fragme ...

  2. DOM动态操纵控件案例

    点击登陆显示登陆框 <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head ...

  3. 手脱ACProtect V1.4X(有Stolen Code)

    1.载入PEID ACProtect V1.4X -> risco 首先需要说明的是,这个壳被偷取的代码非常多,如果去找的话会比较麻烦,所以我们换一种另类的方法,不脱壳也可以使用资源修改器对程序 ...

  4. iOS 隐藏/显示导航栏

    一.隐藏导航栏 [self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBa ...

  5. 【BZOJ1272】Gate Of Babylon [Lucas][组合数][逆元]

    Gate Of Babylon Time Limit: 10 Sec  Memory Limit: 162 MB[Submit][Status][Discuss] Description Input ...

  6. java map 转 json 自编封装

    1.自编封装代码: import com.alibaba.fastjson.JSON; import java.util.*; public class jsonConversion { privat ...

  7. .net JsonHelper json帮助类

    using Newtonsoft.Json; using System.Runtime.Serialization.Json; using System.Text; public class Json ...

  8. IOException while loading persisted sessions:

    严重: IOException while loading persisted sessions: java.io.EOFException java.io.EOFException at java. ...

  9. Unix/Linux Command Reference

  10. python基础===getattr()函数使用方法

    getattr(object, name[,default]) 获取对象object的属性或者方法,如果存在打印出来,如果不存在,打印出默认值,默认值可选.需要注意的是,如果是返回的对象的方法,返回的 ...