How To Install libfccp-dev on Ubuntu 18.04

In this tutorial we learn how to install libfccp-dev on Ubuntu 18.04. libfccp-dev is Fast C++ CSV Parser

Introduction

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

What is libfccp-dev

libfccp-dev is:

fast-cpp-cvs-parser is a small, easy-to-use and fast header-only library for reading comma separated value (CSV) files. The library is completely contained inside a single header file. The library can used with a standard conformant C++11 compiler.

Feature list:

  • Automatically rearranges columns by parsing the header line.
  • Disk I/O and CSV-parsing are overlapped using threads for efficiency.
  • Parsing features such as escaped strings can be enabled and disabled at compile time using templates.
  • Can read multiple GB files in reasonable time.
  • Support for custom columns separators (i.e. Tab separated value files are supported), quote escaped strings, automatic space trimming.
  • Works with *nix and Windows newlines and automatically ignores UTF-8 BOMs.
  • Exception classes with enough context to format useful error messages.
  • what() returns error messages ready to be shown to a user.

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

sudo apt-get -y install libfccp-dev

Install libfccp-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfccp-dev

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

sudo aptitude -y install libfccp-dev

How To Uninstall libfccp-dev on Ubuntu 18.04

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

sudo apt-get remove libfccp-dev

Uninstall libfccp-dev And Its Dependencies

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

sudo apt-get -y autoremove libfccp-dev

Remove libfccp-dev Configurations and Data

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

sudo apt-get -y purge libfccp-dev

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

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

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

References

Summary

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