How To Install libreofficekit-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libreofficekit-dev on Ubuntu 20.04.
What is libreofficekit-dev
libreofficekit-dev is:
LibreOfficeKit can be used for accessing LibreOffice functionality through C/C++, without any need to use UNO.
For now it only offers document conversion (in addition to an experimental tiled rendering API).
This package contains the headers needed for using LibreOfficeKit.
Package: libreofficekit-dev Architecture: amd64 Version: 1:6.4.2-0ubuntu3 Priority: optional Section: libdevel 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: 398 Depends: gir1.2-lokdocview-0.1 (= 1:6.4.2-0ubuntu3) Recommends: libreoffice-core, libreofficekit-data Suggests: libgtk-3-dev Replaces: gir1.2-lokdocview-0.1 (« 1:5.4.0~rc1) Filename: pool/main/libr/libreoffice/libreofficekit-dev_6.4.2-0ubuntu3_amd64.deb Size: 32148 MD5sum: 2b4124a254457f1da7c6d863e4d8b385 SHA1: d0758f46234efc0189fc2ce025b062f0ec4354ca SHA256: d43e0d56e2426f44dd6dc9747748ee999fac3231b6ecc42a6f085410e037d4d2 Homepage: http://www.libreoffice.org Description-en: LibreOfficeKit – headers LibreOfficeKit can be used for accessing LibreOffice functionality through C/C++, without any need to use UNO.
For now it only offers document conversion (in addition to an experimental tiled rendering API).
This package contains the headers needed for using LibreOfficeKit.
There are three methods to install libreofficekit-dev 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 libreofficekit-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libreofficekit-dev using apt-get by running the following command:
sudo apt-get -y install libreofficekit-dev
Install libreofficekit-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libreofficekit-dev using apt by running the following command:
sudo apt -y install libreofficekit-dev
Install libreofficekit-dev 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 libreofficekit-dev using aptitude by running the following command:
sudo aptitude -y install libreofficekit-dev
How To Uninstall libreofficekit-dev on Ubuntu 20.04
To uninstall only the libreofficekit-dev package we can use the following command:
sudo apt-get remove libreofficekit-dev
Uninstall libreofficekit-dev And Its Dependencies
To uninstall libreofficekit-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libreofficekit-dev
Remove libreofficekit-dev Configurations and Data
To remove libreofficekit-dev configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libreofficekit-dev
Remove libreofficekit-dev configuration, data, and all of its dependencies
We can use the following command to remove libreofficekit-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libreofficekit-dev
References
Summary
In this tutorial we learn how to install libreofficekit-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.