How to Install LibreOffice in Kali Linux

Опубликовано: 27 Июль 2026
на канале: A Little Coding
2,807
17

go inside of folder "DEBS". AND open terminal from there.
run command "dpkg -i *.deb" if it works no need to follow the steps below.

if you get the same error as mine follow the few steps mentioned below...
or go to this link: https://askubuntu.com/questions/21954...

open a new terminal... let the first terminal be as it is... you'll need the later..
First run:

lsof /var/lib/dpkg/lock

Then make sure that process isn't running:

ps cax | grep PID

If it is running:

kill PID
#wait
kill -9 PID

Make sure process is done:

ps cax | grep PID

Then remove the lock file:

sudo rm /var/lib/dpkg/lock

Let dpkg fix itself:

sudo dpkg --configure -a

You should be fine afterwards :)

Now in that first terminal run the command again...
"dpkg -i *.deb"

you are done...Hope it was helpful. Thanks...
music: bensound.com