How to Install and Uninstall python Package on openSUSE Leap

Last updated: May 09,2024

1. Install "python" package

This guide covers the steps necessary to install python on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python

2. Uninstall "python" package

Please follow the guidelines below to uninstall python on openSUSE Leap:

$ sudo zypper remove python

3. Information about the python package on openSUSE Leap

Information for package python:
-------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : python
Version : 2.7.18-150000.60.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 1.4 MiB
Installed : No
Status : not installed
Source package : python-2.7.18-150000.60.1.src
Upstream URL : https://www.python.org/
Summary : Python Interpreter
Description :
Python is an interpreted, object-oriented programming language, and is
often compared to Tcl, Perl, Scheme, or Java. You can find an overview
of Python in the documentation and tutorials included in the python-doc
(HTML) or python-doc-pdf (PDF) packages.
If you want to install third party modules using distutils, you need to
install python-devel package.