LibreOffice it is a free open source office software. It is a free alternative to Microsoft Office. It has applications for database management, spreadsheets, presentations, word processor and graphical editing. It works on Linux, macOS and Microsoft Windows. Since LibreOffice has several versions. The current versions are 6.3.x and 6.4.x. In this article, I am going to install the latest LibreOffice 6.4.
- The machine is using Debian 10.
- The user must be familiar with the Sudo command and be a sudo user.
Installing LibreOffice on Debian 10
To install LibreOffice on Debian 10, you need to follow these steps:
Step 1. Open Terminal in Debian 10
Go to lower left desktop and click Menu icon.
Go to search bar on top left…
A type “Terminal” there and click on “Multilingual terminal“.
Press on “Multilingual terminal” and it will show the next display.
Step 2. Uninstall all existing versions of LibreOffice.
If you already have LibreOffice software installed on your computer or computer, you will need to uninstall it first. By running the following command, you can uninstall any existing LibreOffice package on your PC or computer.
$ sudo apt-get remove libreoffice-core
By running the above command, it will ask you if you want to continue or not. Enter “Y” and press enter. After pressing the enter key, uninstalling LibreOffice will begin and upon completion you will receive the following screen:
If you also want to delete the LibreOffice configuration files, run the following command:
$ sudo apt-get remove --purge libreoffice-core
Executing the above command will ask you for confirmation if you want to continue or not. Type Y and press Enter. Pressing Enter will begin deleting the LibreOffice configuration files. On successful completion, you will receive the following screen:
Step 3. Install LibreOffice version 6.4.
Now, to install LibreOffice version 6.4, you need to follow these steps:
Step 3.1: Download the latest LibreOffice Debian packages
Go to the official LibreOffice download page www.libreoffice.org/download/ and download LibreOffice version 6.4. AT user can choose 64-bit deb or 64-bit rpm depending on his / her PC or work requirements. For this particular article, I choose Linux (64-bit) (deb) and Press on Download.
Step 3.2: Now extract the downloaded .deb packages.
.Deb packages will be in “Downloads” catalog. The packages will “Compressed” and have “File extension .tar.gz”. Find in Downloads a file named:
Take a look at the highlighted image attached below.
Having found the file, right click the file name and click on “Extract here” as shown in the image below.… Unpack all language packs. You can delete the tar.gz archive (s) after the extraction process.
Once extracted, you can also see the extracted file under Downloads as shown in the attached image below.
Step 3.3: Install LibreOffice .deb packages
Open a Debian terminal. Go to the .deb packages directory located under Downloads. Change the current directory by running the following command and press Enter:
$ cd ~/Downloads/LibreOffice_188.8.131.52_Linux_x86-64_deb/DEBS
- Now after switching to the desired directory. Install all “.Deb packages” by running the following command:
$ sudo dpkg -i *.deb
Here * stands for all packages ending in .deb. The above command will install “.deb ” packages.
Step 3.4: Launch LibreOffice 6.4
Now after installing all .deb packages from Downloads directory. You don’t need to restart your computer or machine. Start LibreOffice by executing one of the following commands:
Executing any of the above commands will launch LibreOffice 6.4 and display the following screen:
Removing LibreOffice Version 6.4
If you want to uninstall LibreOffice for any reason, run the following command:
$ sudo apt-get remove libreoffice6.4*
After executing the above command, it will ask you if you want to continue or not. Type Y and press Enter if you want to uninstall LibreOffice.
If you want to uninstall the development version of LibreOffice, run the following command:
$ sudo apt-get remove lodev*
This article is extremely helpful for new users when installing LibreOffice version 6.4 software on Linux (Debian 10). The article also explains and demonstrates the commands required to uninstall the LibreOffice package if the user wants to for any reason, or to remove pre-existing LibreOffice package dependencies and configuration files.
How to install the latest LibreOffice on Debian 10