How To Install libucto-dev on Ubuntu 18.04

In this tutorial we learn how to install libucto-dev on Ubuntu 18.04. libucto-dev is Unicode Tokenizer - development

Introduction

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

What is libucto-dev

libucto-dev is:

Ucto can tokenize UTF-8 encoded text files (i.e. separate words from punctuation, split sentences, generate n-grams), and offers several other basic preprocessing steps that make your text suited for further processing such as indexing, part-of-speech tagging, or machine translation.

This package provides C++ headers for the programming library.

Ucto was written by Maarten van Gompel and Ko van der Sloot. Work on Ucto was funded by NWO, the Netherlands Organisation for Scientific Research, under the Implicit Linguistics project, the CLARIN-NL program, and the CLARIAH project.

Ucto is a product of the Centre of Language and Speech Technology (Radboud University Nijmegen), and previously the ILK Research Group (Tilburg University, The Netherlands).

If you are interested in machine parsing of UTF-8 encoded text files, e.g. to do scientific research in natural language processing, ucto will likely be of use to you.

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

sudo apt-get -y install libucto-dev

Install libucto-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libucto-dev

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

sudo aptitude -y install libucto-dev

How To Uninstall libucto-dev on Ubuntu 18.04

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

sudo apt-get remove libucto-dev

Uninstall libucto-dev And Its Dependencies

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

sudo apt-get -y autoremove libucto-dev

Remove libucto-dev Configurations and Data

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

sudo apt-get -y purge libucto-dev

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

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

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

References

Summary

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