lektor command not found

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

Introduction

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

lektor: command not found

or when using sudo you get the following error message

sudo: lektor: command not found

Solutions to lektor: command not found

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

In Ubuntu lektor is provided by lektor package.

lektor is:

Lektor is a static website generator. A lektor project is a collection of static files that can be built into many individual HTML pages. Lektor can also be used like a CMS providing a browser-based admin interface to edit the website’s contents and create new pages.

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

sudo apt-get -y install lektor

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

You can also use apt command to install lektor.

sudo apt -y install lektor

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

sudo aptitude install lektor

Summary

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