How to install LibreOffice for Kali Linux Step-by-Step Guide


Are you a regular user of Kali Linux? Do you want to install an Office for Kali Linux?

Kali Linux is an operating system used for penetration testing purposes only. So it doesn’t have office use tools like Word, Excel, PowerPoint, etc.

Microsoft Word, Excel, and PowerPoint are not available for Linux distributions. So you can’t install this software in Kali Linux and other Linux distributions.

You should know how to install LibreOffice for Kali Linux for office work. LibreOffice includes Writer, calc, impress, Base, etc.

Article Content

What is LibreOffice?

LibreOffice is a powerful and free office suite, used by millions of people around the world. Its clean interface and feature-rich tools help you unleash your creativity and enhance your productivity. LibreOffice includes several applications that make 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 such as Microsoft® Word (.doc, .docx), Excel (.xls, .xlsx), PowerPoint (.ppt, .pptx), and Publisher.

But LibreOffice goes much further with its native support for a modern and open standard, the Open Document Format (ODF). With LibreOffice, you have maximum control over your data and content – and you can export your work in many different formats including PDF.

How to install LibreOffice in Kali Linux using Terminal

You can install LibreOffice in Kali Linux by following very simple steps.

Step 1: Open terminal

Step 2: Update Kali Linux by running the following command

$sudo apt-get update

When you will run apt-get update command then make sure you have added Kali Linux repository. If you had not added the repository source in source.list file then you will face the problem.

root@kali:~# apt-get update 
Get:1 kali-rolling InRelease [30.5 kB]
Get:2 kali-rolling/main amd64 Packages [17.1 MB]
Get:3 kali-rolling/non-free amd64 Packages [192 kB]
Get:4 kali-rolling/contrib amd64 Packages [111 kB]
Fetched 17.4 MB in 5min 18s (54.8 kB/s)                                        
Reading package lists... Done 

Step 3: Install LibreOffice in Kali Linux by executing the following command

$sudo apt-get install libreoffice

How to install LibreOffice in Kali Linux Method 2

In this section, I am going to describe the second method to install LibreOffice in Kali Linux.

If you are unable to install LibreOffice on your Kali system by using the apt or apt-get command as described above.

Then you can download an executable file from the official website of LibreOffice and install it correctly on your machine with the help of dpkg command.

Download LibreOffice

Go to the following link and download LibreOffice.

Before going to download you must keep in mind two important facts about Kali and LibreOffice as following:

  • Kali Linux is a Debian-based operating system so download the .deb file.
  • As the latest version of LibreOffice is just made for a 64-bit Linux system. So your installed Kali must be 64-bit architecture.

So the download as following steps:

Step 1: Open the link

Step 2: Select “Linux (64-bit)(deb)” for the drop-down menu. This option is available to choose your operating system. Then click on the Download button.

Step 3: New window will be popup select the Save File radio button and then click on the “OK” button to save the file.

Install LibreOffice in Kali Linux by dpkg command

As you have seen, I have downloaded an executable file with the .deb extension for Kali Linux.

By default, downloaded files go to the Download folder so use the cd command to change the directory. Use the following syntax:

$cd Downloads

vijay@kali:~$ cd Downloads/
vijay@kali:~/Downloads$ ls

The downloaded file is LibreOffice_6.4.4_Linux_x86-64_deb.tar.gz, This file is zip format.

I need to extract it first tar command can be used to perform this action.

$ tar -xvf LibreOffice_6.4.4_Linux_x86-64_deb.tar.gz

Again use ls command to view available content inside the current folder, which is Downloads.


You will see a new folder has appeared after extracting, Go inside it. Then move inside the DEBS folder. You can use the following commands to do that.

$ cd LibreOffice_6.4.4.2_Linux_x86-64_deb/DEBS/

Again you can use the ls command to see the content in the DEBS folder. You will find lots of .deb files there.

As you know, multiple tools belong to LibreOffice. For example LibreOffice Calculator, Libreoffice writer, presenter, etc.

You must need to install all packages that exist inside the DEBS folder. So use the following command to install deb file in Ubuntu of all types of packages by using the single dpkg command as follows.

$sudo dpkg -i lib*

vijay@kali:~/Downloads/LibreOffice_6.4.4.2_Linux_x86-64_deb/DEBS$ sudo dpkg -i lib*

vijay@kali:~/Downloads/LibreOffice_6.4.4.2_Linux_x86-64_deb/DEBS$ sudo dpkg -i lib*

Open LibreOffice in Kali Linux:

Just go to the search application bar and search for LibreOffice. See in the following image.

I am going to open LibreOffice writer, It will look like following

Uninstall LibreOffice in Kali Linux

If you don’t want to use LibreOffice anymore in your system then you can uninstall by following simple steps.

Open the terminal and type simple single command as follows

$sudo apt remove –purge libreoffice*

Additionally run the following command to clean the apt database.

$sudo apt clean

Don’t forget to run the following command for removing unuseful tools, utility

$sudo apt autoremove

How to install LibreOffice in Kali Linux Video in Hindi


Most of us are using Windows and are familiar with Microsoft Office including MS Office here is Libre Office for Kali Linux. In this tutorial, you will learn Kali Linux commands  “How to install LibreOffice for Kali Linux. LibreOffice is an office for Kali Linux and other Linux distributions. You are at the right place to learn 2 commands to complete this operation.

If Appreciate My Work, You should consider:

36 thoughts on “How to install LibreOffice for Kali Linux Step-by-Step Guide

    1. Well I dont know why. I had not problem with the commands. Did you start out with “sudo”?

  1. i have installed libre office on kali linux 2017.1 but when i double click on it it is not opening plz any 1 help

  2. can u tell me how to install usb formater and usb image creater tools in kali. I was using mint previously those had them in build

  3. it show that :
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to locate package libreoffice

    whats wrong with this…pls help me..

  4. I Followed all your steps correctly, but Libre Office does not open it only shows that its loading but then it doesn’t go in.

Leave a Reply

Your email address will not be published. Required fields are marked *