How To Install csvimp on Ubuntu 18.04

In this tutorial we learn how to install csvimp on Ubuntu 18.04. csvimp is CSV data import tool for xTuple applications

Introduction

In this tutorial we learn how to install csvimp on Ubuntu 18.04.

What is csvimp

csvimp is:

A tool designed to import Comma Separated Value (CSV) files into the database for the xTuple Applications (PostBooks and OpenMFG).

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

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

sudo apt-get update

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

sudo apt-get -y install csvimp

Install csvimp Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install csvimp

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

sudo aptitude -y install csvimp

How To Uninstall csvimp on Ubuntu 18.04

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

sudo apt-get remove csvimp

Uninstall csvimp And Its Dependencies

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

sudo apt-get -y autoremove csvimp

Remove csvimp Configurations and Data

To remove csvimp configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge csvimp

Remove csvimp configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge csvimp

References

Summary

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