How To Install libreoffice-base-drivers on Kali Linux
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 updateAfter updating apt database, We can install libreoffice-base-drivers using apt-get by running the following command:
sudo apt-get -y install libreoffice-base-driversInstall libreoffice-base-drivers Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libreoffice-base-drivers using apt by running the following command:
sudo apt -y install libreoffice-base-driversInstall 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 updateAfter updating apt database, We can install libreoffice-base-drivers using aptitude by running the following command:
sudo aptitude -y install libreoffice-base-driversHow 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-driversUninstall 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-driversRemove 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-driversRemove 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-driversDependencies
libreoffice-base-drivers have the following dependencies:
- libreoffice-core-nogui
- libc6
- libgcc-s1
- libstdc++6
- libuno-cppu3
- libuno-cppuhelpergcc3-3
- libuno-sal3
- libuno-salhelpergcc3-3
- uno-libs-private
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.