在Debian上定位openssl

在Debian上定位openssl,openssl,debian,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

我已经安装了最新的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:~# 
  • 您正在运行哪个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--重新安装openssl


“删除”然后“安装”似乎可以解决这个问题。现在的问题是,软件的其余部分是否会继续工作……我现在看到您没有使用apt安装openssl paket。如果您的软件正在搜索路径,它应该可以正常工作。