User Tools

Site Tools


mac:libre_office

Differences

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

Link to this comparison view

mac:libre_office [2013/07/07 11:10] (current)
Admin Document installation of LibreOffice.
Line 1: Line 1:
 +====== LibreOffice ======
 +
 +LibreOffice is a suite of office productivity programs -- word processor, spreadsheet,​ presentations,​ and diagraming. It supports ODF formats, as well as Microsoft Office formats. We don't have a frequent need for these applications,​ but occasionally we do.
 +
 +We can determine the latest version of the software from the [[http://​www.libreoffice.org/​download | LibreOffice download page]]. However, we'll automate the download and installation via command line.
 +
 +
 +===== Installation =====
 +
 +<code bash>
 +# Set which version we're going to download.
 +LIBREOFFICE_VERSION='​4.0.4'​
 +
 +# Download the latest DMG file.
 +wget "​http://​download.documentfoundation.org/​libreoffice/​stable/​${LIBREOFFICE_VERSION}/​mac/​x86/​LibreOffice_${LIBREOFFICE_VERSION}_MacOS_x86.dmg"​
 +
 +
 +# Open the DMG file.
 +hdiutil attach "​LibreOffice_${LIBREOFFICE_VERSION}_MacOS_x86.dmg"​
 +
 +# Copy the app file into the Applications folder.
 +cp -a /​Volumes/​LibreOffice/​LibreOffice.app /​Applications/​
 +
 +# Unmount the DMG file.
 +hdiutil detach /​Volumes/​LibreOffice
 +
 +# Add a dock icon.
 +dockutil --add /​Applications/​LibreOffice.app
 +
 +# Remove the file we downloaded.
 +rm "​LibreOffice_${LIBREOFFICE_VERSION}_MacOS_x86.dmg"​
 +</​code>​
  
mac/libre_office.txt ยท Last modified: 2013/07/07 11:10 by Admin