How to Install and Uninstall python2-mechanize Package on openSUSE Leap

Last updated: December 24,2024

1. Install "python2-mechanize" package

Learn how to install python2-mechanize on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-mechanize

2. Uninstall "python2-mechanize" package

Please follow the instructions below to uninstall python2-mechanize on openSUSE Leap:

$ sudo zypper remove python2-mechanize

3. Information about the python2-mechanize package on openSUSE Leap

Information for package python2-mechanize:
------------------------------------------
Repository : Main Repository
Name : python2-mechanize
Version : 0.4.5-bp153.1.19
Arch : noarch
Vendor : openSUSE
Installed Size : 969,5 KiB
Installed : No
Status : not installed
Source package : python-mechanize-0.4.5-bp153.1.19.src
Summary : Stateful programmatic web browsing
Description :
Stateful programmatic web browsing, after Andy Lester's Perl module
WWW::Mechanize.
The library is layered: mechanize.Browser (stateful web browser),
mechanize.UserAgent (configurable URL opener), plus urllib2 handlers.
Features include: ftp:, http: and file: URL schemes, browser history,
high-level hyperlink and HTML form support, HTTP cookies, HTTP-EQUIV and
Refresh, Referer [sic] header, robots.txt, redirections, proxies, and Basic and
Digest HTTP authentication. mechanize's response objects are (lazily-)
.seek()able and still work after .close().
Much of the code originally derived from Perl code by Gisle Aas (libwww-perl),
Johnny Lee (MSIE Cookie support) and last but not least Andy Lester
(WWW::Mechanize). urllib2 was written by Jeremy Hylton.

5. The same packages on other Linux Distributions