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

Last updated: November 25,2024

1. Install "python-pyparsing" package

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

$ sudo apt update $ sudo apt install python-pyparsing

2. Uninstall "python-pyparsing" package

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

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

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

Package: python-pyparsing
Architecture: all
Version: 2.0.3+dfsg1-1ubuntu0.2
Priority: optional
Section: python
Source: pyparsing
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Kevin Coyner
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 176
Provides: python2.7-pyparsing
Depends: python (>= 2.7), python (<< 2.8)
Filename: pool/main/p/pyparsing/python-pyparsing_2.0.3+dfsg1-1ubuntu0.2_all.deb
Size: 35364
MD5sum: e2f56a51e00a13db104deee1d4887b57
SHA1: dd6373857567aa626284dd9285cdbdf58131eee5
SHA256: 4d0a2741ebaa3ab907b7f13ab77de501dc7a21d63424570ccb25882f69ad89cc
SHA512: fd03e64c2e975057638f9c5e0b9b22fd0697cf02f2b8c0ea9f7c8924b709d7965b6bb776f68ae420cf0104ed3500952125531092ceeff4d0d7f0c833a71965ae
Homepage: http://pyparsing.wikispaces.com/
Description-en: Python parsing module
The parsing module is an alternative approach to creating and
executing simple grammars, vs. the traditional lex/yacc approach, or
the use of regular expressions. The parsing module provides a
library of classes that client code uses to construct the grammar
directly in Python code.
.
Here's an example:
.
from pyparsing import Word, alphas
greet = Word(alphas) + "," + Word(alphas) + "!"
hello = "Hello, World!"
print hello, "->", greet.parseString(hello)
Description-md5: b2c4beff5c2bd4cd6e8adac270b245cc
Task: edubuntu-desktop-gnome
Supported: 5y

Package: python-pyparsing
Priority: optional
Section: python
Installed-Size: 197
Maintainer: Ubuntu Developers
Original-Maintainer: Kevin Coyner
Architecture: all
Source: pyparsing
Version: 2.0.3+dfsg1-1
Provides: python2.7-pyparsing
Depends: python (>= 2.7), python (<< 2.8)
Filename: pool/main/p/pyparsing/python-pyparsing_2.0.3+dfsg1-1_all.deb
Size: 35314
MD5sum: afe6a576938a1aee801122fc7254da8e
SHA1: 1262b7e2cfc0f49686a3fd962e3a5af416028948
SHA256: 703419d2e97fa0f3a92ad443699599b5d3820e2aa1aa48801c4e736a991d8287
Description-en: Python parsing module
The parsing module is an alternative approach to creating and
executing simple grammars, vs. the traditional lex/yacc approach, or
the use of regular expressions. The parsing module provides a
library of classes that client code uses to construct the grammar
directly in Python code.
.
Here's an example:
.
from pyparsing import Word, alphas
greet = Word(alphas) + "," + Word(alphas) + "!"
hello = "Hello, World!"
print hello, "->", greet.parseString(hello)
Description-md5: b2c4beff5c2bd4cd6e8adac270b245cc
Homepage: http://pyparsing.wikispaces.com/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: edubuntu-desktop-gnome