How To Install libjimfs-java-doc on Ubuntu 18.04

In this tutorial we learn how to install libjimfs-java-doc on Ubuntu 18.04. libjimfs-java-doc is Documentation for libjimfs-java

Introduction

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

What is libjimfs-java-doc

libjimfs-java-doc is:

Jimfs is an in-memory file system for Java 7 and above, implementing the java.nio.file abstract file system APIs. Jimfs supports almost all the APIs under java.nio.file. It supports:

  • Creating, deleting, moving and copying files and directories.
  • Reading and writing files with FileChannel or SeekableByteChannel, InputStream, OutputStream, etc. Symbolic links.
  • Hard links to regular files.
  • SecureDirectoryStream, for operations relative to an open directory.
  • Glob and regex path filtering with PathMatcher.
  • Watching for changes to a directory with a WatchService.
  • File attributes. Built-in attribute views that can be supported include “basic”, “owner”, “posix”, “unix”, “dos”, “acl” and “user”. Do note, however, that not all attribute views provide useful attributes.

For example, while setting and reading POSIX file permissions is possible with the “posix” view, those permissions will not actually affect the behavior of the file system.

Jimfs also supports creating file systems that, for example, use Windows-style paths and (to an extent) behavior. In general, however, file system behavior is modeled after UNIX and may not exactly match any particular real file system or platform.

This package contains the generated API documentation.

There are three methods to install libjimfs-java-doc 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 libjimfs-java-doc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libjimfs-java-doc

Install libjimfs-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjimfs-java-doc

Install libjimfs-java-doc 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 libjimfs-java-doc using aptitude by running the following command:

sudo aptitude -y install libjimfs-java-doc

How To Uninstall libjimfs-java-doc on Ubuntu 18.04

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

sudo apt-get remove libjimfs-java-doc

Uninstall libjimfs-java-doc And Its Dependencies

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

sudo apt-get -y autoremove libjimfs-java-doc

Remove libjimfs-java-doc Configurations and Data

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

sudo apt-get -y purge libjimfs-java-doc

Remove libjimfs-java-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjimfs-java-doc

References

Summary

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