How to install/uninstall libreoffice using terminal on ubuntu 16.04

On windows I was comfortable using GUI to install and uninstall software but in Ubuntu I am more comfortable using terminal. Please fine below steps to Uninstall LibreOffice from Ubuntu 16.04.

sudo apt-get remove --purge libreoffice*  
sudo apt-get clean  
sudo apt-get autoremove  

Steps to install LibreOffice on Ubuntu using terminal

sudo add-apt-repository ppa:libreoffice/ppa  
sudo apt-get update  
sudo apt-get install libreoffice  

Using .deb file
1. Download .deb file from https://www.libreoffice.org/download/download/. Current latest version is
LibreOffice5.4.2Linuxx86-64rpm.tar.gz
There might be a new version when you are reading this. Please use latest version.
2. Run following commands

tar -xvzf LibreOffice_5.4.2_Linux_x86-64_deb.tar.gz  
cd LibreOffice_5.4.2_Linux_x86-64_deb/DEBS/  
dpkg -i *.deb  

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.