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