How To Install ucd-generate on Ubuntu 20.04
Introduction
In this tutorial we learn how to install ucd-generate
on Ubuntu 20.04.
What is ucd-generate
ucd-generate is:
A command line tool to generate Unicode tables in Rust source code.
Tables can typically be generated in one of three formats: a sorted sequence of character ranges, a finite state transducer or a compressed trie. Full support for name canonicalization is also provided. This tool also supports serializing regular expressions as DFAs using the regex-automata crate.
This package contains the following binaries built from the Rust crate “ucd-generate”:
- ucd-generate X-Cargo-Built-Using: rust-aho-corasick (= 0.7.8-1), rust-ansi-term (= 0.12.1-1), rust-atty (= 0.2.13-2), rust-bitflags (= 1.2.1-1), rust-byteorder (= 1.3.2-2), rust-clap (= 2.33.0-5), rust-fst (= 0.3.5-1), rust-lazy-static (= 1.4.0-1), rust-libc (= 0.2.66-1), rust-memchr (= 2.2.1-1), rust-regex-automata (= 0.1.8-2), rust-regex (= 1.2.1-3), rust-regex-syntax (= 0.6.13-1), rust-strsim (= 0.9.3-1), rust-textwrap (= 0.11.0-1build1), rust-thread-local (= 0.3.6-1), rust-ucd-parse (= 0.1.4-1), rust-ucd-trie (= 0.1.2-1), rust-ucd-util (= 0.1.5-1), rust-unicode-width (= 0.1.7-1), rust-utf8-ranges (= 1.0.4-1), rustc (= 1.41.0+dfsg1+llvm-0ubuntu1)
There are three methods to install ucd-generate
on Ubuntu 20.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 ucd-generate Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ucd-generate
using apt-get
by running the following command:
sudo apt-get -y install ucd-generate
Install ucd-generate Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ucd-generate
using apt
by running the following command:
sudo apt -y install ucd-generate
Install ucd-generate 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 ucd-generate
using aptitude
by running the following command:
sudo aptitude -y install ucd-generate
How To Uninstall ucd-generate on Ubuntu 20.04
To uninstall only the ucd-generate
package we can use the following command:
sudo apt-get remove ucd-generate
Uninstall ucd-generate And Its Dependencies
To uninstall ucd-generate
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove ucd-generate
Remove ucd-generate Configurations and Data
To remove ucd-generate
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge ucd-generate
Remove ucd-generate configuration, data, and all of its dependencies
We can use the following command to remove ucd-generate
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ucd-generate
References
Summary
In this tutorial we learn how to install ucd-generate
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.