How To Install libfreecell-solver-dev on Ubuntu 18.04

In this tutorial we learn how to install libfreecell-solver-dev on Ubuntu 18.04. libfreecell-solver-dev is Library for solving Freecell games (Development files)

Introduction

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

What is libfreecell-solver-dev

libfreecell-solver-dev is:

Freecell Solver is a library for automatically solving boards of Freecell and similar variants of card Solitaire. This package contains the header files and static libraries necessary for developing programs using Freecell Solver.

This package contains the files necessary to produce binaries which are linked against libfreecell-solver.

There are three methods to install libfreecell-solver-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 libfreecell-solver-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 libfreecell-solver-dev using apt-get by running the following command:

sudo apt-get -y install libfreecell-solver-dev

Install libfreecell-solver-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfreecell-solver-dev

Install libfreecell-solver-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 libfreecell-solver-dev using aptitude by running the following command:

sudo aptitude -y install libfreecell-solver-dev

How To Uninstall libfreecell-solver-dev on Ubuntu 18.04

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

sudo apt-get remove libfreecell-solver-dev

Uninstall libfreecell-solver-dev And Its Dependencies

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

sudo apt-get -y autoremove libfreecell-solver-dev

Remove libfreecell-solver-dev Configurations and Data

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

sudo apt-get -y purge libfreecell-solver-dev

Remove libfreecell-solver-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfreecell-solver-dev

References

Summary

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