Password Protect your file with LibreOffice

In this brief step by step tutorial, learn how to password protect your file using LibreOffice. LibreOffice is a free and open-source office suite works with Linux, Windows and Mac OS. You can password protect word, spreadsheet and presentation file using LibreOffice Writer, Calc and Impress respectively.

LibreOffice uses a very strong encryption mechanism that makes it almost impossible to recover the contents of a document if you lose the password.

LibreOffice provides two levels of document protection

  1. Read-protect (file cannot be viewed without a password)
  2. Write-protect (file can be viewed in read-only mode but cannot be changed without a password)

With these options, you can make the content available for reading by one person and reading and editing privileges are given to a different person. This behaviour is compatible with Microsoft Office file protection as well.

Steps to protect a document with passwords

1) Use File > Save As / Save (when you are saving the document for the first time) when saving the document.

2) On the Save As dialogue box, select the Save with password option in the lower-left corner, and then click Save. (Shown in the below picture)

3) Now, the Set Password dialog box opens

Here you have three choices:

  • To read-protect the document, type a password in the two fields at the top of the dialog. Doing so your file will open only after you enter the correct password. Remember the password you set here is case-sensitive.
  • To write-protect the document, click the Options button and the box will expand, and select Open file read-only in the File Sharing Password section.
  • To write-protect the document but allow selected people to edit it, select Open file read-only and type a password in the two boxes at the bottom of the dialog.

4) Click OK to save the file. If either pair of passwords does not match, you will receive an error message. Close the message box to return to the Set Password dialog and enter the password again.

Changing or removing the password for a document

When a document is password-protected, you can change or remove the password while the document is open. Choose File > Properties > General and click the Change Password button to change or remove the password for a file.

Leave your queries in the comment section below.

How to check version of R language installed

R programming is a free and Open-source package used for data analysis. I will show you two ways to find which version of R is installed in your system

Method 1: Using R/R studio

Open R or R studio and type
version or R.Version()
This will bring you the following details

platform       x86_64-redhat-linux-gnu     
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
major          3                           
minor          5.1                         
year           2018                        
month          07                          
day            02                          
svn rev        74947                       
language       R                           
version.string R version 3.5.1 (2018-07-02)
nickname       Feather Spray

Method 2: Using Terminal in Linux

Open Terminal and type in the command line

R --version

you will get the following result

[[email protected] ~]$ R --version
R version 3.5.1 (2018-07-02) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see

Minimum System Requirements for LibreOffice

Requirement for Microsoft Windows

The software and hardware prerequisites for installing LibreOffice on a Windows system are as follows:

  • Microsoft Windows 7 SP1, Windows 8, Windows Server 2012, or Windows 10
  • Pentium-compatible PC (Pentium III, Athlon or more-recent system recommended)
  • 256 MB RAM (512 MB RAM recommended)
  • At least 1.5 GB  hard disk space
  • 1024×768 resolution (higher resolution recommended), with at least 256 colours.

Requirement for Apple macOS (Mac OS X)

The software and hardware prerequisites for installing on a Apple macOS computer are as follows:

  • LibreOffice 6.4 and 7.0: macOS 10.10 (Yosemite) or higher
  • Intel processor
  • 512 MB RAM
  • Up to 800 MB available hard disk space
  • 1024×768 graphic device with 256 colours (higher resolution recommended)

Requirement for Linux

The simplest way to obtain Libre office is through the software centre of particular Linux distribution. The software and hardware prerequisites for installing on Linux are as follows:

  • Linux kernel version 3.10 or higher
  • glibc2 version 2.17 or higher
  • Pentium-compatible PC (Pentium III, Athlon or more-recent system recommended)
  • 256Mb RAM (512 MB RAM recommended)
  • At least 1.5 GB hard disk space
  • X Server with 1024×768 resolution (higher resolution recommended), with at least 256 colours

Source: LibreOffice