How to install LibreOffice for Kali Linux Guide for beginners

How-to-install-libre-office-in-Kali-Linux

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 distribution.

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 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 repository source in source.list file then you will face the problem.

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

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 describe second method to install libreoffice in Kali Linux.

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

Then you can download executable file from 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. https://www.libreoffice.org/download/download/

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 .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 https://www.libreoffice.org/download/download/

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

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

Install LibreOffice in Kali Linux by dpkg command

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

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

$cd Downloads

vijay@kali:~$ cd Downloads/
vijay@kali:~/Downloads$ ls
LibreOffice_6.4.4_Linux_x86-64_deb.tar.gz
vijay@kali:~/Downloads$ 

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.

$ls

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

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

Again you can use ls command to see the content is 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 type packages by using 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 search application bar and search for Libreoffice. See in following image.

I am going to open Libreoffice writer, It will look like follwoing

Uninstall LibreOffice in Kali Linux

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

Open terminal and type simple single command as follows

$sudo apt remove –purge libreoffice*

Additional run the following command to clean the apt database.

$sudo apt clean

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

$sudo apt autoremove

How to install libreoffice in Kali Linux Video in Hindi

Conclusion

Most of us are using windows and 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 distribution. 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 Guide for beginners

    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.