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

Last updated: December 25,2024

1. Install "python-gflags" package

Learn how to install python-gflags on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-gflags

2. Uninstall "python-gflags" package

This guide covers the steps necessary to uninstall python-gflags on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-gflags
Priority: optional
Section: universe/python
Installed-Size: 179
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 1.5.1-2
Depends: python (>= 2.7), python (<< 2.8)
Filename: pool/universe/p/python-gflags/python-gflags_1.5.1-2_all.deb
Size: 35232
MD5sum: 1501a6d3ffe250a192a04fe9f58da6a6
SHA1: dd8ffc07bfbd8abd391b089f926d7bbddf64d1aa
SHA256: 4cac6b668ddf4c3765ce5620822ad3596ed40aceeb6327d326d6f6e3ecb8f74f
Description-en: implementation of the Google command line flags module - Python 2.x
GFlags defines a distributed command line system, replacing systems like
getopt(), optparse and manual argument processing. Rather than an application
having to define all flags in or near main(), each Python module defines flags
that are useful to it. When one Python module imports another, it gains
access to the other's flags.
.
It includes the ability to define flag types (boolean, float, integer, list),
autogeneration of help (in both human and machine readable format) and reading
arguments from a file. It also includes the ability to automatically generate
man pages from the help flags.
.
This package provides the Python 2.x module.
Description-md5: 3e5096be139263e0fd6203e0466712aa
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu