How To Install libqqwing-dev on Ubuntu 18.04

In this tutorial we learn how to install libqqwing-dev on Ubuntu 18.04. libqqwing-dev is tool for generating and solving Sudoku puzzles (development)

Introduction

In this tutorial we learn how to install libqqwing-dev on Ubuntu 18.04.

What is libqqwing-dev

libqqwing-dev is:

Sudoku puzzle generator and solver. It offers the following features: *Can solve 1000 puzzles in 1 second and generate 1000 puzzles in 25 seconds. *Uses logic. Uses as many solve techniques as possible when solving puzzles rather than guessing. *Rates puzzles. Most generators don’t give an indication of the difficulty of a Sudoku puzzle. QQwing does. *Can print solve instructions for any puzzle. *Customizable output style, including a CSV style that is easy to import into a database.

This contains the development headers

There are three methods to install libqqwing-dev on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libqqwing-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 libqqwing-dev using apt-get by running the following command:

sudo apt-get -y install libqqwing-dev

Install libqqwing-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libqqwing-dev

Install libqqwing-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libqqwing-dev

How To Uninstall libqqwing-dev on Ubuntu 18.04

To uninstall only the libqqwing-dev package we can use the following command:

sudo apt-get remove libqqwing-dev

Uninstall libqqwing-dev And Its Dependencies

To uninstall libqqwing-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libqqwing-dev

Remove libqqwing-dev Configurations and Data

To remove libqqwing-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libqqwing-dev

Remove libqqwing-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libqqwing-dev

References

Summary

In this tutorial we learn how to install libqqwing-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.