How to Install and Uninstall php-ssh2 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 25,2024

1. Install "php-ssh2" package

In this section, we are going to explain the necessary steps to install php-ssh2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-ssh2

2. Uninstall "php-ssh2" package

Please follow the steps below to uninstall php-ssh2 on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php-ssh2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-ssh2 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-ssh2
Priority: extra
Section: php
Installed-Size: 13
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.4-1+ubuntu20.04.1+deb.sury.org+2
Replaces: libssh2-php (<< 0.12-2)
Depends: php8.3-ssh2
Pre-Depends: php-common (>= 2:69~)
Breaks: libssh2-php (<< 0.12-2)
Filename: pool/main/p/php-ssh2/php-ssh2_1.4-1+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 5308
MD5sum: bd7e367cc20d2a9185397e96cdaee0dd
SHA1: 41b0505b4b7566d5b8c446c10f2d67aa703a2512
SHA256: 150459b9a11e7620f23890b58af6a74ece9f94c33f66079795fd963c5ae4381a
Description: Bindings for the libssh2 library
Description-md5: 8adc0199b55f9ddf168edba900604566

Package: php-ssh2
Architecture: amd64
Version: 1.2+0.13-1build1
Priority: extra
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 118
Provides: php7.4-ssh2
Pre-Depends: php-common (>= 2:69~)
Depends: phpapi-20190902, libc6 (>= 2.14), libssh2-1 (>= 1.2.9)
Breaks: libssh2-php (<< 0.12-2)
Replaces: libssh2-php (<< 0.12-2)
Filename: pool/universe/p/php-ssh2/php-ssh2_1.2+0.13-1build1_amd64.deb
Size: 29004
MD5sum: eb8f46187cab3f2c833f2be822e20c69
SHA1: 1a6c1d88da6621c54b5c607f3e5522858abeb49b
SHA256: 185a340234a46b4f1ec2ccac72667fe7589d551268a9b329ac9f0fcfb479507a
Homepage: http://pecl.php.net/package/ssh2
Description: Bindings for the libssh2 library
Description-md5: 8adc0199b55f9ddf168edba900604566