Installing GNOME-Builder, an IDE to develops projects using remote repositories.

06 May 2017

GNOME Builder

For this guide, I use my Fedora Workstation 25 Virtual Machine installed on my localhost using virt-manager, you can see how download and install pressing here.

  • GNOME-builder is a integrated IDE for GNOME desktop environment and has support of:
    • Version control systems Git.
    • Developing flatpak applications.

      Flatpak allows the same app to be installed on different Linux distributions

    • Is available for C, C++, Vala, Python, etc. programming languages.
  • First, we check our gnome-shel version and then install gnome-builder:

    gnome-version

    sudo dnf install gnome-builder
    

    If you have some troubles trying to run Builder, just reboot your system.

  • Next, install flatpak Recommended:

    sudo dnf install -y flatpak flatpak-libs flatpak-builder
    
  • Then, we nee add some dependencies:

    wget https://sdk.gnome.org/keys/gnome-sdk.gpg
    flatpak --user remote-add --gpg-import=gnome-sdk.gpg gnome https://sdk.gnome.org/repo/
    flatpak --user install gnome org.gnome.Sdk 3.24
    flatpak install --user --from https://git.gnome.org/browse/gnome-apps-nightly/plain/gnome-builder.flatpakref?h=stable
    

    For each of theses commmands, the system will ask you for your password:

    flatpak

  • Show the list of Flatpak repositories:

    flatpak remote-ls gnome-apps
    
  • Install dependencies for Gnome-Builder:

    flatpak run org.gnome.Builder
    

    It takes a few 30 minutes to install dependencies.

    flatpak_installing

  • Then, run builder:

    Builder

  • Then, you can clone any repository using the url of the project you want to clone. You can find a complete list of GNOME project here. I choose gnome-bluetooth.

    So, click on clone button, paste the project url and go.

    clone

  • Finally, you will have your project cloned into gnome-builder:

    builder-init

  • Now, we can try clone any repository, for example I use my own repo.

    builder-clone

    Then, you can edit your files:

    builder-ide

  • Finally, you can see a list of cloned projects.

    builder-list