logo

Bluefish

programmers editor

Install Bluefish

Most platforms have a Bluefish installer available

  • Debian Linux: use apt install bluefish to install the Debian package
  • Ubuntu Linux: use apt install bluefish for the Ubuntu package
  • Fedora Linux: use dnf install bluefish to install the Fedora package
  • RedHat: use yum install bluefish
  • Arch Linux: use pacman -S bluefish

For some Linux distributions, Windows and Mac OSX we provide an installer:

Bluefish has an official Flatpak installer. The strict security blocks the integration with system tools such as make, pylint or weblint or even the webbrowser but internal functionality works as expected.


Build Bluefish from source code

If there is no installer available or you want to build your own Bluefish binary yourself download the source code.

sha256sum:
540b0e4f5a595fc418c41125a6a282b69f10cf01513bedde80906d25a56d0cc9  bluefish-2.4.1.tar.bz2
2b857a03a82d7fe3b0b5595a46dc70669b0757ab89141f021129edb88af00e95  bluefish-2.4.1.tar.gz

In order to build Bluefish from source you need to following libraries and development files on your system:

On Debian or Ubuntu you can install the following packages: apt install automake autoconf autopoint make libtool intltool libgtk-3-dev libxml2-dev libenchant-2-dev libgucharmap-2-90-dev python3-dev

On Fedora you can install the following packages: dnf install automake autoconf libtool gtk3-devel enchant2-devel libxml2-devel gucharmap-devel python3-devel gettext-devel

With the required libraries installed, you can build and install Bluefish:

cd /path/to/bluefish/code
./configure
make -j4
sudo make -j4 install

Build the very lastest Bluefish code straight from subversion

svn co svn://svn.code.sf.net/p/bluefish/code/trunk/bluefish
cd bluefish
./autogen.sh
./configure
make -j4
sudo make -j4 install

Building on Windows

Set windows into developer mode https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development

Install nsis 3.1 from https://sourceforge.net/projects/nsis/files/NSIS%203/3.01/

Install msys2 according to https://www.msys2.org/wiki/MSYS2-installation/

Now start msys2-ucrt64 and install all requirements with

pacman -S mingw-w64-ucrt-x86_64-enchant
pacman -S mingw-w64-ucrt-x86_64-libxml2
pacman -S mingw-w64-ucrt-x86_64-autotools 
pacman -S mingw-w64-ucrt-x86_64-libtool 
pacman -S mingw-w64-ucrt-x86_64-cc 
pacman -S mingw-w64-ucrt-x86_64-gtk3
pacman -S mingw-w64-ucrt-x86_64-python-pip
pacman -S mingw-w64-ucrt-x86_64-hunspell-en

compile the bluefish code

cd /c/bluefish
PATH=$PATH:.:/c/Program\ Files\ \(x86\)/NSIS/
export lt_cv_deplibs_check_method='pass_all'
export MAKE="make -j4"
make -j4 -f Makefile.mingw

This should create a windows installer in the win32 directory (it is a 64bit bluefish binary).

if you compile code straight from svn you might need to prepare some parts of the code:

cp remove-potcdate.sin  /ucrt64/share/gettext/po/
cp  insert-header.sin  /ucrt64/share/gettext/po/
./autogen.sh

Building on OSX

First follow the Quick start as described here: https://gitlab.gnome.org/GNOME/gtk-osx/-/wikis/home#quick-start follow the instructions to get the gtk core up and running

./gtk-osx-setup.sh 
PATH=~/.new_local/bin/:$PATH
jhbuild bootstrap-gtk-osx
jhbuild build meta-gtk-osx-bootstrap meta-gtk-osx-python meta-gtk-osx-gtk3  shared-mime-info enchant

Compile the code:

jhbuild shell
cd /to/your/bluefish/source/path
./autogen.sh
make -j6 -f Makefile.osxapp

This creates a Bluefish.app on your desktop.