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. Linux网络监控工具nethogs

    Linux网络监控工具nethogs 标签: 监控工具linux 2015-12-17 22:06 448人阅读 评论(0) 收藏 举报  分类: linux(40)  版权声明:本文为博主原创文章, ...

  2. js实现游戏转盘抽奖

    <!DOCTYPE html> <html> <head> <title>js抽奖</title> <meta charset=&qu ...

  3. 一个JAVA题引发的思考

    转载自:http://www.cnblogs.com/heshan664754022/archive/2013/03/24/2979495.html 十年半山 今天在论坛闲逛的时候发现了一个很有趣的题 ...

  4. LightOJ 1419 – Necklace Polya计数+费马小定理求逆元

    题意:给你n个珠子可以染成k种颜色,旋转后相同的视为一种,问共有几种情况 思路:开始按照一般的排列组合做发现情况太多且要太多运算,查了下发现此题是组合中Polya定理模板题- 学的浅只能大致一说公式S ...

  5. 使用pipenv管理python项目

    入门 首先使用pip安装Pipenv及其依赖项, pip install pipenv 1 然后将目录更改为包含你的Python项目的文件夹,并启动Pipenv, cd my_project pipe ...

  6. sublime text 快速编码技巧 GIT图

    网上到处都云云sublime有多好.用了一年多的时间,受益匪浅,减少了很多重复性的劳动. 特别是: 1.灵活强大的多行编辑功能: 2.快速查找文件 ctrl + p; 3.正则查找 + 多行编辑; 4 ...

  7. u3d局域网游戏网络(c# socket select 模型)

    之前写了一篇. 发完之后第二天实际应用到游戏之后还是发现了一些小毛病. 比如网络模块有重复使用(多对象)的情况.所以将静态类该成了普通类. 比如安卓下会有些异常出现导致游戏逻辑不正常.所以网络相关的函 ...

  8. MySQL 基于 GTID 主从架构添加新 Slave 的过程

    内容全部来自: How to create/restore a slave using GTID replication in MySQL 5.6 需求说明 需求: 对于已经存在的 MySQL 主从架 ...

  9. 老生常谈-Activity(山东数漫江湖)

    对于activity的七个声生命周期回调,总是被大家翻来覆去的说,甚至说的都有些厌烦了,这部分知识虽然基础但也很重要,谁都不想在面试的时候只说出个一知半解,下面的分析是对阅读<安卓开发艺术探索& ...

  10. bzoj 3028 母函数

    首先我们可以求出来所有食物的母函数: 汉堡:f(x)=1/(1-x^2). 可乐:f(x)=1+x. 鸡腿:f(x)=1+x+x^2. 蜜桃多:f(x)=x/(1-x^2). 鸡块:f(x)=1/(1 ...