Install brackets on CentOS8

Install brackets on CentOS8

In this article, we will review how to install brackets on CentOS8. This will follow a similar procedure we covered in our previous post: Install Brackets on Ubuntu 20.04.

Table of Contents


Brackets was developed by Adobe and first released in 2014. It is one of many text editors used by developers for coding purposes. It is a cross-platform application that can run on any of the three major operating systems, Windows, Linux, and MacOS. However, for this demonstration, our primary focus will be Linux-based.

Pre-Installation Checks

Before we begin, this tutorial assumes you already have a Linux machine (preferably CentOS8) installed and running a user account with sudo privileges to become root. If you don’t have a CentOS8 instance installed, consider this article, “Install CentOS8 on KVM“, where we reviewed the CentOS8 installation process.

There are several methods floating around the internet for install brackets on a Linux machine. However, the method we are sure works involves using snap. Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Ensure snap and the latest epel-release are installed.

					$ sudo dnf -y install snap epel-release

Enabling snap on CentOS8

Next, the systemd unit that manages the main snap communication socket needs to be enabled.

					$ sudo systemctl enable --now snapd.socket
Created symlink /etc/systemd/system/ → /usr/lib/systemd/system/snapd.socket.

Enabling classic support for snap

Also, enable classic snap support by entering the following command (below) to create a symbolic link between /var/lib/snapd/snap and /snap.

					$ sudo ln -s /var/lib/snapd/snap /snap

Installing Brackets Code Editor

To install the Brackets Code Editor, simply run the following command (below):

					$ sudo snap install brackets

Running the command (above) should cause an error to output to your terminal (as seen below):

					error: This revision of snap "brackets" was published using classic confinement and thus may
perform arbitrary system changes outside of the security sandbox that snaps are usually
confined to, which may put your system at risk.

If you understand and want to proceed repeat the command including --classic.

Snap Install brackets with the classic option

As a result of this error, we will run the same command with the –classic option.

					$ sudo snap install brackets --classic
2022-04-10T01:49:26-04:00 INFO Waiting for automatic snapd restart...
brackets 1.14.1 from Snapcrafters installed

Launching the Brackets Code Editor

To launch the Brackets Code Editor, simply issue the snap run command (below):

					$ snap run brackets
Install Brackets on CentOS8 - Launch Screen

Photo by admingeek from Infotechys


We have successfully reviewed the Brackets Code Editor installation process on CentOS8. Was this article helpful to you? If so, leave us a comment and share!

Related Posts

Install CentOS8 on KVM
Install CentOS8 on KVM

In today’s tutorial, we will install CentOS8 on KVM. The install process is fairly straightforward and we will cover it here step-by-step. We will follow

Read More »

Leave a Reply

Your email address will not be published. Required fields are marked *