How To Install python-pysqlite2-doc on Ubuntu 18.04

In this tutorial we learn how to install python-pysqlite2-doc on Ubuntu 18.04. python-pysqlite2-doc is Documentation for python-pysqlite2

Introduction

In this tutorial we learn how to install python-pysqlite2-doc on Ubuntu 18.04.

What is python-pysqlite2-doc

python-pysqlite2-doc is:

pysqlite is a DB-API 2.0-compliant database interface for SQLite.

SQLite is a relational database management system contained in a relatively small C library. It is a public domain project created by D. Richard Hipp. Unlike the usual client-server paradigm, the SQLite engine is not a standalone process with which the program communicates, but is linked in and thus becomes an integral part of the program. The library implements most of SQL-92 standard, including transactions, triggers and most of complex queries.

This package only contains the documentation.

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

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

sudo apt-get update

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

sudo apt-get -y install python-pysqlite2-doc

Install python-pysqlite2-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-pysqlite2-doc using apt by running the following command:

sudo apt -y install python-pysqlite2-doc

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

sudo aptitude -y install python-pysqlite2-doc

How To Uninstall python-pysqlite2-doc on Ubuntu 18.04

To uninstall only the python-pysqlite2-doc package we can use the following command:

sudo apt-get remove python-pysqlite2-doc

Uninstall python-pysqlite2-doc And Its Dependencies

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

sudo apt-get -y autoremove python-pysqlite2-doc

Remove python-pysqlite2-doc Configurations and Data

To remove python-pysqlite2-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-pysqlite2-doc

Remove python-pysqlite2-doc configuration, data, and all of its dependencies

We can use the following command to remove python-pysqlite2-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-pysqlite2-doc

References

Summary

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