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

Last updated: May 17,2024

1. Install "python2-HeapDict" package

This tutorial shows how to install python2-HeapDict on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-HeapDict

2. Uninstall "python2-HeapDict" package

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

$ sudo zypper remove python2-HeapDict

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

Information for package python2-HeapDict:
-----------------------------------------
Repository : Main Repository
Name : python2-HeapDict
Version : 1.0.1-bp153.1.17
Arch : noarch
Vendor : openSUSE
Installed Size : 11,9 KiB
Installed : No
Status : not installed
Source package : python-HeapDict-1.0.1-bp153.1.17.src
Summary : A heap with decrease-key and increase-key operations
Description :
HeapDict implements the MutableMapping ABC, meaning it works pretty
much like a regular Python dict. It's designed to be used as a
priority queue.
Unlike the Python standard library's heapq module, the HeapDict
supports efficiently changing the priority of an existing object
(often called "decrease-key" in textbooks). Altering the priority is
important for many algorithms such as Dijkstra's Algorithm and A*.