Getting the Application¶
The application associated with this tutorial can be found in the collection of repositories at the Librem 5 examples project. You can either clone and build the application from the command line or open it in GNOME Builder.
Using GNOME Builder¶
Follow these steps to obtain the example for this tutorial:
- Start GNOME Builder and click the Clone Repository… button.
https://source.puri.sm/Librem5/example-apps/first-application.gitin the repository URL field and choose a directory that will contain the working directory for the repository. The default
~/Projectsdirectory is usually fine for this purpose.
- Click Clone Project.
The repository will then be cloned and installed inside the chosen directory.
To clone the repository on the command line, enter a suitable directory on your system and run the following command:
git clone https://source.puri.sm/Librem5/example-apps/first-application.git
This should result in the creation of a working directory for the repository in the current directory. The source code can be found in the working directory.