How To Install libreoffice-base-drivers on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libreoffice-base-drivers on Ubuntu 20.04.
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
Package: libreoffice-base-drivers Architecture: amd64 Version: 1:6.4.2-0ubuntu3 Priority: optional Section: universe/database 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: 2703 Depends: libreoffice-core-nogui | libreoffice-core, libc6 (>= 2.29), libgcc-s1 (>= 3.0), libstdc++6 (>= 5), libuno-cppu3 (>= 4.4.0~alpha), libuno-cppuhelpergcc3-3 (>= 5.3.0~alpha), libuno-sal3 (>= 5.3.0~alpha), libuno-salhelpergcc3-3 (>= 1.4.0), uno-libs-private, ure Recommends: libreoffice-sdbc-firebird Suggests: libjtds-java, libreoffice-sdbc-hsqldb, libreoffice-sdbc-mysql | libmyodbc | libmariadb-java, libreoffice-sdbc-postgresql | odbc-postgresql | libpg-java, libsqliteodbc | tdsodbc | odbc-mdbtools Breaks: libreoffice-base (« 1:4.3.0-3) Replaces: libreoffice-base (« 1:4.3.0-3), libreoffice-core (« 1:6.2.0~beta1~) Filename: pool/universe/libr/libreoffice/libreoffice-base-drivers_6.4.2-0ubuntu3_amd64.deb Size: 511472 MD5sum: bc340f9c521b4924f4e43e1d387d1950 SHA1: 4f6005972df0743bb651a805fca7007ea3ebcdff SHA256: b84d1c6bb0eeaa6d9060022fb871d773fd3402fe28539f4594387c4b79770df0 Homepage: http://www.libreoffice.org Description-en: Database connectivity drivers for LibreOffice 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 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 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 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 libreoffice-base-drivers using aptitude by running the following command:
sudo aptitude -y install libreoffice-base-drivers
How To Uninstall libreoffice-base-drivers on Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install libreoffice-base-drivers package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.