How to Install Brackets on Ubuntu 22.04


Brackets is primarily used for web development and is a lightweight, very powerful, and extensively customizable text/code editor. It is optimized for web-development HTML and CSS along with JavaScript. Using extensions, you can enhance the functionality to a great extent and customize the experience of the app to your liking.

One of the most powerful functionalities boasted by Brackets is the Live Preview. It allows you to continue working on your website and watch your changes take shape in real-time. So how can you leverage these aesthetically pleasing functionalities on your Ubuntu 22.04? In this guide, I will walk you through the installation process of setting up Brackets on your computer. Let’s start.

Through the Ubuntu Software Store

Though the terminal is the popular choice for many Ubuntu users, if you are one of those who prefer the GUI method, you can use it to install Brackets through the Ubuntu Software Store. Head over to the Software Store.

From the search button in the upper left corner, you need to expand the search box and type in “bracket”. Now select the option highlighted as in the following screenshot.

On the application page in the next screen, you need to select the green “Install” button.

You will be prompted to authenticate with the password for your account, if you want to proceed.

As soon as you do that, it will initialize the installation process, and you can see the progress being reflected in place of the “Install” button.

After the Brackets installation process completes, you will see the “Uninstall” (bin) button in place of the “Install” button.

Through the terminal

For this method, you need to have “snapd” installed on your Ubuntu 22.04. Though is installed by default when you install Ubuntu, if it’s not, you can follow this optional step in order to install it.

Optional: Install Snapd

First, run the following to confirm that you have “snapd” installed and enabled.


$snap version

If it recognizes the command and shows you the versions for snap and snapd, then it means that it is installed on your computer. Else, you can install it using the following:


$sudo apt install snapd

Installing Brackets

Now you are ready to install Brackets on your Ubuntu 22.04. Run the following command to kickstart the installation process.


$sudo snap install brackets --classic

With this output, the terminal is signaling to you that the Brackets code editor has been installed on your Ubuntu 22.04 without any errors.

Launching Brackets

Similar to many other applications, you can launch brackets through two methods. If you prefer the GUI, go into applications and use the search box to look for brackets.

Click on the Brackets icon to launch the code-editor. If you’ve installed through the terminal:


$brackets

Uninstalling Brackets

Whether you want to work through any other text editor, or if you just want to free up some disk space, you can uninstall it using the method you installed with.

Through the Ubuntu Software Store

In your Ubuntu Software Store, go to the application page for Brackets. All that is required from you to do is press the “delete” button. You will be prompted once to confirm that you want to uninstall Brackets from your Ubuntu 22.04.

Once you confirm that, you will be prompted that authentication is required.

After you provide your credentials, the application will have been completely removed from your computer along with its dependencies.

Through the terminal

If you want to remove it using the terminal, the process is fairly straightforward. All you need to run is:


$sudo snap remove brackets

Once this command completes execution, you can rest assured that the Brackets code editor and all its dependencies have been successfully removed from your computer.

Conclusion

Congratulations, you have successfully followed through with the guide and installed Brackets on your Ubuntu 22.04. If you want to learn more about the application and its features, you can check the official website of Brackets.

If you run into any issues, feel free to reach out to us through the comments below and we’ll gladly help you through the whole blocker.

Print Friendly, PDF & Email
Categories