How to Install and Uninstall php-ssh2 Package on Linux Mint 20.3 (Una)

Last updated: December 23,2024

1. Install "php-ssh2" package

This guide covers the steps necessary to install php-ssh2 on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install php-ssh2

2. Uninstall "php-ssh2" package

Please follow the instructions below to uninstall php-ssh2 on Linux Mint 20.3 (Una):

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

3. Information about the php-ssh2 package on Linux Mint 20.3 (Una)

Package: php-ssh2
Priority: extra
Section: php
Installed-Size: 13
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.3.1+0.13-6+ubuntu20.04.1+deb.sury.org+10
Replaces: libssh2-php (<< 0.12-2)
Depends: php8.1-ssh2
Pre-Depends: php-common (>= 2:69~)
Breaks: libssh2-php (<< 0.12-2)
Filename: pool/main/p/php-ssh2/php-ssh2_1.3.1+0.13-6+ubuntu20.04.1+deb.sury.org+10_amd64.deb
Size: 5252
MD5sum: 936ae042411cefa413f904d1b3255223
SHA1: 88f35fac9c2e01f979198bab8bbe234bb14e5922
SHA256: 6ddbf0b88b92ed37c3781149981d75d4a2fd6121f7b0ef893a766a2d17e74278
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