Install libedit-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libedit-dev
Description:
BSD editline and history libraries (development files)
Command line editor library provides generic line editing, history, and tokenization functions. . It slightly resembles GNU readline.
Homepage: http://www.thrysoee.dk/editline/
Version: 3.1-20170329-1
Section: libdevel