How To Install bluefish on Debian 11

In this tutorial we learn how to install bluefish on Debian 11. bluefish is advanced Gtk+ text editor for web and software development

Introduction

In this tutorial we learn how to install bluefish on Debian 11.

What is bluefish

bluefish is:

Bluefish is a powerful editor targeted towards programmers and web developers, with many options to write websites, scripts and programming code. Bluefish supports a wide variety of programming and markup languages and has many features, e.g.

  • Customizable code folding, auto indenting and completion
  • Support for remote files operation over FTP, SFTP, HTTPS, WebDAV, etc.
  • Site upload and download
  • Powerful search and replace engine
  • Customizable integration of external programs such as lint, make, etc
  • Snippets plugin to automate often used code
  • Code-aware in-line spell checking
  • Zencoding or Emmet support
  • Bookmarks panel

but is still lightweight and fast.

For validation of CSS/HTML/XML documents you need csstidy, tidy, weblint and/or xmllint. For preview to work, you need a web browser that can view local files given to it on the command line. For PHP or Python bluefish supports php-codesniffer and pylint. Tools not suggested but supported are make, perl, php5-cli and java-compiler.

There are three methods to install bluefish on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install bluefish Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install bluefish using apt-get by running the following command:

sudo apt-get -y install bluefish

Install bluefish Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install bluefish using apt by running the following command:

sudo apt -y install bluefish

Install bluefish Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install bluefish using aptitude by running the following command:

sudo aptitude -y install bluefish

How To Uninstall bluefish on Debian 11

To uninstall only the bluefish package we can use the following command:

sudo apt-get remove bluefish

Uninstall bluefish And Its Dependencies

To uninstall bluefish and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove bluefish

Remove bluefish Configurations and Data

To remove bluefish configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge bluefish

Remove bluefish configuration, data, and all of its dependencies

We can use the following command to remove bluefish configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge bluefish

Dependencies

bluefish have the following dependencies:

References

Summary

In this tutorial we learn how to install bluefish package on Debian 11 using different package management tools: apt, apt-get and aptitude.