如何安装 libcurl3 Debian 9

在本教程中,我们学习如何安装 libcurl3 Debian 9. libcurl3 是易于使用的客户端 URL 传输库(OpenSSL 风格)

介绍

在本教程中我们学习如何安装 libcurl3 在 Debian 9.

什么是 libcurl3

libcurl3 是:

libcurl 是一个易于使用的客户端 URL 传输库,支持 DICT、FILE、FTP、FTPS、GOPHER、HTTP、HTTPS、IMAP、IMAPS、LDAP、LDAPS、POP3、POP3S、RTMP、RTSP、SCP、SFTP、 SMTP、SMTPS、TELNET 和 TFTP。

libcurl 支持 SSL 证书、HTTP POST、HTTP PUT、FTP 上传、基于 HTTP 表单的上传、代理、cookie、用户+密码身份验证(基本、摘要、NTLM、协商、Kerberos)、文件传输恢复、http 代理隧道等等!

libcurl 是免费的、线程安全的、IPv6 兼容的、功能丰富的、支持良好的、快速的、完整的文档,并且已经被许多知名的、大的、成功的公司和众多的应用程序使用。

SSL 支持由 OpenSSL 提供。

有三种安装方法 libcurl3 在 Debian 9.我们可以使用 apt-get, aptaptitude。 在以下部分中,我们将描述每种方法。 您可以选择其中之一。

使用 apt-get 安装 libcurl3

更新 apt 数据库 apt-get 使用以下命令。

更新apt数据库后,我们可以安装 libcurl3 使用 apt-get 通过运行以下命令:

sudo apt-get -y install libcurl3

使用 apt 安装 libcurl3

更新 apt 数据库 apt 使用以下命令。

更新apt数据库后,我们可以安装 libcurl3 使用 apt 通过运行以下命令:

sudo apt -y install libcurl3

使用 aptitude 安装 libcurl3

如果您想遵循此方法,您可能需要先安装 aptitude,因为 aptitude 通常不会默认安装 Debian。 更新 apt 数据库 aptitude 使用以下命令。

更新apt数据库后,我们可以安装 libcurl3 使用 aptitude 通过运行以下命令:

sudo aptitude -y install libcurl3

如何卸载 libcurl3 Debian 9

仅卸载 libcurl3 打包我们可以使用以下命令:

sudo apt-get remove libcurl3

卸载 libcurl3 及其依赖项

卸载 libcurl3 及其不再需要的依赖项 Debian 9、我们可以使用下面的命令:

sudo apt-get -y autoremove libcurl3

删除 libcurl3 配置和数据

去除 libcurl3 配置和数据来自 Debian 9.我们可以使用以下命令:

sudo apt-get -y purge libcurl3

删除 libcurl3 配置、数据及其所有依赖项

我们可以使用下面的命令来删除 libcurl3 配置、数据及其所有依赖项,我们可以使用以下命令:

sudo apt-get -y autoremove --purge libcurl3

依赖关系

libcurl3 具有以下依赖项:

参考

概括

在本教程中我们学习如何安装 libcurl3 封装在 Debian 9.使用不同的包管理工具: apt, apt-getaptitude