
3つの異なる方法を使用してCentos7にClaws-mailをインストールしようとしましたが、すべて失敗しました。
方法1:直接インストール
[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
方法3:チュートリアルに従ってインストールします。
http://linuxpitstop.com/install-claws-mail-3-12-on-ubuntu-linux/
Fedora の場合: これらの依存関係をインストールしたら、次の URL から Claws メールの新しいバージョンをダウンロードしてください。
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*