How To Install libaccessodf-java on Ubuntu 18.04

In this tutorial we learn how to install libaccessodf-java on Ubuntu 18.04. libaccessodf-java is library for checking accessibility in ODF/ODT documents using Libreoffice

Introduction

In this tutorial we learn how to install libaccessodf-java on Ubuntu 18.04.

What is libaccessodf-java

libaccessodf-java is:

AccessODF is an extension that can be used in OpenOffice.org Writer and in LibreOffice Writer. It enables authors to find and repair accessibility issues in their documents, i.e. issues that make their documents difficult or even impossible to read for people with disabilities. This includes issues such as:

  • insufficient colour contrast between text and background,
  • missing text alternatives for images and other objects (such text alternatives are necessary for blind users and other users of text-to-speech software),
  • missing language identification for the document and for language changes inside the document (language information is needed for conversion into Braille and synthetic speech),
  • the use of proper Heading styles instead of big bold text to identify headings (this enables document navigation based on headings),
  • the use of proper tables instead of visually mimicking tables by using tabs or spaces,
  • the compatibility of images with DAISY, the de-facto standard for digital talking books. For each accessibility issue, AccessODF provides a description and repair suggestions.

This package just contains the library for use in other programs.

There are three methods to install libaccessodf-java on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libaccessodf-java Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libaccessodf-java using apt-get by running the following command:

sudo apt-get -y install libaccessodf-java

Install libaccessodf-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libaccessodf-java using apt by running the following command:

sudo apt -y install libaccessodf-java

Install libaccessodf-java Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libaccessodf-java using aptitude by running the following command:

sudo aptitude -y install libaccessodf-java

How To Uninstall libaccessodf-java on Ubuntu 18.04

To uninstall only the libaccessodf-java package we can use the following command:

sudo apt-get remove libaccessodf-java

Uninstall libaccessodf-java And Its Dependencies

To uninstall libaccessodf-java and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libaccessodf-java

Remove libaccessodf-java Configurations and Data

To remove libaccessodf-java configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libaccessodf-java

Remove libaccessodf-java configuration, data, and all of its dependencies

We can use the following command to remove libaccessodf-java configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libaccessodf-java

References

Summary

In this tutorial we learn how to install libaccessodf-java package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.