在Debian上找到openssl

时间:2013-06-03 19:01:15

标签: openssl debian

我安装了最新的Debian,我正在尝试使用OpenSSL:

root@debianvm:~# apt-get install openssl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
openssl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@debianvm:~# openssl
-su: openssl: command not found

locate openssl输出了大量列表,但我在那里看不到openssl可执行文件。

那么,它在哪里?

更新

updatedb似乎不会影响locate openssl输出。

root@debianvm:~# uname -a
Linux debianvm 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
root@debianvm:~# which openssl
root@debianvm:~#
root@debianvm:~# dpkg -l | grep openssl
ii  libcurl4-openssl-dev                  7.26.0-1+wheezy2                   amd64        development files and documentation for libcurl (OpenSSL flavour)
ii  libgnutls-openssl27:amd64             2.12.20-7                          amd64        GNU TLS library - OpenSSL wrapper
ii  openssl                               20130602-1                         amd64        Package created with checkinstall 1.6.2
root@debianvm:~# 

1 个答案:

答案 0 :(得分:2)

  • 你在运行哪个Debian版本?

  • “dpkg -l | grep openssl”显示了什么?

  • 您是否在“locate openssl”之前运行了“updatedb”?

  • “哪个openssl”显示什么?

<强>更新 奇怪版本的openssl ...我的是:

ii  openssl    1.0.1e-2     amd64    Secure Socket Layer (SSL) binary and related cryptographic tools

尝试重新安装:

  

apt-get --reinstall install openssl