How to Install and Uninstall php8.1-ssh2 Package on Debian 10 (Buster)

Last updated: May 18,2024

1. Install "php8.1-ssh2" package

In this section, we are going to explain the necessary steps to install php8.1-ssh2 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php8.1-ssh2

2. Uninstall "php8.1-ssh2" package

This tutorial shows how to uninstall php8.1-ssh2 on Debian 10 (Buster):

$ sudo apt remove php8.1-ssh2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-ssh2 package on Debian 10 (Buster)

Package: php8.1-ssh2
Source: php-ssh2
Version: 1.3.1+0.13-6+0~20220117.24+debian10~1.gbpe1a643
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 111
Pre-Depends: php-common (>= 2:69~)
Depends: php8.1-common, phpapi-20210902, libc6 (>= 2.14), libssh2-1 (>= 1.2.9)
Breaks: libssh2-php (<< 0.12-2), php-ssh2 (<< 1.3.1+0.13-6+0~20220117.24+debian10~1.gbpe1a643~)
Replaces: libssh2-php (<< 0.12-2), php-ssh2 (<< 1.3.1+0.13-6+0~20220117.24+debian10~1.gbpe1a643~)
Provides: php-ssh2
Homepage: http://pecl.php.net/package/ssh2
Priority: extra
Section: php
Filename: pool/main/p/php-ssh2/php8.1-ssh2_1.3.1+0.13-6+0~20220117.24+debian10~1.gbpe1a643_amd64.deb
Size: 30884
SHA256: 73f1656553cd7b9a81d815dcc479d5bd49f1e82a595a3a8ceb4460280f34cff1
SHA1: 22ec88e10a6597d503d542d351534ebbd9aa8d6f
MD5sum: f93238a65f14c2ffb852743a5eba29cf
Description: Bindings for the libssh2 library
Provides PHP bindings to the functions of libssh2 which implements
the SSH2 protocol.
.
WARNING: The PHP 7.0 is an unreleased git snapshot of current ssh2
that implements support for PHP 7.0. USE WITH CAUTION!
Description-md5: 8adc0199b55f9ddf168edba900604566