How to Install and Uninstall php-ssh2 Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: April 27,2024

1. Install "php-ssh2" package

This tutorial shows how to install php-ssh2 on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install php-ssh2

2. Uninstall "php-ssh2" package

Please follow the instructions below to uninstall php-ssh2 on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the php-ssh2 package on Ubuntu 23.10 (Mantic Minotaur)

Package: php-ssh2
Architecture: amd64
Version: 1.3.1+0.13-7build1
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: 12
Pre-Depends: php-common (>= 2:69~)
Depends: php8.2-ssh2
Breaks: libssh2-php (<< 0.12-2)
Replaces: libssh2-php (<< 0.12-2)
Filename: pool/universe/p/php-ssh2/php-ssh2_1.3.1+0.13-7build1_amd64.deb
Size: 2582
MD5sum: afa54266936c278c5216a5d32b7ab8bd
SHA1: c9f0cd37fe7773db3c3c0432b9b2f0abf5eb5108
SHA256: 988f093a48e94a61333f01d3563e90b7a24e063670e62ac373df299d6d7f24db
SHA512: 09621ab140a39004555a52cc00c999d583f4cd833682032dacfa026501655afb54b5984656a5fd6e7e53ca2937b4504e8f967a8fda4c7d8f2d9a330841388e03
Homepage: http://pecl.php.net/package/ssh2
Description: Bindings for the libssh2 library
Description-md5: 8e85253b9a7523866cce9de62c2cede7