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

Last updated: May 20,2024

1. Install "python-mechanize" package

Please follow the steps below to install python-mechanize on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-mechanize

2. Uninstall "python-mechanize" package

Please follow the instructions below to uninstall python-mechanize on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-mechanize
Priority: extra
Section: universe/python
Installed-Size: 957
Maintainer: Ubuntu Developers
Original-Maintainer: Debian/Ubuntu Zope Team
Architecture: all
Version: 1:0.2.5-3
Replaces: python-clientform (<< 1:0.2.5-2)
Provides: python-clientform, python2.7-mechanize
Depends: python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8)
Breaks: python-clientform (<< 1:0.2.5-2)
Filename: pool/universe/p/python-mechanize/python-mechanize_0.2.5-3_all.deb
Size: 330680
MD5sum: 8744f25afc54b0e10944c561aab1a829
SHA1: 5802578136170115f739083f166d4f7ff29cb9f1
SHA256: f89e6c690cf83329e02599933951a9f80884c4359a2f8e8ae5b2dd02aef0553f
Description-en: stateful programmatic web browsing
A library for browsing the web in Python. Mechanize acts like a browser
allowing you to do web scraping, functional testing of web sites and
things no one has thought of yet.
.
Among other things, mechanize:
* Follows links
* Fills in HTML forms
* Automatically observes robots.txt
* Has a browser history
.
It was modelled after the Perl module WWW::Mechanize.
Description-md5: f2124c4d65496b13e4adfe113870b2df
Homepage: http://wwwsearch.sourceforge.net/mechanize/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: edubuntu-desktop-gnome