How to Install and Uninstall php-smbclient Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: April 18,2024

1. Install "php-smbclient" package

This guide let you learn how to install php-smbclient on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-smbclient

2. Uninstall "php-smbclient" package

This is a short guide on how to uninstall php-smbclient on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-smbclient package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-smbclient
Priority: optional
Section: php
Installed-Size: 11
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.0.6-6+ubuntu18.04.1+deb.sury.org+10
Provides: php-libsmbclient
Depends: ucf, php8.1-smbclient
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-smbclient/php-smbclient_1.0.6-6+ubuntu18.04.1+deb.sury.org+10_amd64.deb
Size: 3732
MD5sum: 7266e723a914b82ea48d600e8494fb47
SHA1: 5fbd396a032582fa0390a565cf185d62cd6a147a
SHA256: f8ffa6112e993f26e8f5163fa7418467f3f98e7d3653e95aae326acf1e61cee4
Description: PHP wrapper for libsmbclient
Description-md5: ef04673e23cac4e7ee46d8ebdd60beff

Package: php-smbclient
Architecture: amd64
Version: 0.8.0-3build2
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 83
Provides: php-libsmbclient, php7.2-smbclient
Depends: ucf, php-common (>= 1:7.0+33~), phpapi-20170718, libc6 (>= 2.14), libsmbclient (>= 2:4.1.1)
Filename: pool/universe/p/php-smbclient/php-smbclient_0.8.0-3build2_amd64.deb
Size: 20772
MD5sum: c44b385654b5629c2695b18c4ae4e6a6
SHA1: 7046b6f8ed01a7fece3fe626a58cf6020ae0ce48
SHA256: 106896e835cf17f1d60679b048dade5b2b777cff0953ce17680e212d9c8eada1
Homepage: http://pecl.php.net/smbclient
Description: PHP wrapper for libsmbclient
Description-md5: ef04673e23cac4e7ee46d8ebdd60beff