How To Install libreoffice-officebean on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libreoffice-officebean on Ubuntu 22.04.
What is libreoffice-officebean
libreoffice-officebean is:
LibreOffice is a full-featured office productivity suite that provides a near drop-in replacement for Microsoft(R) Office.
This package formerly contained binaries for the the LibreOffice Office Bean for embedding LibreOffice in custom Java applications.
This has now been merged into libofficebean-java so this package can safely be removed.
There are three methods to install libreoffice-officebean on Ubuntu 22.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-officebean 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-officebean using apt-get by running the following command:
sudo apt-get -y install libreoffice-officebean
Install libreoffice-officebean Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libreoffice-officebean using apt by running the following command:
sudo apt -y install libreoffice-officebean
Install libreoffice-officebean 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-officebean using aptitude by running the following command:
sudo aptitude -y install libreoffice-officebean
How To Uninstall libreoffice-officebean on Ubuntu 22.04
To uninstall only the libreoffice-officebean package we can use the following command:
sudo apt-get remove libreoffice-officebean
Uninstall libreoffice-officebean And Its Dependencies
To uninstall libreoffice-officebean and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libreoffice-officebean
Remove libreoffice-officebean Configurations and Data
To remove libreoffice-officebean configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libreoffice-officebean
Remove libreoffice-officebean configuration, data, and all of its dependencies
We can use the following command to remove libreoffice-officebean configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libreoffice-officebean
References
Summary
In this tutorial we learn how to install libreoffice-officebean package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.