Upgrade LibreOffice on Linux Mint

Commands to install LibreOffice from the Terminal in Linux Mint. Get link to most recent version from https://download.documentfoundation.org/libreoffice/stable/

# tip: cache password with "sudo ls"
# uninstall currently installed version
sudo apt-get remove libreoffice*
sudo apt-get remove --purge libreoffice*

# download and install LibreOffice
cd ~/Install
wget https://download.documentfoundation.org/libreoffice/stable/7.4.4/deb/x86_64/LibreOffice_7.4.4_Linux_x86-64_deb.tar.gz
tar -xvzf LibreOffice_7.4.4_Linux_x86-64_deb.tar.gz
cd LibreOffice_7.4.4.2_Linux_x86-64_deb/DEBS
sudo dpkg -i *.deb

# download and install offline help files 
cd ~/Install
wget https://download.documentfoundation.org/libreoffice/stable/7.4.4/deb/x86_64/LibreOffice_7.4.4_Linux_x86-64_deb_helppack_en-US.tar.gz
tar -xvzf LibreOffice_7.4.4_Linux_x86-64_deb_helppack_en-US.tar.gz
cd LibreOffice_7.4.4.2_Linux_x86-64_deb_helppack_en-US/DEBS
sudo dpkg -i *.deb

# delete extracted installation files
cd ~/Install
rm -rf ~/Install/LibreOffice_7.4.4.2_Linux_x86-64_deb
rm -rf ~/Install/LibreOffice_7.4.4.2_Linux_x86-64_deb_helppack_en-US


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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