How To Install libcheese-dev on Ubuntu 18.04

In this tutorial we learn how to install libcheese-dev on Ubuntu 18.04. libcheese-dev is tool to take pictures and videos from your webcam - base dev

Introduction

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

What is libcheese-dev

libcheese-dev is:

A webcam application that supports image and video capture. Makes it easy to take photos and videos of you, your friends, pets or whatever you want. Allows you to apply fancy visual effects, fine-control image settings and has features such as Multi-Burst mode, Countdown timer for photos.

This package contains the base development headers.

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

sudo apt-get -y install libcheese-dev

Install libcheese-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcheese-dev

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

sudo aptitude -y install libcheese-dev

How To Uninstall libcheese-dev on Ubuntu 18.04

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

sudo apt-get remove libcheese-dev

Uninstall libcheese-dev And Its Dependencies

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

sudo apt-get -y autoremove libcheese-dev

Remove libcheese-dev Configurations and Data

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

sudo apt-get -y purge libcheese-dev

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

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

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

References

Summary

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