How To Install sqv on Ubuntu 20.04

In this tutorial we learn how to install sqv on Ubuntu 20.04. sqv is Simple OpenPGP signature verification program

Introduction

In this tutorial we learn how to install sqv on Ubuntu 20.04.

What is sqv

sqv is:

This package contains the following binaries built from the Rust crate “sequoia-sqv”:

  • sqv X-Cargo-Built-Using: gcc-9 (= 9.2.1-28ubuntu1), rust-aho-corasick (= 0.7.8-1), rust-ansi-term (= 0.12.1-1), rust-atty (= 0.2.13-2), rust-backtrace (= 0.3.44-1), rust-backtrace-sys (= 0.1.32-2), rust-base64 (= 0.11.0-1), rust-bitflags (= 1.2.1-1), rust-buffered-reader (= 0.14.0-1), rust-c2-chacha (= 0.2.2-1), rust-cfg-if (= 0.1.10-2build1), rust-chrono (= 0.4.9-2), rust-clap (= 2.33.0-5), rust-failure (= 0.1.6-2), rust-getrandom (= 0.1.13-4), rust-idna (= 0.2.0-1), rust-lalrpop-util (= 0.17.2-1), rust-lazy-static (= 1.4.0-1), rust-libc (= 0.2.66-1), rust-matches (= 0.1.8-1), rust-memchr (= 2.2.1-1), rust-memsec (= 0.5.6-2), rust-nettle (= 5.0.3-2), rust-nettle-sys (= 2.0.4-2), rust-num-integer (= 0.1.42-1), rust-num-traits (= 0.2.11-1+doctestfix), rust-ppv-lite86 (= 0.2.5-2), rust-quickcheck (= 0.9.0-2), rust-rand-chacha (= 0.2.1-1), rust-rand-core (= 0.5.1-1), rust-rand (= 0.7.2-1), rust-regex (= 1.2.1-3), rust-regex-syntax (= 0.6.13-1), rust-rustc-demangle (= 0.1.16-3), rust-sequoia-openpgp (= 0.14.0-1), rust-smallvec (= 1.1.0-1), rust-strsim (= 0.9.3-1), rust-textwrap (= 0.11.0-1build1), rust-thread-local (= 0.3.6-1), rust-time (= 0.1.42-1), rust-unicode-bidi (= 0.3.4-2), rust-unicode-normalization (= 0.1.11-1), rust-unicode-width (= 0.1.7-1), rust-vec-map (= 0.8.1-2), rustc (= 1.39.0+dfsg1+llvm-3ubuntu1)

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

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

sudo apt-get update

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

sudo apt-get -y install sqv

Install sqv Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sqv

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

sudo aptitude -y install sqv

How To Uninstall sqv on Ubuntu 20.04

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

sudo apt-get remove sqv

Uninstall sqv And Its Dependencies

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

sudo apt-get -y autoremove sqv

Remove sqv Configurations and Data

To remove sqv configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge sqv

Remove sqv configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sqv

References

Summary

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