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

Last updated: May 20,2024

1. Install "python2-apipkg" package

Please follow the step by step instructions below to install python2-apipkg on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-apipkg

2. Uninstall "python2-apipkg" package

This tutorial shows how to uninstall python2-apipkg on openSUSE Leap:

$ sudo zypper remove python2-apipkg

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

Information for package python2-apipkg:
---------------------------------------
Repository : Main Repository
Name : python2-apipkg
Version : 1.4-bp153.1.38
Arch : noarch
Vendor : openSUSE
Installed Size : 23,4 KiB
Installed : No
Status : not installed
Source package : python-apipkg-1.4-bp153.1.38.src
Summary : Namespace control and lazy-import mechanism
Description :
With apipkg you can control the exported namespace of a
python package and greatly reduce the number of imports for your users.
It is a `small pure python module`_ that works on virtually all Python
versions, including CPython2.3 to Python3.1, Jython and PyPy. It co-operates
well with Python's ``help()`` system, custom importers (PEP302) and common
command line completion tools.
Usage is very simple: you can require 'apipkg' as a dependency or you
can copy paste the <100 Lines of code into your project.

5. The same packages on other Linux Distributions