How To Install cldump on Ubuntu 22.04

In this tutorial we learn how to install cldump on Ubuntu 22.04. cldump is Clarion database files extractor

Introduction

In this tutorial we learn how to install cldump on Ubuntu 22.04.

What is cldump

cldump is:

The cldump utility allows you to extract the content of a Clarion database; Clarion is a Windows IDE similar to Delphi and others, and has its own (simple) database format.

cldump can export the content of the database to CSV or SQL, plus its own “format” which dumps all the meta data along with the data contained in the database. When using the SQL output, you’ll get a nearly ready-to-go dump of the database that will create the table and the indexes and insert the data into the table.

Note that cldump doesn’t support all the datatypes yet; patches welcome.

You may be interested in the dbview package too, which can dump dBase files.

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

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

sudo apt-get update

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

sudo apt-get -y install cldump

Install cldump Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cldump

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

sudo aptitude -y install cldump

How To Uninstall cldump on Ubuntu 22.04

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

sudo apt-get remove cldump

Uninstall cldump And Its Dependencies

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

sudo apt-get -y autoremove cldump

Remove cldump Configurations and Data

To remove cldump configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge cldump

Remove cldump configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cldump

References

Summary

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