How To Install libdatabase-dumptruck-perl on Ubuntu 18.04

In this tutorial we learn how to install libdatabase-dumptruck-perl on Ubuntu 18.04. libdatabase-dumptruck-perl is document-oriented interface to a SQLite database

Introduction

In this tutorial we learn how to install libdatabase-dumptruck-perl on Ubuntu 18.04.

What is libdatabase-dumptruck-perl

libdatabase-dumptruck-perl is:

Database::DumpTruck is a simple document-oriented interface to a SQLite database, modelled after Scraperwiki’s Python dumptruck module. It allows for easy (and maybe inefficient) storage and retrieval of structured data to and from a database without interfacing with SQL.

The module attempts to identify the type of the data you’re inserting and uses an appropriate SQLite type.

There are three methods to install libdatabase-dumptruck-perl 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 libdatabase-dumptruck-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libdatabase-dumptruck-perl

Install libdatabase-dumptruck-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdatabase-dumptruck-perl using apt by running the following command:

sudo apt -y install libdatabase-dumptruck-perl

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

sudo aptitude -y install libdatabase-dumptruck-perl

How To Uninstall libdatabase-dumptruck-perl on Ubuntu 18.04

To uninstall only the libdatabase-dumptruck-perl package we can use the following command:

sudo apt-get remove libdatabase-dumptruck-perl

Uninstall libdatabase-dumptruck-perl And Its Dependencies

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

sudo apt-get -y autoremove libdatabase-dumptruck-perl

Remove libdatabase-dumptruck-perl Configurations and Data

To remove libdatabase-dumptruck-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libdatabase-dumptruck-perl

Remove libdatabase-dumptruck-perl configuration, data, and all of its dependencies

We can use the following command to remove libdatabase-dumptruck-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libdatabase-dumptruck-perl

References

Summary

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