Install Leafpad on Ubuntu 19.04


Sponsored Link

Leafpad is an open source text editor for Linux, BSD, and Maemo. Created with the focus of being a lightweight text editor with minimal dependencies, it is designed to be simple and easy-to-compile. Leafpad is the default text editor for LXDE Desktop environment.

Leafpad Features

Leafpad’s features include a codeset option, auto codeset detection, an unlimited Undo/Redo feature and drag and drop capabilities.Leafpad has a small footprint compared to editors such as gedit or Kate.

Install Leafpad on Ubuntu 19.04

Leafpad is not avaialble as .deb package from ubuntu 19.04 so you have to install from the source

sudo apt-get install build-essential checkinstall intltool libgtk2.0-dev

mkdir -v $HOME/leafpad-build

$HOME/leafpad_build

wget http://savannah.nongnu.org/download/leafpad/leafpad-0.8.18.1.tar.gz

tar xvf leafpad-0.8.18.1.tar.gz && cd leafpad-0.8.18.1

sudo ./configure

sudo make

sudo checkinstall -D –install=yes –fstrans=no –pakdir “$HOME/leafpad-build”
–pkgname leafpad –backup=no –deldoc=yes –deldesc=yes –delspec=yes
–default –pkgversion “0.8.18.1”

sudo make distclean

Open the leafpad using the following command

sudo ldconfig

Sponsored Link


Related posts