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. TCP的连接(三次握手)和释放(四次挥手)

    1 http都设置哪些header? http协议规定:一个完整的客户端发送给服务端的HTTP请求包括: (1)请求行:包括了请求方法.请求资源路径.HTTP协议版本,eg:GET/Server/im ...

  2. Android Eclipse 开发环境搭建

    因为开发工具版本 搭建 环境配置经常出现问题 再次用一篇随笔来做下记录 1 需要的工具jdk-6u45-windows-x64 //http://www.oracle.com/technetwork/ ...

  3. jquery多组图片层次切换的焦点图

    效果:

  4. MongoDB入门(6)- 我们自己封装的MongoDB-C#版本

    Wisdombud.Mongo 包含内容 MongoDB.Bson.dll MongoDB.Bson.xml MongoDB.Driver.dll MongoDB.Driver.xml Wisdomb ...

  5. jquery 遮罩层显示img

    如果点击iframe中的image显示整个页面的遮罩层,可参考如下: http://blog.csdn.net/shiaijuan1/article/details/70160714 具体思路就是,顶 ...

  6. UITableView的代理方法

    一.点击某个cell调用 /** * 点击了第几行调用 */ -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NS ...

  7. redis启动脚本

    #!/bin/sh # # Simple Redis init.d script conceived to work on Linux systems # as it does use of the ...

  8. EditText中inputType详解

    <EditText Android:layout_width="fill_parent" android:layout_height="wrap_content&q ...

  9. perl HTML::LinkExtor模块(1)

    use LWP::Simple; use HTML::LinkExtor; $html = get("http://www.baidu.com"); $link = HTML::L ...

  10. 任务调度框架kunka

    kunka kunka是一个任务调度框架.用户只需要在Task接口中实现自己要执行的功能,并且选择合适的执行器,放入TaskManager中,就可以了完成整个任务了. 实现细节 整个任务信息存放在内存 ...