@@ -162,7 +162,7 @@ sudo apt update
162162
163163Install Arm Compiler for Linux with:
164164
165- ``` consoles
165+ ``` console
166166sudo apt install acfl -y
167167```
168168
@@ -226,7 +226,7 @@ Set up the environment, for example, in your `.bashrc` and add module files. The
226226
227227#### Ubuntu Linux:
228228
229- ``` bash { target="ubuntu:latest" pre_cmd=". /usr/share/modules/init/bash; module use /opt/arm/modulefiles" }
229+ ``` bash { target="ubuntu:latest" pre_cmd=". /usr/share/modules/init/bash" pre_cmd=" module use /opt/arm/modulefiles" }
230230echo " . /usr/share/modules/init/bash" >> $HOME /.bashrc
231231echo " module use /opt/arm/modulefiles" >> $HOME /.bashrc
232232source $HOME /.bashrc
@@ -235,7 +235,7 @@ module avail
235235
236236#### Red Hat or Amazon Linux:
237237
238- ``` bash { target="fedora:latest" env_source="/usr/share/modules /init/bash" pre_cmd="module use /opt/arm/modulefiles" }
238+ ``` bash { target="fedora:latest" env_source="/usr/share/Modules /init/bash" pre_cmd="module use /opt/arm/modulefiles" }
239239echo " . /usr/share/Modules/init/bash" >> $HOME /.bashrc
240240echo " module use /opt/arm/modulefiles" >> $HOME /.bashrc
241241source $HOME /.bashrc
@@ -309,7 +309,7 @@ ACfL is now [ready to use](#armclang).
309309To get started with the Arm C/C++ Compiler and compile a simple application follow the steps below.
310310
311311Check that the correct compiler version is being used:
312- ``` bash { env_source="~ /.bashrc", pre_cmd="module load acfl/24.10.1" }
312+ ``` bash { env_source="$HOME /.bashrc", pre_cmd=". /usr/share/modules/init/bash; module use /opt/arm/modulefiles; module load acfl/24.10.1" }
313313armclang --version
314314```
315315
@@ -347,7 +347,7 @@ Hello, C World!
347347To get started with the Arm Fortran Compiler and compile a simple application follow the steps below.
348348
349349Check that the correct compiler version is being used:
350- ``` bash { env_source="~ /.bashrc", pre_cmd="module load acfl/24.10.1" }
350+ ``` bash { env_source="$HOME /.bashrc", pre_cmd=". /usr/share/modules/init/bash; module use /opt/arm/modulefiles; module load acfl/24.10.1" }
351351armflang --version
352352```
353353
0 commit comments