Installing Libre Office in Kali Linux
Tags: kali, libreoffice, tutorial, linux
Published: 2022-03-03 13:56:02

## Summary

* [Download from the official source](#Al1)
* [Extract and install Libre Office](#Al2)

In this tutorial I will show you how to install Libre Office in Kali linux. In their own words

![LibreOffice Official page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cl1dftzmo4hwnvdm9bz3.png)

You can find them [here](https://www.libreoffice.org/discover/libreoffice/).

### Download from the official source <a name="Al1"></a>

* Go to their official web page at [https://www.libreoffice.org/download/download/](https://www.libreoffice.org/download/download/).

![Libre Office Download Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/41etcvin1xiq670wytgd.png)

* You can download the latest current version of the **.deb** file. The current version while writing this is **7.3.1**, which you can find [here](https://www.libreoffice.org/donate/dl/deb-x86_64/7.3.1/en-US/LibreOffice_7.3.1_Linux_x86-64_deb.tar.gz). You can also use a [mirror list](https://download.documentfoundation.org/libreoffice/stable/7.3.1/deb/x86_64/LibreOffice_7.3.1_Linux_x86-64_deb.tar.gz.mirrorlist) to use a direct FTP link to download.

```bash
┌──(user㉿kali-01)-[~/Downloads/LibreOffice]
└─$ wget "https://ftp.osuosl.org/pub/tdf/libreoffice/stable/7.3.1/deb/x86_64/LibreOffice_7.3.1_Linux_x86-64_deb.tar.gz"
--2022-03-03 18:57:06--  https://ftp.osuosl.org/pub/tdf/libreoffice/stable/7.3.1/deb/x86_64/LibreOffice_7.3.1_Linux_x86-64_deb.tar.gz
Resolving ftp.osuosl.org (ftp.osuosl.org)... 64.50.233.100, 64.50.236.52, 140.211.166.134, ...
Connecting to ftp.osuosl.org (ftp.osuosl.org)|64.50.233.100|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 195897910 (187M) [application/x-gzip]
Saving to: ‘LibreOffice_7.3.1_Linux_x86-64_deb.tar.gz’

LibreOffice_7.3.1_Linux_x86 100%[==========================================>] 186.82M  4.53MB/s    in 53s     

2022-03-03 18:58:00 (3.55 MB/s) - ‘LibreOffice_7.3.1_Linux_x86-64_deb.tar.gz’ saved [195897910/195897910]
```

### Extract and install Libre Office <a name="Al2"></a>

* Once you have downloaded the version of Libre Office that you would like to install, extract the **tar.gz** file.

![Extract gz using GUI in Kali Linux](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0xfqsad7zd7o4p0javu3.png)

```bash
┌──(user㉿kali-01)-[~/Downloads/LibreOffice]
└─$ ls
LibreOffice_7.3.1_Linux_x86-64_deb.tar.gz
                                                                                                               
┌──(user㉿kali-01)-[~/Downloads/LibreOffice]
└─$ tar xvf LibreOffice_7.3.1_Linux_x86-64_deb.tar.gz 
# Extraction lines here <truncated>
LibreOffice_7.3.1.3_Linux_x86-64_deb/DEBS/libobasis7.3-base_7.3.1.3-3_amd64.deb
LibreOffice_7.3.1.3_Linux_x86-64_deb/DEBS/libobasis7.3-math_7.3.1.3-3_amd64.deb
LibreOffice_7.3.1.3_Linux_x86-64_deb/DEBS/libobasis7.3-onlineupdate_7.3.1.3-3_amd64.deb
LibreOffice_7.3.1.3_Linux_x86-64_deb/DEBS/libobasis7.3-extension-beanshell-script-provider_7.3.1.3-3_amd64.deb
LibreOffice_7.3.1.3_Linux_x86-64_deb/DEBS/libreoffice7.3_7.3.1.3-3_amd64.deb
LibreOffice_7.3.1.3_Linux_x86-64_deb/DEBS/libobasis7.3-en-us_7.3.1.3-3_amd64.deb
LibreOffice_7.3.1.3_Linux_x86-64_deb/DEBS/libreoffice7.3-math_7.3.1.3-3_amd64.deb
LibreOffice_7.3.1.3_Linux_x86-64_deb/readmes/
LibreOffice_7.3.1.3_Linux_x86-64_deb/readmes/README_en-US
```

* Once extracted, open a terminal, and go to the download folder. Go inside the **DEBS** folder and use the **[dpkg](https://man7.org/linux/man-pages/man1/dpkg.1.html)** command to install it.

```bash

┌──(user㉿kali-01)-[~/Downloads/LibreOffice]
└─$ ls                                                            
LibreOffice_7.3.1.3_Linux_x86-64_deb  LibreOffice_7.3.1_Linux_x86-64_deb.tar.gz
                       
┌──(user㉿kali-01)-[~/Downloads/LibreOffice]
└─$ cd LibreOffice_7.3.1.3_Linux_x86-64_deb/DEBS/

┌──(user㉿kali-01)-[~/Downloads/LibreOffice/LibreOffice_7.3.1.3_Linux_x86-64_deb/DEBS]
└─$ sudo dpkg -i *.deb
# Installation lines here <truncated>
Setting up libreoffice7.3-dict-fr (7.3.1.3-3) ...
Setting up libreoffice7.3-draw (7.3.1.3-3) ...
Setting up libreoffice7.3-en-us (7.3.1.3-3) ...
Setting up libreoffice7.3-impress (7.3.1.3-3) ...
Setting up libreoffice7.3-math (7.3.1.3-3) ...
Setting up libreoffice7.3-writer (7.3.1.3-3) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (2.1-2) ...
```

* To open Libre Office post install, you can search under **Applications** &rarr; Type in **LibreOffice**

![Libre Office under Applications Menu in Kali Linux](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5rcica994b8wwmgjp345.png)