How To Install libreoffice-base-drivers on Kali Linux

In this tutorial we learn how to install libreoffice-base-drivers on Kali Linux. libreoffice-base-drivers is Database connectivity drivers for LibreOffice

Introduction

In this tutorial we learn how to install libreoffice-base-drivers on Kali Linux.

What is libreoffice-base-drivers

libreoffice-base-drivers is:

LibreOffice is a full-featured office productivity suite that provides a near drop-in replacement for Microsoft(R) Office.

This package contains the database connectivity drivers used by LibreOffices database functionality:

  • ODBC
  • JDBC
  • dBase
  • Calc
  • Flat files

You can extend this by installing:

  • unixodbc: ODBC database support
  • libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | odbc-mdbtools: ODBC drivers for:
    • MySQL
    • PostgreSQL
    • SQLite
    • MS SQL / Sybase SQL
    • *.mdb (JET / MS Access)
  • libmariadb-java | libpg-java | libjtds-java: JDBC Drivers for:
    • MySQL/MariaDB
    • PostgreSQL
    • MS SQL Server and Sybase
  • libreoffice-sdbc-hsqldb: embedded HSQLDB SDBC Driver
  • libreoffice-sdbc-firebird: Firebird SDBC Driver
  • libreoffice-sdbc-postgresql: PostgreSQL SDBC Driver
  • libreoffice-sdbc-mysql: MySQL/MariaDB SDBC Driver

There are three methods to install libreoffice-base-drivers on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libreoffice-base-drivers Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libreoffice-base-drivers

Install libreoffice-base-drivers Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libreoffice-base-drivers using apt by running the following command:

sudo apt -y install libreoffice-base-drivers

Install libreoffice-base-drivers Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libreoffice-base-drivers using aptitude by running the following command:

sudo aptitude -y install libreoffice-base-drivers

How To Uninstall libreoffice-base-drivers on Kali Linux

To uninstall only the libreoffice-base-drivers package we can use the following command:

sudo apt-get remove libreoffice-base-drivers

Uninstall libreoffice-base-drivers And Its Dependencies

To uninstall libreoffice-base-drivers and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libreoffice-base-drivers

Remove libreoffice-base-drivers Configurations and Data

To remove libreoffice-base-drivers configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libreoffice-base-drivers

Remove libreoffice-base-drivers configuration, data, and all of its dependencies

We can use the following command to remove libreoffice-base-drivers configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libreoffice-base-drivers

Dependencies

libreoffice-base-drivers have the following dependencies:

References

Summary

In this tutorial we learn how to install libreoffice-base-drivers package on Kali Linux using different package management tools: apt, apt-get and aptitude.