User Tools

Site Tools


config:libreoffice

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:libreoffice [2019/04/19 11:25] – linux:libreoffice renamed to config:libreoffice Wulf Rajekconfig:libreoffice [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== LibreOffice 6 installation ======+====== LibreOffice ======
  
-Linux Mint DE2 comes with LibreOffice v4.x and Linux Mint 18 comes with LibreOffice 5.x. Version 6.0 was released in January 2018. To install the latest version, a few simple steps need to be performed to uninstall the version from the repository and download and install the latest version. +===== Remove official distro version ===== 
- +<code> 
-Official Download Page:\\ +sudo apt-get remove libreoffice-
-https://www.libreoffice.org/download/download/?type=deb-x86_64&lang=en-GB+sudo apt-get purge uno-libs-private fonts-opensymbol 
 +sudo apt-get purge libuno-sal3 libunoloader-java libridl-java libunoil-java 
 +</code>
  
 +===== PPA of the latest stable release (note RC2 = final release) =====
 <code> <code>
-sudo apt-get remove libreoffice-core uno-libs3 ure fonts-opensymbol+sudo add-apt-repository ppa:libreoffice/ppa 
 +sudo apt-get update 
 +sudo apt-get install libreoffice 
 +</code>
  
-#for major version upgrades, remove the previous libreoffice version, e.g.: +<code - /etc/apt/sources.list.d/libreoffice-ppa-focal.list> 
-#sudo apt-get remove libreoffice6.0*+deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal main 
 +deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal main
 </code> </code>
 +
 +
 +===== Latest stable from official website =====
 +
 +Official Download Page:\\
 +https://www.libreoffice.org/download/download/?type=deb-x86_64&lang=en-GB
  
  
Line 33: Line 46:
  
 #get installed binary version number #get installed binary version number
-current_lo_v=$(libreoffice$lo_main_ver --version)+if [ `dpkg --get-selections | grep "libreoffice.*-base.*install"|grep -v deinstall | wc -l` -eq 0 ]; then 
 +    current_lo_v="0" 
 +elif hash libreoffice 2>/dev/null; then 
 +    current_lo_v=$(libreoffice --version) 
 +else 
 +    current_lo_v=$(libreoffice$lo_main_ver --version) 
 +fi
 current_lo_ver=$(echo "$current_lo_v" | sed 's/.*\([0-9]\.[0-9]\.[0-9]\.[0-9]\).*/\1/') current_lo_ver=$(echo "$current_lo_v" | sed 's/.*\([0-9]\.[0-9]\.[0-9]\.[0-9]\).*/\1/')
  
Line 45: Line 64:
 then then
     echo "Current LibreOffice version $current_lo_ver, upgrading to version $lo_ver"     echo "Current LibreOffice version $current_lo_ver, upgrading to version $lo_ver"
-    cd ~/Downloads/+    cd ~/
     wget https://download.documentfoundation.org/libreoffice/stable/${lo_ver}/deb/x86_64/LibreOffice_${lo_ver}_Linux_x86-64_deb.tar.gz     wget https://download.documentfoundation.org/libreoffice/stable/${lo_ver}/deb/x86_64/LibreOffice_${lo_ver}_Linux_x86-64_deb.tar.gz
     # en-GB Language Pack     # en-GB Language Pack
Line 64: Line 83:
 fi fi
 </code> </code>
 +
 +===== Settings =====
 +
 +To disable automatic capitalisation of the first letter, especially in LibreOffice Calc:
 +Tools > AutoCorrect Options... > Options > Capitalize first letter of every sentence
 +
  
config/libreoffice.1555669536.txt.gz · Last modified: 2023/05/29 11:53 (external edit)