lofromtemplate command not found

In this troubleshooting guide we learn how to fix lofromtemplate command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

lofromtemplate: command not found

or when using sudo you get the following error message

sudo: lofromtemplate: command not found

Solutions to lofromtemplate: command not found

How To Fix lofromtemplate: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lofromtemplate is provided by libreoffice-common package.

libreoffice-common is:

LibreOffice is a full-featured office productivity suite that provides a near drop-in replacement for Microsoft(R) Office.

This package contains the architecture-independent files of LibreOffice.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libreoffice-common

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libreoffice-common.

sudo apt -y install libreoffice-common

Or if you have aptitude installed you can use the following command.

sudo aptitude install libreoffice-common

Summary

In this tutorial we learn how to fix lofromtemplate command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.