How To Install python-kiwisolver on Debian 10

Learn how to install python-kiwisolver on Debian 10 with this tutorial. python-kiwisolver is fast implementation of the Cassowary constraint solver - Python 2.X

Introduction

In this tutorial we learn how to install python-kiwisolver on Debian 10.

What is python-kiwisolver

python-kiwisolver is:

Kiwi is an efficient C++ implementation of the Cassowary constraint solving algorithm. Kiwi is an implementation of the algorithm based on the seminal Cassowary paper. It is not a refactoring of the original C++ solver. Kiwi has been designed from the ground up to be lightweight and fast. Kiwi ranges from 10x to 500x faster than the original Cassowary solver with typical use cases gaining a 40x improvement. Memory savings are consistently > 5x.

In addition to the C++ solver, Kiwi ships with hand-rolled Python bindings.

This package contains the Python 2 version of kiwisolver.

There are three methods to install python-kiwisolver on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-kiwisolver Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python-kiwisolver using apt-get by running the following command:

sudo apt-get -y install python-kiwisolver

Install python-kiwisolver Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-kiwisolver using apt by running the following command:

sudo apt -y install python-kiwisolver

Install python-kiwisolver Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-kiwisolver using aptitude by running the following command:

sudo aptitude -y install python-kiwisolver

How To Uninstall python-kiwisolver on Debian 10

To uninstall only the python-kiwisolver package we can use the following command:

sudo apt-get remove python-kiwisolver

Uninstall python-kiwisolver And Its Dependencies

To uninstall python-kiwisolver and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove python-kiwisolver

Remove python-kiwisolver Configurations and Data

To remove python-kiwisolver configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge python-kiwisolver

Remove python-kiwisolver configuration, data, and all of its dependencies

We can use the following command to remove python-kiwisolver configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-kiwisolver

Dependencies

python-kiwisolver have the following dependencies:

References

Summary

In this tutorial we learn how to install python-kiwisolver package on Debian 10 using different package management tools: apt, apt-get and aptitude.