How To Install python3-access2base on Ubuntu 20.04

In this tutorial we learn how to install python3-access2base on Ubuntu 20.04. python3-access2base is interface between Python and the LibreOffice Access2Base library interface between Python and the LibreOffice Access2Base library

Introduction

In this tutorial we learn how to install python3-access2base on Ubuntu 20.04.

What is python3-access2base

python3-access2base is:

Access2Base is a LibreOffice/OpenOffice Basic library of macros for (business or personal) application developers and advanced users.

Their syntax and their meaning are directly inspired by MSAccess. The macros are callable from

  • a LibreOffice / OpenOffice Base application,
  • any LibreOffice / OpenOffice document wanting to access data stored in databases.

This package contains an interface between Python (user) scripts and Access2Base.

Package: python3-access2base Architecture: all Version: 1:6.4.2-0ubuntu3 Priority: optional Section: universe/python Source: libreoffice Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian LibreOffice Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 297 Depends: libreoffice-base, libreoffice-common (>= 1:6.4.0~beta1-2~), python3-uno, python3:any Replaces: libreoffice-base Filename: pool/universe/libr/libreoffice/python3-access2base_6.4.2-0ubuntu3_all.deb Size: 19584 MD5sum: ff347ab9db3facbcd159724cd92392d3 SHA1: e60efbff46f527dc51b117041793061e94b88893 SHA256: dccfcf08b7ded150f0e13eeb2d179db524d9e52ded2e112058f2c1ccd8f78e9a Homepage: http://www.access2base.com/access2base.html Description-en: interface between Python and the LibreOffice Access2Base library Access2Base is a LibreOffice/OpenOffice Basic library of macros for (business or personal) application developers and advanced users.

Their syntax and their meaning are directly inspired by MSAccess. The macros are callable from

  • a LibreOffice / OpenOffice Base application,
  • any LibreOffice / OpenOffice document wanting to access data stored in databases.

This package contains an interface between Python (user) scripts and Access2Base.

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

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

sudo apt-get update

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

sudo apt-get -y install python3-access2base

Install python3-access2base Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-access2base

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

sudo aptitude -y install python3-access2base

How To Uninstall python3-access2base on Ubuntu 20.04

To uninstall only the python3-access2base package we can use the following command:

sudo apt-get remove python3-access2base

Uninstall python3-access2base And Its Dependencies

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

sudo apt-get -y autoremove python3-access2base

Remove python3-access2base Configurations and Data

To remove python3-access2base configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge python3-access2base

Remove python3-access2base configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-access2base

References

Summary

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