Integrated Development Environments (IDEs) for Trisquel 11 (Aramo)
IDEs provided by Trisquel's Add/Remove Applications panel
Trisquel's Add/Remove Applications panel offers many IDEs at the Development section. This is a selection of general-purpose IDEs: Anjuta, Bluefish, Code::Blocks, CodeLite, Geany.
Anjuta
License GPL 2.0 or later. Self-defined just as 'Integrated Development Environment'. Allows to create projects for C, C++, Java, JS, Python and Vala. Discontinued. Its website has disappeared and its domain http://www.anjuta.org/ at present redirects to https://www.firstdoormarketing.com/
Bluefish
License GPL 3.0 or later. Self-defined as 'software developers editor'. Allows to create projects for C, DHTML, HTML, PHP, SQL, python 2 to 3 and XHTML. Website: https://bluefish.openoffice.nl/
Code::Blocks
Self-defined as 'open source, cross-platform IDE'. Allows to create projects for ARM, AVR, Arduino, Console, D, FLTK, Fortran, GTK+, Irrlich, Java, Lightfeather, MCS51, MSP430, Matlab, Ogre, OpenCV, OpenGL, PowerPC, QT4, QT5, SDL, SDL2, SFML, TriCore and wxWidgets. Website: https://codeblocks.org . The installation from Trisquel Add/Remove Applications menu is incomplete: it installs packages codeblocks and codeblocks-common, but still Code::Blocks fails to appear on Trisquel's menu - to fix that, package codeblocks-contrib needs to be installed too, either from Synaptic Package Manager or from the command line, like this:
$ sudo apt install codeblocks-contrib
CodeLite
License GPL 2.0 or later. Self-defined as 'Free, open source, C/C++/PHP and JavaScript IDE'. Allows to create projects for the mentioned languages. Website: https://codelite.org
Geany
License GPL 2. Self-defined as an 'quick and light IDE', allows to create projects for C, C++, C#, Java, JavaScript, PHP, HTML, LaTeX, CSS, Python, Perl, Ruby, Pascal, Haskell, Erlang, Vala and 'many others'. Website: https://www.geany.org/
IDEs not provided by Trisquel's Add/Remove Applications panel
This is a selection of IDEs that are not provided by Trisquel's Add/Remove Applications panel, but that can be installed in Trisquel 11 (Aramo): Eclipse, Intellij IDEA, KDevelop, NetBeans, VSCodium.
Requirements in order to install IDEs not provided by Trisquel's Add/Remove Applications panel
Some of the IDEs not provided by Trisquel have requirements previous to the installation. The requirements will be indicated for each IDE.
Requirement: Install libfuse2
Some of the IDEs not provided by Trisquel require the package libfuse2, which is already present in Trisquel 11 Aramo. In any case, it can be installed either from Synaptic Package Manager or from the command line, like this:
$ sudo apt install libfuse2
Recommendable? Yes.
Requirement: Install Flatpak
Flatpak is a software packaging and deployment system. It can be installed in Trisquel 11 (Aramo) by installing the flatpak package either from Synaptic Package Manager or from the command line, like this:
$ sudo apt install flatpak
Recommendable? Yes.
Requirement: Install Snap
Snap is a software packaging and deployment system. There are three possible ways to install it in Trisquel 11 (Aramo), but none seems to work:
- Package snap: Trisquel provides this package, but describes it as 'location of genes from DNA sequence with hidden markov model', so it is unrelated.
- Package snapd: Trisquel fails to provide this package, reporting having no candidate for installing.
- Package snapcraft: Trisquels fails to install this package, alleging dependence on snapd, which is said to be 'not installable'.
Recommendable? No.
Requirement: Install Java Runtime Environment (JRE)
The JRE is an environment to execute Java applications. It can be installed in Trisquel 11 (Aramo) by installing the default-jre package either from Synaptic Package Manager or from the command line, like this:
$ sudo apt install default-jre
Recommendable? Yes.
Requirement: Install Java Development Kit (JDK) (includes JRE)
The JDK is an environment to execute and develop Java applications that includes the JRE. It can be installed in Trisquel 11 (Aramo) by installing the default-jdk package either from Synaptic Package Manager or from the command line, like this:
$ sudo apt install default-jdk
Recommendable? Yes.
Requirement: Install JDK 17
JDK 17 is a JDK version more advanced than the current JDK default. It can be installed in Trisquel 11 (Aramo) by installing the openjdk-17-jdk package either from Synaptic Package Manager or from the command line, like this:
$ sudo apt install openjdk-17-jdk
Recommendable? Yes.
Requirement: Add repository 'universe' from Ubuntu
This adds a repository from the Ubuntu distribution which is not guaranteed fo provide only Free Software, hence a non-free repository. This can be done in three steps:
Step 1: Add repository:
$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu focal universe"
This commands creates the file /etc/apt/sources.list.d/archive_uri-https_archive_ubuntu_com_ubuntu-aramo.list .
Step 2: Edit the file as root:
$ sudo nano archive_uri-https_archive_ubuntu_com_ubuntu-aramo.list
Step 3: Insert "[trusted=yes]" between 'deb' and the URL, and save so the file contains the following:
deb [trusted=yes] https://archive.ubuntu.com/ubuntu focal universe
Recommendable? No, because of three reasons:
- It is a bad idea: Adding the universe repository means that non-libre software from the Ubuntu distribution will get mixed with Trisquel's Libre Updates.
- It goes worse: Trusting the repository without a signature weakens the security.
- It works the worst: After adding this repository, Trisquel's Software Updates fails and becomes a zombie process every time that it is launched.
Installation of IDEs not provided by Trisquel
These are the IDEs not provided by Trisquel, along with different methods to install them: Eclipse, Intellij IDEA, KDevelop, NetBeans, VSCodium, indicating the dependences:
Eclipse
License Eclipse Public License. Website: https://eclipseide.org/
Requirements for Eclipse: JRE.
3 methods to install Eclipse: https://itsfoss.com/install-latest-eclipse-ubuntu/
Method 1: Installing Eclipse using Snap [Easy]
Requirements for installation: snap.
Method not verified because of snap being unavailable.
Method 2: Installing Eclipse using the official installer (for intermediates)
Step 1: Download Eclipse installer .tar.gz file from website.
Step 2: Extract eclipse-installer directory.
Step 3: Execute eclipse-inst, either by double-clicking on its icon or from the command line, like this:
$ ./eclipse-inst
Installation verified successfully. Warning: Software installed through this method can be updated, but not automatically through Trisquel's Software Updates. Instead, Updates can be launched from the menu, at Help -> Check for updates
Method 3: Install Eclipse in classic Linux style (for experts)
Step 0: Download Eclipse packages .tar.gz file from website.
Step 1: Create directory:
$ cd /opt
Step 2: Decompress downloaded .tar.gz file:
$ sudo tar -xvzf ~/Downloads/eclipse-jee-*
Step 3: Create eclipse.desktop shortcut file with an editor, paste the following inside and save:
[Desktop Entry] Name=Eclipse Type=Application Exec=/opt/eclipse/eclipse Terminal=false Icon=/opt/eclipse/icon.xpm Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=Eclipse Name[en_US]=Eclipse
Step 4: Enable shortcut icon:
$ sudo desktop-file-install eclipse.desktop
Installation verification pending. Warning: Software installed through this method can be updated, but not automatically through Trisquel's Software Updates. Instead, Updates can be launched from the menu, at Help -> Check for updates
Intellij IDEA
License Apache License 2.0. Website: https://www.jetbrains.com/idea/
4 methods to install Intellij IDEA: https://ubuntuhandbook.org/index.php/2023/09/install-intellij-idea-2023-ubuntu/
Requirements for Intellij IDEA: JDK.
Method 1: Install Intellij IDEA via Snap package
Requirements for installation: snap.
Method not verified because of snap being unavailable.
Method 2: Install Intellij IDEA via Flatpak package
Requirements for installation: flatpak.
Step 1: Install Intellij IDEA:
$ flatpak install https://dl.flathub.org/repo/appstream/com.jetbrains.IntelliJ-IDEA-Community.flatpakref
Step 2: Log out
Step 3: Log in
Installation successfully verified. Warning: Software installed through this method can be updated, but not automatically through Trisquel's Software Updates. Instead, Updates can be launched either from the start screen by clicking on the gear icon at the bottom left corner and then on 'Check for Updates', or from the command line, like this:
$ flatpak update com.jetbrains.IntelliJ-IDEA-Community
Method 3: Install IntelliJ IDEA via Official Tarball
Step 1: Download Intellij IDEA packages .tar.gz file from website.
Step 2: Extract content from .tar.gz file to desired directory.
Step 3: Execute bin/idea.sh file.
Step 4: Create ~/.local/share/applications/idea.desktop shortcut file with an editor, paste the following inside replacing the paths for Exec and Icon, and save:
[Desktop Entry] Version=1.0 Type=Application Name=IntelliJ IDEA Community Edition Comment=Develop with pleasure! Exec=/PATH/TO/IDEA/EXECUTABLE Icon=/PATH/TO/IDEA/ICON-FILE Terminal=false StartupNotify=true StartupWMClass=jetbrains-idea-ce Categories=Development;IDE;Java;
Installation verfication pending. Warning: Software installed through this method can be updated, but not automatically through Trisquel's Software Updates. Instead, Updates can be launched from the start screen by clicking on the gear icon at the bottom left corner and then on 'Check for Updates'.
Method 4: Install IntelliJ IDEA via Ubuntu PPA.
$ sudo add-apt-repository ppa:xtradeb/apps $ sudo apt update $ sudo apt install intellij-idea-community
Installation successfully verified. Warning: Updates are automatical through Software Updates, but software updates from ppa:xtradeb/apps are mixed with Trisquel's and they might contain non-free software.
KDevelop
License GPL 2.0 or later. Website: https://kdevelop.org/
3 methods to install KDevelop: https://linuxcapable.com/install-kdevelop-on-ubuntu-linux/
Requirements for KDevelop: JDK.
Method 1: Install KDevelop via APT
KDevelop cannot be installed from Trisquel's Add/Remove Applications panel. However, it is still available as the package kdevelop, and it can be installed either from Synaptic Package Manager or from the command line, like this:
$ sudo apt install kdevelop
Installation verified successfully.
Method 2: Install KDevelop via Snapcraft Commands
Requirements for installation: snap.
Method not verified because of snap being unavailable.
Method 3: Install KDevelop via Flatpak package
Requirements for installation: flatpak.
Step 1: Add repository:
$ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Step 2: Install KDevelop:
$ flatpak install flathub org.kde.kdevelop -y
Installation successfully verified. Warning: Software installed through this method can be updated, but not automatically through Trisquel's Software Updates. Instead, Updates can be launched from flatpak, like this:
$ flatpak update
NetBeans
License Apache 2.0. Website: https://netbeans.apache.org/
4 methods to install NetBeans: https://www.baeldung.com/linux/netbeans-install-uninstall
Requirements for NetBeans: JDK 17. If this requirement is not fulfilled, NetBeans will be installed but refuse to run until JDK 17 is installed.
Method 1: Using Binary Package
Step 1: Add Netbeans' GPG key:
$ wget https://downloads.apache.org/netbeans/KEYS $ gpg --import KEYS
Step 2: Navigate NetBeans' website and find the deb package file, the checksum file and the signature file, then download them. In this example we are using version 24-1:
$ wget https://dlcdn.apache.org/netbeans/netbeans-installers/24/apache-netbeans_24-1_all.deb $ wget https://downloads.apache.org/netbeans/netbeans-installers/24/apache-netbeans_24-1_all.deb.sha512 $ wget https://downloads.apache.org/netbeans/netbeans-installers/24/apache-netbeans_24-1_all.deb.asc
Step 3: Verify cheksum
$ sha512sum -c apache-netbeans_24-1_all.deb.sha512
Step 4: Verify signature.
$ gpg --verify apache-netbeans_24-1_all.deb.asc apache-netbeans_24-1_all.deb
gpg shows the signature to be correct, but warns that the key signing it is not trusted – this is usual for public key cryptography, until you import to your key-ring keys from enough people and they sign enough of each other’s keys.
Step 5: We can install the package:
$ sudo dpkg -i apache-netbeans_24-1_all.deb
Installation successfully verified. Warning: Software installed through this method can be updated, but not automatically through Trisquel's Software Updates. Instead, Updates can be launched from the menu, at Help -> Check for updates.
Method 2: Using APT Repository
Method not verified because of the problems caused by the 'universe' repository.
Method 3: Using Snap
Requirements for installation: snap.
Method not verified because of snap being unavailable.
Method 4: Using Flatpak
Requirements for installation: flatpak.
Step 1: Add repository:
$ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
This step is missing in the article containing the methods to install NetBeans. When missing, the next step produces the error "No remote refs found similar to ‘flathub'."
Step 2: Install NetBeans:
$ flatpak install flathub org.apache.netbeans
Installation successfully verified. Warning: Software installed through this method can be updated, but not automatically through Trisquel's Software Updates. Instead, Updates can be launched from flatpak, like this:
$ flatpak update
VSCodium 1.96.4
License MIT. Website: https://code.visualstudio.com/
4 methods to install VSCodium: https://ubuntuhandbook.org/index.php/2024/01/install-vscodium-ubuntu/
Method 1: Install VSCodium via Snap
Method not verified because of snap being unavailable.
Method 2: Install VSCodium via Flatpak (Unofficial)
Requirements for installation: flatpak.
Step 1: Install VSCodium
$ flatpak install https://dl.flathub.org/repo/appstream/com.vscodium.codium.flatpakref
Warning: Software installed through this method can be updated, but not automatically through Trisquel's Software Updates. Instead, Updates can be launched from flatpak, like this:
$ flatpak update
Installation verification pending.
Method 3: Native .deb package
Step 1: Download .deb file from website.
Step 2: Install package, either by double-clicking on its icon (opening it with GDebi package installer, default .deb file opener in Trisquel) or from the command line, like this:
$ sudo apt install ./codium_*.deb
Installation verification pending. Warning: Software installed through this method cannot be updated.
Method 4: Install VSCodium via apt repository.
This method works in Debian/Ubuntu/Trisquel from the source 'https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main' , which provides updates.
Step 1: Download and importe the GPG key of the repository:
$ wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \ | gpg --dearmor \ | sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg
Step 2: Add the repository:
$ echo 'deb [ arch=amd64 signed-by=/usr/share/keyrings/vscodium-archive-keyring.asc ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main' | sudo tee /etc/apt/sources.list.d/vscodium.list
This command creates two files:
- /etc/apt/sources.list.d/vscodium.list
- /etc/apt/sources.list.d/vscodium.list.save
Both files have the same content:
deb [ arch=amd64 signed-by=/usr/share/keyrings/vscodium-archive-keyring.asc ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main
Step 3: Update repositories then install vscodium:
$ sudo apt update && sudo apt install codium
Installation successfully verified.