Libreoffice Apt

admin 11/23/2021
10 Comments

Sudo apt install samba Samba is a service to share files on Linux, and it’s also useful to share printers Access the default share on your Raspberry Pi For Windows users, type this address in your file explorer. Version: 7.6.0 Rating: 8 Date: 2019-10-21 Votes: 2 Clear OS is a great server environment for the small business that needs a low cost operating system without the vulnerabilities and cost of windows but also do not have the linux skillset to make other flavors of linux work for them. LibreOffice 5.1 brings a lot of improvements to the entire package. For more information on these improvements please see the LibreOffice release notes available here. You can see a video highlighting some of the new features here. LibreOffice defaults to the Breeze theme in Ubuntu.

  1. Libreoffice Apt Remove
  2. Libreoffice Apt Repository Debian
  3. Libreoffice Appearance
  4. Libreoffice Apt Install

A short post on how to convert PPTX file to images. There are two steps. Thefirst step is to convert PPTX to PDF, and the second step is convert PDF toJPEG image.

First, we need to install libreoffice:

To install the latest version of libreoffice, run the following command instead:

To convert PPTX to image, we need to first convert it to PDF

Use libreoffice directly

We can use soffice provided by libreoffice to convert pptx to pdf directly:

This will create a file named test.pdf.

Use unoconv

Apart from soffice, we can also use unoconv.Install related package first:

Then use unoconv to convert pptx to pdf:

I met the following error when I run unoconv:

For me the error is because unoconv is using the wrong python. In fact, unoconvis just a python script with a shebang:

Since I also installed python3 via Anaconda and add it to the system path, theabove shebang will actually use python3 from Anaconda, which is wrong.

The uno.py package is located in /usr/lib/python3/dist-packages/uno.py, andwe need to use the system python3.

So we need to change the shebang of unoconv to:

According to comment here, we can also sed to do this:

In order to turn PDF to images, we can use imagemagick or poppler.

With Imagemagick

We need to install imagemagick:

Libreoffice Apt Remove

Apt

Then we can convert PDF file to image using convert:

Possible issues

During conversion, two errors occur after issuing the convert command:

For the first error, you can edit /etc/ImageMagick-6/policy.xml and changethe following line:

to

For the second error, this is because ghostscript has not been installed on thesystem. Try to install it:

After that, you should be fine to generate from PPTX to jpg/pngimages.

Libreoffice Apt

With poppler

We need to install poppler-utils:

For further steps, refer to this post.

Changelog
  • 2020-12-24: Add how to convert pptx to pdf using unoconv.

LibreOffice installation on Ubuntu

Contents

  1. LibreOffice installation on Ubuntu

If you’re using Ubuntu, please don’t install LibreOffice manually from the .deb files available at libreoffice.org. Otherwise you will not get automatic updates, upgrades when new versions come out, integration with Ubuntu, and is unsupported for Ubuntu bug filing purposes. Using packages from supported Ubuntu repositories ensures you get the best assistance as this is the recommended method to install and use LibreOffice in Ubuntu.

Full installation

Performing a full installation is the recommended way to install LibreOffice in Ubuntu. One would do this by installing the LibreOffice metapackage via a terminal:

Selective installation

While this isn't recommended, one may install a subset of the full installation. An example package set:

  • libreoffice-writer: Word processor
  • libreoffice-calc: Spreadsheet
  • libreoffice-impress: Presentation
  • libreoffice-draw: Drawing
  • libreoffice-base: Database
  • libreoffice-math: Equation editor

Installing other related packages (dictionaries, extensions, clipart, templates, etc.)

Additional language modules, help files and extensions are also available if you search for “libreoffice” in your package manager. Example how to search:

apt-cache search libreoffice-help-en

Here are a few examples:

  • libreoffice-help-*: help files
  • libreoffice-l10n-*: localization files
  • libreoffice-nlpsolver - 'Solver for Nonlinear Programming' extension for LibreOffice

Language localization, spell checking, dictionary, hyphenation, thesaurus, and help

To install proper support for language writing aids you may install the corresponding packages libreoffice-l10n-*, myspell-*, hyphen-*, mythes-*, libreoffice-help-* followed by your language ISO 639-1 code. A complete list of such language codes is available here.

For example, the corresponding French packages are:

Libreoffice Apt
  • libreoffice-l10n-fr
  • myspell-fr
  • hyphen-fr
  • mythes-fr
  • libreoffice-help-fr
Libreoffice

Please be advised that not all languages have these corresponding packages. For more information on language support in LibreOffice please check here.

Installing a newer version of LibreOffice than available via Ubuntu repositories

If you want to get a later version of LibreOffice then provided by the Ubuntu repositories, and you have tested this appropriately for your environment, you may do so via one of the PPAs provided by the LibreOffice Packaging team. For example, one may add the LibreOffice PPA repository:

sudo apt install python-software-properties

sudo apt-add-repository ppa:libreoffice/ppa

sudo apt update

LibreOffice is now available for installation.

Troubleshooting LibreOffice

If you find any issues when using LibreOffice with Ubuntu, please follow the bug reporting guidelines.

Building LibreOffice

More information on building LibreOffice as a release build or a developer build can be found at BuildingLibreOffice.

Debugging LibreOffice

More information on debugging LibreOffice as a release build or a developer build can be found at DebuggingLibreOffice.

Libreoffice Apt Repository Debian

LibreOffice packaging

Libreoffice Appearance

More information on packaging LibreOffice for Ubuntu is available at LibreOfficePackaging.

Libreoffice Apt Install

LibreOffice (last edited 2019-03-26 17:05:38 by fitojb)