How To Install libsynfig-dev on Ubuntu 18.04

In this tutorial we learn how to install libsynfig-dev on Ubuntu 18.04. libsynfig-dev is synfig library development files

Introduction

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

What is libsynfig-dev

libsynfig-dev is:

synfig is a vector based 2D animation package. It is designed to be capable of producing feature-film quality animation.

This package contains headers and other files needed to develop applications using the shared library and plugin modules.

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

sudo apt-get -y install libsynfig-dev

Install libsynfig-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsynfig-dev

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

sudo aptitude -y install libsynfig-dev

How To Uninstall libsynfig-dev on Ubuntu 18.04

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

sudo apt-get remove libsynfig-dev

Uninstall libsynfig-dev And Its Dependencies

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

sudo apt-get -y autoremove libsynfig-dev

Remove libsynfig-dev Configurations and Data

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

sudo apt-get -y purge libsynfig-dev

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

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

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

References

Summary

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