1

我已经安装了最新的 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:~# 
4

1 回答 1

2
  • 您正在运行哪个 Debian 版本?

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

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

  • “哪个openssl”显示了什么?

更新 openssl 的奇怪版本...我的是这样的:

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

尝试重新安装它:

apt-get --reinstall 安装 openssl

于 2013-06-03T19:05:23.257 回答