How to Install and Uninstall mock Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "mock" package

Here is a brief guide to show you how to install mock on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install mock

2. Uninstall "mock" package

Please follow the guidelines below to uninstall mock on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the mock package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: mock
Priority: extra
Section: universe/devel
Installed-Size: 334
Maintainer: Ubuntu Developers
Original-Maintainer: Tzafrir Cohen
Architecture: all
Version: 1.1.33-1
Depends: python (>= 2.7), python (<< 2.8), python:any (>= 2.7.1-0ubuntu2), python-rpm, python-decoratortools, yum (>> 3.2.26), usermode, yum-utils
Suggests: pigz
Filename: pool/universe/m/mock/mock_1.1.33-1_all.deb
Size: 56234
MD5sum: ec2461cef91b6d8c2973c9f520b59a3b
SHA1: 7de30ea27161939f8b97f94b7cae62cd5f25c99f
SHA256: 15480760dd20c699f9cb1d90d8dee2f57a749bb34af89c2a32e43d47e8fba70e
Description-en: Build rpm packages inside a chroot
Mock creates chroots and builds rpms in them. Its only task is to
reliably populate a chroot and attempt to build a package in that
chroot. It is used be the Fedora Extras project to build their
packages cleanly.
Description-md5: f98acbd81ac092b24009dce097cb24bb
Homepage: https://fedorahosted.org/mock/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu