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 [2020/08/08 13:22] Wulf Rajekconfig:libreoffice [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== LibreOffice installation ======+====== LibreOffice ====== 
 + 
 +===== Remove official distro version ===== 
 +<code> 
 +sudo apt-get remove libreoffice-* 
 +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> 
 +sudo add-apt-repository ppa:libreoffice/ppa 
 +sudo apt-get update 
 +sudo apt-get install libreoffice 
 +</code>
  
-===== PPA of the latest stable release ===== 
 <code - /etc/apt/sources.list.d/libreoffice-ppa-focal.list> <code - /etc/apt/sources.list.d/libreoffice-ppa-focal.list>
 deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal main deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal main
Line 7: Line 20:
 </code> </code>
  
-===== Manual install of latest version ===== 
  
-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.+===== Latest stable from official website =====
  
 Official Download Page:\\ Official Download Page:\\
 https://www.libreoffice.org/download/download/?type=deb-x86_64&lang=en-GB https://www.libreoffice.org/download/download/?type=deb-x86_64&lang=en-GB
- 
-<code> 
-sudo apt-get remove libreoffice-core uno-libs3 ure fonts-opensymbol 
- 
-#for major version upgrades, remove the previous libreoffice version, e.g.: 
-#sudo apt-get remove libreoffice6.0* 
- 
-On Linux Mint 19.2: 
-#sudo apt-get remove libreoffice-* 
-</code> 
  
  
Line 44: Line 46:
  
 #get installed binary version number #get installed binary version number
-if hash libreoffice 2>/dev/null; then+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)     current_lo_v=$(libreoffice --version)
 else else
Line 60: 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 79: 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.1596889373.txt.gz · Last modified: 2023/05/29 11:53 (external edit)