...
Panel | |
---|---|
|
Ubuntu
...
Curl
...
Curl is a package manager that we will use to install some software. To install it, open a terminal and run:
Code Block |
---|
$ sudo apt install curl |
Verify installation by running
Code Block |
---|
$ curl --version |
Java
...
Open a terminal.
Multiexcerpt include | ||||
---|---|---|---|---|
|
...
We are currently on Gradle 7. We will install it manually for ease of understanding. The official guide is here for reference. (Aside: we do not use the Gradle Wrapper)
- Download the latest Gradle 7 distribution (7.4.2 as of writing).
- Choose the "complete" version.
- Remember where you downloaded it.
Unpack Gradle (the following are excerpted from the gradle website)
Open a terminalcd into the directory where you downloaded Gradle. Then
Verify installation
Excerpt - Open a console (or a Windows command prompt) and run
gradle -v
to run gradle and display the version, e.g.:
Code Block $ gradle -v ------------------------------------------------------------ Gradle 7.4.2 ------------------------------------------------------------
- Open a console (or a Windows command prompt) and run
Configure for IHMC software
Multiexcerpt include MultiExcerptName gradle.properties home location PageWithExcerpt Gradle - Copy paste the following lines into the file
Multiexcerpt include MultiExcerptName gradle.properties ubuntu example PageWithExcerpt Gradle
Code Block |
---|
Code Block |
$ sudocurlmkdir /opt/gradle $ sudo unzip -sL https://services.gradle.org/distributions/gradle-7.4.2-all.zip -o gradle.zip $ unzip -q gradle.zip -d/opt/gradle gradle # mv gradle/gradle-7.4.2-all.zip |
Add to path
$ echo 'export PATH=$PATH:/ /opt/. # rm /opt/gradle # ln -s /opt/gradle-7.4.2/bin' >> ~/.bashrc / /opt/gradle # rm /usr/bin/gradle # ln -s /opt/gradle/bin/gradle /usr/bin/gradle |
...
- Download the latest Gradle 7 distribution (7.4.2 as of writing).
- Choose the complete version.
- Remember where you downloaded it.
Unpack Gradle (the following are excerpted from the gradle website)
Excerpt - Create a new directory
C:\Gradle
with File Explorer. - Open a second File Explorer window and go to the directory where the Gradle distribution was downloaded. Double-click the ZIP archive to expose the content. Drag the content folder
gradle-7.4.2
to your newly createdC:\Gradle
folder.
- Create a new directory
Add to path
Excerpt - In File Explorer right-click on the
This PC
(orComputer
) icon, then clickProperties
->Advanced System Settings
->Environmental Variables
. - Under
System Variables
selectPath
, then clickEdit
. Add an entry forC:\Gradle\gradle-7.4.2\bin
. Click OK to save.
- In File Explorer right-click on the
Verify installation
Excerpt Open a console (or a Windows command prompt) and run
gradle -v
to run gradle and display the version, e.g.:Code Block $ gradle -v ------------------------------------------------------------ Gradle 7.4.2 ------------------------------------------------------------
- Configure for IHMC software
Multiexcerpt include MultiExcerptName gradle.properties home location PageWithExcerpt Gradle - Copy paste the following lines into the file
Multiexcerpt include MultiExcerptName gradle.properties windows example PageWithExcerpt Gradle
...