Compile FeatherPad text editor on Fedora

FetherPad

FeatherPad is a lightweight Qt5 plain-text editor for Linux. It is independent of any desktop environment and has:

  • Drag-and-drop support, including tab detachment and attachment;
  • X11 virtual desktop awareness (using tabs on current desktop but opening a new window on another);
  • An optionally permanent search-bar with a different search entry for each tab;
  • Instant highlighting of found matches when searching;
  • A docked window for text replacement;
  • Support for showing line numbers and jumping to a specific line;
  • Automatic detection of text encoding as far as possible and optional saving with encoding;
  • Syntax highlighting for common programming languages;
  • Session management;
  • Side-pane mode;
  • Auto-saving;
  • Printing;
  • Text zooming;
  • Appropriate but non-interrupting prompts; and
  • Other features that can be found in its settings, on its menus or when it is actually used.

Get the source code.

You can download the source code for FeatherPad from github.

$ git clone https://github.com/tsujan/FeatherPad

Compile FeatherPad on fedora.

Dependencies

To compile the source code you’ve just got from github, you will have to install following dependencies.

  • gcc-c++ >= 5
  • libX11-devel and libXext-devel (for X11)
  • qt5-qtbase-devel and qt5-qtx11extras-devel (for Qt5)
  • qt5-qtsvg-devel (for showing own icons)
  • qt5-qttools-devel (for localization)

To install these dependencies.

$ sudo dnf install gcc-c++ libX11-devel libXext-devel qt5-qtbase-devel\
  qt5-qtx11extras-devel qt5-qtsvg-devel qt5-qttools-devel

Compile FeatherPad

Once the dependencies are installed, the next process is really simple. Go to the FeatherPad directory.

$ cd FeatherPad

Generate the makefile.

$ qmake-qt5

Compile the source code using make.

$ make

This will generate the executable for Featherpad.

To run FeatherPad.

$ cd featherpad
$ ./fetherpad

OR

you can install Featherpad you’ve just compiled from the source by using

$ sudo make install
comments powered by Disqus