“ yum install tcltls”在centOS上给出错误“无可用软件包tcltls”

时间:2018-11-20 06:58:17

标签: centos tcl yum

[root@localhost /]# yum install tcltls
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: ftp.iitm.ac.in
 * extras: ftp.iitm.ac.in
 * updates: ftp.iitm.ac.in
Setting up Install Process
No package tcltls available.
Error: Nothing to do
[root@localhost /]# 

并且浏览器不允许打开此网页

https://centos.pkgs.org/7/epel-x86_64/tcltls-1.6.7-2.el7.x86_64.rpm.html
https://centos.pkgs.org/7/epel-x86_64/tcltls-devel-1.6.7-2.el7.x86_64.rpm.html

1 个答案:

答案 0 :(得分:0)

tcltls是通过epel存储库提供的:

Available Packages
Name        : tcltls
Arch        : x86_64
Version     : 1.6.7
Release     : 2.el7
Size        : 35 k
Repo        : epel/x86_64
Summary     : OpenSSL extension for Tcl
URL         : http://tls.sourceforge.net/
Licence     : BSD
Description : A TLS OpenSSL extension for Tcl

看看/etc/yum.repos.d/epel.repo,可能只需要设置enabled=1。如果您根本没有.repo文件,则可以从here作为RPM获取文件。

使用rpm -ivh <name or url>安装并记住设置enabled=1