How to Install and Uninstall mock Package on Debian 10 (Buster)

Last updated: May 21,2024

1. Install "mock" package

Please follow the steps below to install mock on Debian 10 (Buster)

$ sudo apt update $ sudo apt install mock

2. Uninstall "mock" package

Please follow the guidance below to uninstall mock on Debian 10 (Buster):

$ sudo apt remove mock $ sudo apt autoclean && sudo apt autoremove

3. Information about the mock package on Debian 10 (Buster)

Package: mock
Version: 1.3.2-2
Installed-Size: 491
Maintainer: Tzafrir Cohen
Architecture: all
Depends: python, python3:any (>= 3.3.2-2~), python3-rpm, yum (>> 3.2.26), usermode, yum-utils, python3-six
Suggests: pigz
Description: Build rpm packages inside a chroot
Description-md5: f98acbd81ac092b24009dce097cb24bb
Homepage: https://github.com/rpm-software-management/mock
Tag: devel::packaging, implemented-in::python, interface::commandline,
role::program, scope::utility, works-with::software:package,
works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/m/mock/mock_1.3.2-2_all.deb
Size: 98904
MD5sum: b5c7c6083898c6269e98ca01000072f7
SHA256: 89774b327e3bb85527b477c327e5780b00aeca35aee7cf748582d93650734791