如何安装 libssh2-devel Fedora 36

在本教程中,我们学习如何安装 libssh2-devel Fedora 36. libssh2-devel 是 libssh2 的开发文件

介绍

在本教程中我们学习如何安装 libssh2-devel 在 Fedora 36.

什么是 libssh2-devel

libssh2-devel 包包含用于开发使用 libssh2 的应用程序的库和头文件。

我们可以用 yum 或者 dnf 安装 libssh2-devel 在 Fedora 36. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 libssh2-devel。

安装 libssh2-devel Fedora 36 使用dnf

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

sudo dnf makecache --refresh

更新 yum 数据库后,我们可以安装 libssh2-devel 使用 dnf 通过运行以下命令:

sudo dnf -y install libssh2-devel

安装 libssh2-devel Fedora 36 使用 yum

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

sudo yum makecache --refresh

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

sudo yum -y install libssh2-devel

如何卸载 libssh2-devel Fedora 36

仅卸载 libssh2-devel 打包我们可以使用以下命令:

sudo dnf remove libssh2-devel

libssh2-devel 包内容位于 Fedora 36

/usr/include/libssh2.h
/usr/include/libssh2_publickey.h
/usr/include/libssh2_sftp.h
/usr/lib64/libssh2.so
/usr/lib64/pkgconfig/libssh2.pc
/usr/share/doc/libssh2-devel
/usr/share/doc/libssh2-devel/example.x86_64
/usr/share/doc/libssh2-devel/example.x86_64/CMakeLists.txt
/usr/share/doc/libssh2-devel/example.x86_64/Makefile
/usr/share/doc/libssh2-devel/example.x86_64/direct_tcpip.c
/usr/share/doc/libssh2-devel/example.x86_64/scp.c
/usr/share/doc/libssh2-devel/example.x86_64/scp_nonblock.c
/usr/share/doc/libssh2-devel/example.x86_64/scp_write.c
/usr/share/doc/libssh2-devel/example.x86_64/scp_write_nonblock.c
/usr/share/doc/libssh2-devel/example.x86_64/sftp.c
/usr/share/doc/libssh2-devel/example.x86_64/sftp_RW_nonblock.c
/usr/share/doc/libssh2-devel/example.x86_64/sftp_append.c
/usr/share/doc/libssh2-devel/example.x86_64/sftp_mkdir.c
/usr/share/doc/libssh2-devel/example.x86_64/sftp_mkdir_nonblock.c
/usr/share/doc/libssh2-devel/example.x86_64/sftp_nonblock.c
/usr/share/doc/libssh2-devel/example.x86_64/sftp_write.c
/usr/share/doc/libssh2-devel/example.x86_64/sftp_write_nonblock.c
/usr/share/doc/libssh2-devel/example.x86_64/sftp_write_sliding.c
/usr/share/doc/libssh2-devel/example.x86_64/sftpdir.c
/usr/share/doc/libssh2-devel/example.x86_64/sftpdir_nonblock.c
/usr/share/doc/libssh2-devel/example.x86_64/ssh2.c
/usr/share/doc/libssh2-devel/example.x86_64/ssh2_agent.c
/usr/share/doc/libssh2-devel/example.x86_64/ssh2_agent_forwarding.c
/usr/share/doc/libssh2-devel/example.x86_64/ssh2_echo.c
/usr/share/doc/libssh2-devel/example.x86_64/ssh2_exec.c
/usr/share/doc/libssh2-devel/example.x86_64/subsystem_netconf.c
/usr/share/doc/libssh2-devel/example.x86_64/tcpip-forward.c
/usr/share/doc/libssh2-devel/example.x86_64/x11.c

标题:“如何安装 libssh2-devel Fedora 36”

参考

链接标题:“libssh2-devel”类型:“文档”

描述:“在本教程中,我们学习如何安装 libssh2-devel Fedora 36. libssh2-devel 是 libssh2 的开发文件”

概括

日期:“2022-08-17”

lastmod: “2022-08-17” #image: /images/fedora/36/libssh2-devel-featured.png 在本教程中,我们将学习如何安装 libssh2-devel 在 Fedora 36 使用 yum 和 [dnf]((/fedora/36/dnf/)。

介绍

在本教程中我们学习如何安装 libssh2-devel 在 Fedora 36.

什么是 libssh2-devel

libssh2-devel 包包含用于开发使用 libssh2 的应用程序的库和头文件。

我们可以用 yum 或者 dnf 安装 libssh2-devel 在 Fedora 36. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 libssh2-devel。

安装 libssh2-devel Fedora 36 使用dnf

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

sudo dnf makecache --refresh

更新 yum 数据库后,我们可以安装 libssh2-devel 使用 dnf 通过运行以下命令:

sudo dnf -y install libssh2-devel

安装 libssh2-devel Fedora 36 使用 yum

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

sudo yum makecache --refresh

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

sudo yum -y install libssh2-devel

如何卸载 libssh2-devel Fedora 36

仅卸载 libssh2-devel 打包我们可以使用以下命令:

sudo dnf remove libssh2-devel

libssh2-devel 包内容位于 Fedora 36

/usr/include/libssh2.h
/usr/include/libssh2_publickey.h
/usr/include/libssh2_sftp.h
/usr/lib/libssh2.so
/usr/lib/pkgconfig/libssh2.pc
/usr/share/doc/libssh2-devel
/usr/share/doc/libssh2-devel/example.i386
/usr/share/doc/libssh2-devel/example.i386/CMakeLists.txt
/usr/share/doc/libssh2-devel/example.i386/Makefile
/usr/share/doc/libssh2-devel/example.i386/direct_tcpip.c
/usr/share/doc/libssh2-devel/example.i386/scp.c
/usr/share/doc/libssh2-devel/example.i386/scp_nonblock.c
/usr/share/doc/libssh2-devel/example.i386/scp_write.c
/usr/share/doc/libssh2-devel/example.i386/scp_write_nonblock.c
/usr/share/doc/libssh2-devel/example.i386/sftp.c
/usr/share/doc/libssh2-devel/example.i386/sftp_RW_nonblock.c
/usr/share/doc/libssh2-devel/example.i386/sftp_append.c
/usr/share/doc/libssh2-devel/example.i386/sftp_mkdir.c
/usr/share/doc/libssh2-devel/example.i386/sftp_mkdir_nonblock.c
/usr/share/doc/libssh2-devel/example.i386/sftp_nonblock.c
/usr/share/doc/libssh2-devel/example.i386/sftp_write.c
/usr/share/doc/libssh2-devel/example.i386/sftp_write_nonblock.c
/usr/share/doc/libssh2-devel/example.i386/sftp_write_sliding.c
/usr/share/doc/libssh2-devel/example.i386/sftpdir.c
/usr/share/doc/libssh2-devel/example.i386/sftpdir_nonblock.c
/usr/share/doc/libssh2-devel/example.i386/ssh2.c
/usr/share/doc/libssh2-devel/example.i386/ssh2_agent.c
/usr/share/doc/libssh2-devel/example.i386/ssh2_agent_forwarding.c
/usr/share/doc/libssh2-devel/example.i386/ssh2_echo.c
/usr/share/doc/libssh2-devel/example.i386/ssh2_exec.c
/usr/share/doc/libssh2-devel/example.i386/subsystem_netconf.c
/usr/share/doc/libssh2-devel/example.i386/tcpip-forward.c
/usr/share/doc/libssh2-devel/example.i386/x11.c

参考

概括

在本教程中我们学习如何安装 libssh2-devel 在 Fedora 36 使用 yum 和 [dnf]((/fedora/36/dnf/)。