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