how to install libreoffice 7.1 in kali code example
Example: install libreoffice kali linux
#Add its PPA repository:
sudo add-apt-repository ppa:libreoffice/ppa
#Update linux(Optional)
sudo apt update
#Install LibreOffice!
sudo apt install libreoffice