How to Install and Uninstall python-cmd2 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 25,2024

1. Install "python-cmd2" package

In this section, we are going to explain the necessary steps to install python-cmd2 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-cmd2

2. Uninstall "python-cmd2" package

This is a short guide on how to uninstall python-cmd2 on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-cmd2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-cmd2 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-cmd2
Priority: optional
Section: python
Installed-Size: 87
Maintainer: Ubuntu Developers
Original-Maintainer: Federico Ceratto
Architecture: all
Source: cmd2
Version: 0.6.8-1
Provides: python2.7-cmd2
Depends: python-pyparsing, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Pre-Depends: dpkg (>= 1.15.6~)
Filename: pool/main/c/cmd2/python-cmd2_0.6.8-1_all.deb
Size: 22396
MD5sum: 28184a5a5cff45efbe62a188dd468851
SHA1: b23b398aea7e19ebfa7741f04ff25eb58cfa0be1
SHA256: 82eb6f8f60a7d0cb5db265179477042a2afc8c6710d8d3cf0f685ef55846abb4
Description-en: enhanced Python cmd module - Python 2.x
Drop-in replacement adds several features for command-prompt tools, like
searchable and persistent command history, multi-line commands, input and
output redirections, integrated Python shell, testing helpers
.
This package provides the Python 2.x module.
Description-md5: 3388e979ddd67bb68046600a4f3eaa4d
Homepage: https://bitbucket.org/catherinedevlin/cmd2
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y