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