How To Install libreoffice-base on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libreoffice-base on Ubuntu 20.04.
What is libreoffice-base
libreoffice-base 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 component for LibreOffice.
Package: libreoffice-base 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: 7010 Pre-Depends: dpkg (>= 1.19.1) Depends: libreoffice-base-core (= 1:6.4.2-0ubuntu3), libreoffice-base-drivers (= 1:6.4.2-0ubuntu3), libreoffice-common (>= 1:6.4.0~beta1-2~), libreoffice-core (= 1:6.4.2-0ubuntu3), libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 5), libuno-cppu3 (>= 4.4.0~alpha), libuno-cppuhelpergcc3-3 (>= 4.0.0~alpha), libuno-sal3 (>= 5.1.0~alpha), libuno-salhelpergcc3-3 (>= 1.4.0), uno-libs-private, ure Recommends: libreoffice-writer, libreoffice-java-common (>= 1:6.4.2~), default-jre (>= 2:1.8) | java8-runtime | jre Suggests: libreoffice-report-builder, python3-uno, unixodbc Breaks: libreoffice-common (« 1:6.4.2~rc1~) Replaces: libreoffice-common (« 1:6.4.2~rc1~) Filename: pool/universe/libr/libreoffice/libreoffice-base_6.4.2-0ubuntu3_amd64.deb Size: 1467236 MD5sum: de47dc8160d6c24323fbc7cad3c7b36a SHA1: 300d93c957912c91dae1b4968b6e37d8d9f5eb6b SHA256: 957cd04dacb3f85340fcd74a143ea4ea77b3505f6bbae2c4e96744359bb6df40 Homepage: http://www.libreoffice.org Description-en: office productivity suite – database LibreOffice is a full-featured office productivity suite that provides a near drop-in replacement for Microsoft(R) Office.
This package contains the database component for LibreOffice.
There are three methods to install libreoffice-base 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 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 using apt-get by running the following command:
sudo apt-get -y install libreoffice-base
Install libreoffice-base Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libreoffice-base using apt by running the following command:
sudo apt -y install libreoffice-base
Install libreoffice-base 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 using aptitude by running the following command:
sudo aptitude -y install libreoffice-base
How To Uninstall libreoffice-base on Ubuntu 20.04
To uninstall only the libreoffice-base package we can use the following command:
sudo apt-get remove libreoffice-base
Uninstall libreoffice-base And Its Dependencies
To uninstall libreoffice-base 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
Remove libreoffice-base Configurations and Data
To remove libreoffice-base configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libreoffice-base
Remove libreoffice-base configuration, data, and all of its dependencies
We can use the following command to remove libreoffice-base configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libreoffice-base
References
Summary
In this tutorial we learn how to install libreoffice-base package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.