Home » Install LibreOffice in Kali Linux

Install LibreOffice in Kali Linux

by Online Tutorials Library

Install LibreOffice in Kali Linux

Kali Linux is one of the most famous distros for hacking and penetration testing, but it does not come with office software. Thus, we can install LibreOffice on Kali Linux using only one terminal command, if needed.

After Apache OpenOffice, LibreOffice is another widely used free and open-source office. In the free category, LibreOffice is one of the finest alternatives to Microsoft office. It includes all of the modules which we need to complete our document-related activities.

From word processing to a spreadsheet and the development of presentations, all aspects are covered. In addition to many other formats, Microsoft formats like DOC and DOCX are also supported.

What is LibreOffice?

LibreOffice is a free and powerful office suite that is used by millions of people all over the world. It is a simple interface and feature-rich tool which help us to unleash our creativity and increase our productivity.

LibreOffice contains a various application which makes it the most versatile free and open-source office suite on the market:

  • Writer (word processing) = MS Word
  • Calc (spreadsheets) = Microsoft Excel
  • Impress (presentations) = Microsoft PowerPoint
  • Draw (vector graphics and flowcharts).
  • Base (databases), = MS Access
  • Math (formula editing).

Supported Documents Extension by LibreOffice

LibreOffice is compatible with a wide range of document formats like Microsoft Word (.doc, .docx), Excel (.xls, .xlsx), PowerPoint (.ppt, .pptx) and Publisher.

However, LibreOffice goes much farther with its native support for a modern and open standard, the Open Document Format (ODF).

Method 1: How to Install LibreOffice in Kali Linux Using Terminal

We have to follow the following steps to install LibreOffice in Kali Linux using terminal:

1. First, we have to open the terminal.

2. Next, we have to update Kali Linux with the help of the following command:

Install LibreOffice in Kali Linux

When we run the apt-get update command, we have to take care of one thing, which is, we have added the kali Linux repository. If we forget to add repository source in the source.list file then we might face some problem,

3. Now, by executing the following command, we can install the LibreOffice in Kali Linux:

Install LibreOffice in Kali Linux

4. Run LibreOffice. In order to run it, we have to go to All Application and search for our recently installed open-source office suite. As its icon appears, run it to begin working with our document-related tasks.

Install LibreOffice in Kali Linux

Method 2: How to install LibreOffice in Kali Linux

If we face any issue to install LibreOffice on our Kali System via apt-get command as we have described above. Then we can download an executable file from the official website of LibreOffice and install it appropriately on our machine using the dpkg command.

Go to the following link and download LibreOffice.

https://www.libreoffice.org/download/download/

The following are some facts which we have to keep in mind while downloading LibreOffice in Kali Linux:

  • Kali Linux is a Debian-based operating system, so we need to download the .deb
  • Because the most recent version of LibreOffice is only compatible with 64-bit Linux systems. As a result, our Kali installation must be 64-bit

The following are the steps in order to install LibreOffice in Kali Linux:

  1. First, we have to Open the link. https://www.libreoffice.org/download/download/
  2. Next, we have to select “Linux (64-bit) (deb)” from the-drop down menu. This option is available to choose our operating system. Then we have to click on the download
    Install LibreOffice in Kali Linux
  3. Then, a new window will appear; select Save File radio button, and then we have to click on the “OK” button to save the file.

Install LibreOffice in Kali Linux by dpkg Command

As we have downloaded an executable file with the .deb extension for Kali Linux. By default, download files go to Download folder, so we have to use the cd command in order to change the directory. Use the following syntax:

Install LibreOffice in Kali Linux

The File that we have downloaded is LibreOffice_7.2.4_Linux_x86-64_deb.tar.gz, This file is in zip format,

We need to extract it first. In order to extract this file, we need to use tar command.

Install LibreOffice in Kali Linux

Next, we have to use the ls command in order to view available content inside the current folder, which is Downloads.

Install LibreOffice in Kali Linux

After extracting, we will see a new folder has appeared. Take a look inside it. After that, go inside the DEBS folder. We can accomplish this by using the commands shown below.

Install LibreOffice in Kali Linux

The contents of the DEBS folder can be viewed using the ls command once more. There are numerous .deb files to be found.

As we know, LibreOffice includes a number of tools. For example, LibreOffice Calculator, LibreOffice writer, presenter, etc.

We have to install all packages which exist inside the DEBS folder. So, use the following command to install deb file in Ubuntu of all type of package with the help of the single dpkg command as follows.

Install LibreOffice in Kali Linux

Now, we can open LibreOffice in Kali Linux:

In order to open it, simply go to the search application bar and search for LibreOffice. As we can see in the following image

Install LibreOffice in Kali Linux

Now, we can see in the above screenshot that LibreOffice has been installed appropriately.

Uninstall LibreOffice in Kali Linux

If we want to uninstall LibreOffice in our system, then we can uninstall it with the help of the following steps:

Step 1: First, we have to open the terminal and type the below command:

Install LibreOffice in Kali Linux

Step 2: Next, we have to run the following command in order to clean the apt database.

Step 3: Now, in order to remove the useless tool utility, we have to run the following command:

Install LibreOffice in Kali Linux


You may also like