How To Install boolstuff-dev on Debian 9
Introduction
In this tutorial we learn how to install boolstuff-dev on Debian 9.
What is boolstuff-dev
boolstuff-dev is:
BoolStuff is a C++ library that supports a few operations on boolean expression binary trees. The main features are:
- a simple boolean expression parser (supports operators AND, OR and NOT, as well as parentheses)
- an algorithm to convert a boolean expression binary tree into its Disjunctive Normal Form (this algorithm supports the NOT operator)
- a function that determines if an expression tree is in DNF.
This package includes the development files for using the library from inside your programs.
There are three methods to install boolstuff-dev on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install boolstuff-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install boolstuff-dev using apt-get by running the following command:
sudo apt-get -y install boolstuff-dev
Install boolstuff-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install boolstuff-dev using apt by running the following command:
sudo apt -y install boolstuff-dev
Install boolstuff-dev 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 boolstuff-dev using aptitude by running the following command:
sudo aptitude -y install boolstuff-dev
How To Uninstall boolstuff-dev on Debian 9
To uninstall only the boolstuff-dev package we can use the following command:
sudo apt-get remove boolstuff-dev
Uninstall boolstuff-dev And Its Dependencies
To uninstall boolstuff-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove boolstuff-dev
Remove boolstuff-dev Configurations and Data
To remove boolstuff-dev configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge boolstuff-dev
Remove boolstuff-dev configuration, data, and all of its dependencies
We can use the following command to remove boolstuff-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge boolstuff-dev
Dependencies
boolstuff-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install boolstuff-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.