How To Install libcaca0 on Ubuntu 20.04

In this tutorial we learn how to install libcaca0 on Ubuntu 20.04. libcaca0 is colour ASCII art library colour ASCII art library

Introduction

In this tutorial we learn how to install libcaca0 on Ubuntu 20.04.

What is libcaca0

libcaca0 is:

libcaca is the Colour AsCii Art library. It provides high level functions for colour text drawing, simple primitives for line, polygon and ellipse drawing, as well as powerful image to text conversion routines.

This package contains the shared library for libcaca. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libcaca0 Architecture: amd64 Version: 0.99.beta19-2.1ubuntu1 Multi-Arch: same Priority: optional Section: libs Source: libcaca Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Sam Hocevar [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1052 Depends: libc6 (>= 2.14), libncursesw6 (>= 6), libslang2 (>= 2.2.4), libstdc++6 (>= 4.1.1), libtinfo6 (>= 6), zlib1g (>= 1:1.1.4) Filename: pool/main/libc/libcaca/libcaca0_0.99.beta19-2.1ubuntu1_amd64.deb Size: 202256 MD5sum: 643135d108acc747719c29a627c29dfd SHA1: 72d6651be8c1691ca34733c80ab028c1a4441c2a SHA256: f9e37a90ae72fb706d90f259e4571ca38770d5b854c55f72563d9d974e8df22c Homepage: http://caca.zoy.org/wiki/libcaca Description-en: colour ASCII art library libcaca is the Colour AsCii Art library. It provides high level functions for colour text drawing, simple primitives for line, polygon and ellipse drawing, as well as powerful image to text conversion routines.

This package contains the shared library for libcaca. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install libcaca0 on Ubuntu 20.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 libcaca0 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

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

sudo apt-get -y install libcaca0

Install libcaca0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcaca0 using apt by running the following command:

sudo apt -y install libcaca0

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

sudo aptitude -y install libcaca0

How To Uninstall libcaca0 on Ubuntu 20.04

To uninstall only the libcaca0 package we can use the following command:

sudo apt-get remove libcaca0

Uninstall libcaca0 And Its Dependencies

To uninstall libcaca0 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libcaca0

Remove libcaca0 Configurations and Data

To remove libcaca0 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libcaca0

Remove libcaca0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcaca0

References

Summary

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