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

Last updated: May 16,2024

1. Install "python2-line_profiler" package

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

$ sudo zypper refresh $ sudo zypper install python2-line_profiler

2. Uninstall "python2-line_profiler" package

Please follow the guidance below to uninstall python2-line_profiler on openSUSE Leap:

$ sudo zypper remove python2-line_profiler

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

Information for package python2-line_profiler:
----------------------------------------------
Repository : Main Repository
Name : python2-line_profiler
Version : 2.1.2-bp153.1.24
Arch : x86_64
Vendor : openSUSE
Installed Size : 201,0 KiB
Installed : No
Status : not installed
Source package : python-line_profiler-2.1.2-bp153.1.24.src
Summary : Line-by-line profiler
Description :
line_profiler will profile the time individual lines of code take to execute.
The profiler is implemented in C via Cython in order to reduce the overhead of
profiling.
Also included is the script kernprof.py which can be used to conveniently
profile Python applications and scripts either with line_profiler or with the
function-level profiling tools in the Python standard library.