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

Last updated: June 18,2024

1. Install "python2-asteval" package

Please follow the guidance below to install python2-asteval on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-asteval

2. Uninstall "python2-asteval" package

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

$ sudo zypper remove python2-asteval

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

Information for package python2-asteval:
----------------------------------------
Repository : Main Repository
Name : python2-asteval
Version : 0.9.17-bp153.1.15
Arch : noarch
Vendor : openSUSE
Installed Size : 114,5 KiB
Installed : No
Status : not installed
Source package : python-asteval-0.9.17-bp153.1.15.src
Summary : Safe, minimalistic evaluator of python expression using ast module
Description :
ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
Emphasis is on mathematical expressions, and so numpy ufuncs
are used if available. Symbols are held in the Interpreter
symbol table 'symtable': a simple dictionary supporting a
simple, flat namespace.
Expressions can be compiled into ast node for later evaluation,
using the values in the symbol table current at evaluation time.