File tree Expand file tree Collapse file tree
learning-paths/servers-and-cloud-computing/ran Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ To run an an automated install with default values run:
5353
5454``` bash { target="ubuntu:latest" }
5555curl -o install.sh https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh
56- bash ./install.sh --accept-all-defaults
56+ bash ./install.sh --accept-all-defaults --update-path-and-enable-tab-completion --rc-file-path= " $HOME /.bashrc "
5757```
5858
5959To run an interactive install that allows you to change default values run:
@@ -62,15 +62,9 @@ To run an interactive install that allows you to change default values run:
6262bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)"
6363```
6464
65- Run the command below to restart your shell. This will enable the tab completion for the command.
66-
67- ``` bash { target="ubuntu:latest" }
68- exec -l $SHELL
69- ```
70-
7165Verify OCI CLI is installed using the ` --version ` option:
7266
73- ``` bash { target="ubuntu:latest", env_source=".bashrc" }
67+ ``` bash { target="ubuntu:latest", env_source="$HOME/ .bashrc" }
7468oci --version
7569```
7670
Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ The source code is available from the [GitLab repository](https://gitlab.arm.com
3737
3838Use ` git ` to download the code:
3939
40- ``` bash
40+ ``` bash { cwd="$HOME" }
4141git clone https://git.gitlab.arm.com/networking/ral.git
4242```
4343
4444## Create a build folder
4545
4646Navigate to the source directory and create an empty build directory:
4747
48- ``` bash
48+ ``` bash { cwd="$HOME" }
4949cd ral
5050mkdir build
5151cd build
@@ -73,7 +73,7 @@ Use the features available on your hardware when you run `cmake` in the next sec
7373
7474If your platform supports only Neon (` asimd ` ), set up the build with:
7575
76- ``` bash
76+ ``` bash { cwd="$HOME/ral/build" }
7777cmake -DBUILD_TESTING=On -DARMRAL_ARCH=NEON ..
7878```
7979
@@ -101,23 +101,23 @@ cmake -DBUILD_TESTING=On -DARMRAL_ARCH=SVE -DCMAKE_INSTALL_PREFIX=/home/ubuntu/a
101101
102102Build the library using ` make ` :
103103
104- ``` bash
104+ ``` bash { cwd="$HOME/ral/build" }
105105make
106106```
107107
108108## Install the library
109109
110110Install the library:
111111
112- ``` bash
112+ ``` bash { cwd="$HOME/ral/build" }
113113sudo make install
114114```
115115
116116## Run the tests
117117
118118Build and run the supplied benchmark example by running:
119119
120- ``` bash { ret_code="0" }
120+ ``` bash { ret_code="0" cwd="$HOME/ral/build" }
121121make check
122122```
123123
You can’t perform that action at this time.
0 commit comments