我想用三种不同的方法将claws-mail安装到我的centos7中,但都失败了。
方法一:直接安装
[root@localhost ~]# yum install claws-email
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* epel: ftp.cuhk.edu.hk
* extras: centos.ustc.edu.cn
* updates: mirrors.pubyun.com
No package claws-email available.
方法2:从rpm包安装。我从官网下载了claws-mail-3.12.0-1.fc24.x86_64.rpm。
[root@localhost ~]# rpm -ivh /root/Downloads/claws-mail-3.12.0-1.fc24.x86_64.rpm
warning: /root/Downloads/claws-mail-3.12.0-1.fc24.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 81b46521: NOKEY
error: Failed dependencies:
libcompface.so.1()(64bit) is needed by claws-mail-3.12.0-1.fc24.x86_64
libetpan.so.17()(64bit) is needed by claws-mail-3.12.0-1.fc24.x86_64
libgnutls.so.30()(64bit) is needed by claws-mail-3.12.0-1.fc24.x86_64
libgnutls.so.30(GNUTLS_3_4)(64bit) is needed by claws-mail-3.12.0-1.fc24.x86_64
liblockfile.so.1()(64bit) is needed by claws-mail-3.12.0-1.fc24.x86_64
libpisock.so.9()(64bit) is needed by claws-mail-3.12.0-1.fc24.x86_64
我想先安装依赖的包。
[root@localhost ~]# yum install -y libcompface.so.1
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* epel: ftp.cuhk.edu.hk
* extras: centos.ustc.edu.cn
* updates: mirrors.pubyun.com
No package libcompface.so.1 available.
Error: Nothing to do
[root@localhost ~]# yum install -y libcompface.so
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* epel: ftp.cuhk.edu.hk
* extras: centos.ustc.edu.cn
* updates: mirrors.pubyun.com
No package libcompface.so available.
Error: Nothing to do
[root@localhost ~]# yum install -y libcompface
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* epel: ftp.cuhk.edu.hk
* extras: centos.ustc.edu.cn
* updates: mirrors.pubyun.com
No package libcompface available.
Error: Nothing to do
方法三:按照教程安装。
http://linuxpitstop.com/install-claws-mail-3-12-on-ubuntu-linux/
对于 Fedora:安装这些依赖项后,从以下 URL 下载新版本的 Claws mail。
yum install -y libc6 libcairo2 libcompfaceg1 libdbus-glib-1-2 libenchant1c2a libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libice6 libldap-2.4-2 libpango1.0-0 libpisock9 libsm6 xdg-utils
No package available.
Error: Nothing to do
也许问题是repo文件?如何在我的centos7中添加repo?
答案1
为什么不使用yum
安装claws-email呢?它会下载该软件附带的依赖项:
sudo yum install claws-email
请注意,如果这不是正确的程序名称,请尝试:
sudo yum install claw*