这应该很容易,但在成功安装后,在Fedora 24上找不到命令
Dnf安装python-certbot-apache
…
已安装:
对话.x86_1.3-4.20160424.fc24 pyOpenSSL.noArch 16.0.0-1.fc24
Python-charade.noArch 2.2.1-5.fc24 python-枚举34.noArch 1.0.4-5.fc24
Python-idna.noarc2.0-3.fc24 python-ipAddress.noArch 1.0.16-2.fc24
Python-parsedatetime.noArch 1.5-3.fc24 python-pycparser.noarc2.14-6.fc24
Python-Zope-Component.noArch 4.2.2-3.fc24 python-zope-vent.noArch 4.2.0-1.fc24
Python-zope-interface.x86_4.1.3-4.fc24 python2-acme.noArch 0.8.1-1.fc24
Python2-augeas.noArch 0.5.0-5.fc24 python2-certbot.noArch 0.8.1-2.fc24
Python2-certbot-apache.noArch 0.8.1-1.fc24 python2-cffi.x86_1.5.2-1.fc24
Python2-figargparse.noArch 0.10.0-2.fc24 python2-figobj.noarc5.0.6-4.fc24
Python2-加密。x86_1.3.1-1.fc24 python2-对话.noArch 3.3.0-8.fc24
Python2-uncsigs.noArch 1.0.2-1.fc24 python2-mock.noarc1.3.0-1.fc24
Python2-ndg_httpsclient.noArch 0.4.0-3.fc24 python2-pbr.noArch 1.8.1-4.fc24
Python2-ply.noArch 3.8-1.fc24 python2-psutil.x86_3.2.1-5.fc24
Python2-pyasn1.noArch 0.1.9-6.fc24.1 pythone 2-pyrfc3339.noArch 1.0-3.fc24
Python2-pysocks.noArch 1.5.6-3.fc24 python2-quests.noArch 2.10.0-2.fc24
Python2-urllib3.noArch 1.15.1-3.fc24 pytz.noArch 2015.7-3.fc24
完成了!
[Root@Dell apache]#certbot--apache
Bash:certbot:找不到命令
[根@戴尔阿帕奇]#定位certbot
[根@戴尔阿帕奇]#退出
出口
[普华永道@戴尔阿帕奇]$certbot
Bash:certbot:找不到命令
[普华永道@戴尔阿帕奇]$Locate certbot
[普华永道@戴尔·阿帕奇]$,我不太熟悉Fedora包,但我认为有一个“主”certbot包,而python-certbot-apache只是那个包的一个插件。
不确定为什么不依赖于另一个包中的certbot--可能是个错误,也可能是出于一些我不知道的好原因。