SciTE is an easy-to-use text editor that has many features for programming. Its footprint size and functionality make it perfect for installing on any system, even if you don’t have experience with Scintilla or GTK.
More valuable features include syntax styling, error indicators, and code completion. It also has a selection margin that can be filled with markers like those found commonly used by debuggers to indicate breakpoints or other vital points when exploring an application’s functionality (e). The user interface provides greater control than what you might find elsewhere; this makes it easier for developers who need these types of tools but don’t want something too complicated-looking while still offering plenty of ” Done deal!” style options if that more their speed!
In the following tutorial, you will learn how to install SciTE on Ubuntu 20.04 LTS Focal Fossa using the Ubuntu default repository or alternative flatpak installation manager for those that require the latest released version as Ubuntu’s releases can be behind due to stability factor in what long term releases are meant for.
Table of Contents
Before going into the tutorial, the first step is to run an apt update, which ensures your system is up-to-date to avoid any conflicts.
sudo apt update && sudo apt upgrade -y
Install SciTE – APT Method
The first option is to install SciTE using the apt command from Ubuntu 20.04 repository. For most users, this is the most recommended way to install.
In your terminal, use the following command to install the text editor.
sudo apt install scite -y
Install SciTE – Flatpak Method
The second option is to use the Flatpak package manager, which is not installed on Ubuntu distributions given Snap, which is Flatpak’s rival, is owned by Canonical and Ubuntu. However, Flatpak is still available to install from Ubuntu’s default repository.
The extra benefit of using Flatpak installations is that you will always have the most up-to-date version compared to Ubuntu which focuses on stability with older versions that only see updates for security issues or serve bugs.
First, install the Flatpak manager; this can be skipped if you already have it installed.
sudo apt install flatpak -y
Next, you need to enable Flatpack using the following command in your terminal:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
For users installing Flatpak for the first time, it is often recommended to reboot your system. Failure to do this can occur with odd issues arising, such as paths not being generated for icons.
SKIP THE REBOOT IF FLATPAK IS INSTALLED.
Now install using the following flatpak command.
flatpak install flathub org.scintilla.SciTE -y
How to Launch SciTE
Now that you have the text editor installed, launching can be done in two ways.
In your terminal type:
If you want to launch and use the terminal, send the process to the background to continue using the terminal.
Alternatively, Flatpak users will need to launch using the command below from a terminal instance:
flatpak run org.scintilla.SciTE
However, this isn’t practical, and you would use the following path on your desktop to open with the path:
Activities > Show Applications > ScITE
Once open, you can begin using the SciTE text editor, do take the time to check out the options and configure the text editor to your style and purpose. For such a small editor, it does come with lots of features.
How to Update SciTE
Depending on the method of installation used, the following commands can be used to update the software and any system packages. Ideally, using the terminal update command should be done even if you have auto-updates set up in your desktop GUI to ensure everything is updating correctly.
APT Update Method
sudo apt upgrade && sudo apt upgrade
Flatpak Update Method
How to Remove (Uninstall) SciTE
Use one of the following commands to suit the original installation method for users who no longer require the application.
APT Remove Method
sudo apt autoremove scite --purge -y
Flatpak Remove Method
flatpak uninstall --delete-data org.scintilla.SciTE -y
Next, run the following command for any leftover clean-up.
flatpak remove --unused
Comments and Conclusion
In the tutorial, you have learned how to install SciTE on Ubuntu 20.04 LTS desktop.
SciTE is a great text editor for programming that can be run on Ubuntu systems. The user interface is developed using GTK, making it look great and work flawlessly. Additionally, the memory footprint of SciTE is much smaller than other text editors, making it an excellent choice for those with limited resources.