UBUNTU: [ 安装 ] > libssl-dev 包括查看包等工具的使用

描述:

sudo apt-get install libssl-dev

分析:

        安装libssl-dev下面的包也会安装

  1. libssl-doc
  2. libssl1.0.0
  3. zlib1g
  4. zlib1g-dev

  libssl1.0.0 zlib1g

        包的源头:

Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-2ubuntu4.3 [167 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-dev amd64 1.0.2g-1ubuntu4.20 [1,347 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-doc all 1.0.2g-1ubuntu4.20 [1,077 kB]

        包的版本:

Setting up libssl1.0.0:amd64 (1.0.2g-1ubuntu4.20) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4.3) ...
Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.20) ...
Setting up libssl-doc (1.0.2g-1ubuntu4.20) ...



一些命令的使用

查看下包:

dpkg -l libssl-dev

 包详情:

dpkg -s libssl-dev

UBUNTU: [ 安装 ] > libssl-dev 包括查看包等工具的使用_第1张图片

dpkg-query -L libssl-dev

文档

/usr
/usr/share
/usr/share/doc
/usr/share/doc/libssl-dev

库:

/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libssl.a
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig/openssl.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libcrypto.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libssl.pc
/usr/lib/x86_64-linux-gnu/libcrypto.a

/usr/lib/x86_64-linux-gnu/libcrypto.so
/usr/lib/x86_64-linux-gnu/libssl.so

头文件:

/usr/include
/usr/include/openssl
/usr/include/openssl/ebcdic.h

..

/usr/include/x86_64-linux-gnu/openssl/opensslconf.h

apt-cache search libssl

对包及相关包的说明:

libssl-dev - Secure Sockets Layer toolkit - development files
libssl-doc - Secure Sockets Layer toolkit - development documentation
libssl1.0.0 - Secure Sockets Layer toolkit - shared libraries
libssl1.0.0-dbg - Secure Sockets Layer toolkit - debug information
cl-plus-ssl - Common Lisp interface to OpenSSL
dcmtk - OFFIS DICOM toolkit command line utilities
dlang-openssl - D version of the C headers for openssl
libdcmtk-dev - OFFIS DICOM toolkit development libraries and headers
libdcmtk5 - OFFIS DICOM toolkit runtime libraries
libssl-ocaml - OCaml bindings for OpenSSL (runtime)
libssl-ocaml-dev - OCaml bindings for OpenSSL
libsslcommon2 - enterprise messaging system - common SSL libraries
libsslcommon2-dev - enterprise messaging system - common SSL development files

apt-cache show libssl-dev

获取包的相关信息,如说明、大小、版本等

apt-get download libssl-dev

下载deb包

dpkg -x libssl-dev_1.0.2g-1ubuntu4.20_amd64.deb src(解压的目录)

解压出来, 查看deb包的内容

apt-cache depends libssl-dev

查看libssl-dev要依赖哪些包
libssl-dev
  Depends: libssl1.0.0
  Depends: zlib1g-dev
  Recommends: libssl-doc

dpkg -s libssl1.0.0

查看包信息

你可能感兴趣的:(ubuntu,ubuntu,linux,运维)