How To Install kleborate-examples on Ubuntu 22.04

In this tutorial we learn how to install kleborate-examples on Ubuntu 22.04. kleborate-examples is tool to screen Klebsiella genome assemblies (example data)

Introduction

In this tutorial we learn how to install kleborate-examples on Ubuntu 22.04.

What is kleborate-examples

kleborate-examples is:

Kleborate is a tool to screen Klebsiella genome assemblies for:

  • MLST sequence type
  • species (e.g. K. pneumoniae, K. quasipneumoniae, K. variicola, etc.)
  • ICEKp associated virulence loci: yersiniabactin (ybt), colibactin (clb)
  • virulence plasmid associated loci: salmochelin (iro), aerobactin (iuc), hypermucoidy (rmpA, rmpA2)
  • antimicrobial resistance genes, including quinolone resistance SNPs and colistin resistance truncations
  • K (capsule) and O antigen (LPS) serotype prediction, via wzi alleles and Kaptive

This package provides example data end tests that are used in autopkgtest.

There are three methods to install kleborate-examples on Ubuntu 22.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 kleborate-examples Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install kleborate-examples

Install kleborate-examples Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install kleborate-examples

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

sudo aptitude -y install kleborate-examples

How To Uninstall kleborate-examples on Ubuntu 22.04

To uninstall only the kleborate-examples package we can use the following command:

sudo apt-get remove kleborate-examples

Uninstall kleborate-examples And Its Dependencies

To uninstall kleborate-examples and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove kleborate-examples

Remove kleborate-examples Configurations and Data

To remove kleborate-examples configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge kleborate-examples

Remove kleborate-examples configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge kleborate-examples

References

Summary

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