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. Codeforces Round #340 (Div. 2) A

    A. Elephant time limit per test 1 second memory limit per test 256 megabytes input standard input ou ...

  2. Coconuts HDU - 5925 二维离散化 自闭了

    TanBig, a friend of Mr. Frog, likes eating very much, so he always has dreams about eating. One day, ...

  3. 注册google账号时出现手机号的问题

    注册谷歌账号时出现此电话号码无法用于进行验证 这主要是86和手机号之间有一个空格造成的,把这个空格删除就可以了

  4. SDUT 3930 线段树

    皮卡丘的梦想2 Time Limit: 1000MS Memory Limit: 65536KB Submit Statistic Problem Description 一天,一只住在 501 实验 ...

  5. Iterator与ListIterator的区别

    Iterator与ListIterator 相同点:(1)两者都是fail-fast机制,都是作为内部类实现的. 区别:二者的区别主要是功能上的: (1)Iterator实现了接口Iterator,属 ...

  6. [LeetCode][Facebook面试题] 通配符匹配和正则表达式匹配,题 Wildcard Matching

    开篇 通常的匹配分为两类,一种是正则表达式匹配,pattern包含一些关键字,比如'*'的用法是紧跟在pattern的某个字符后,表示这个字符可以出现任意多次(包括0次). 另一种是通配符匹配,我们在 ...

  7. [LeetCode] 10. Regular Expression Matching ☆☆☆☆☆

    Implement regular expression matching with support for '.' and '*'. '.' Matches any single character ...

  8. jquery获取textarea内容为空的问题

    使用 定义了一个textarea,在使用jquery的方法获取文本内容的时候总是为空. var content = $("#content").val(); 后来测试发现,id不能 ...

  9. Merge Query

    1. Oracle: "MERGE into MHGROUP.proj_access m using dual on " + "(PRJ_ID = '" + W ...

  10. {转}用ADMM求解大型机器学习问题

    [本文链接:http://www.cnblogs.com/breezedeus/p/3496819.html] 从等式约束的最小化问题说起:                               ...