Skip to content

Commit 2f17a3d

Browse files
committed
Update oci-cli.md, armral.md
1 parent 7e77dd5 commit 2f17a3d

2 files changed

Lines changed: 8 additions & 14 deletions

File tree

content/install-guides/oci-cli.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To run an an automated install with default values run:
5353

5454
```bash { target="ubuntu:latest" }
5555
curl -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

5959
To 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:
6262
bash -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-
7165
Verify 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" }
7468
oci --version
7569
```
7670

content/learning-paths/servers-and-cloud-computing/ran/armral.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ The source code is available from the [GitLab repository](https://gitlab.arm.com
3737

3838
Use `git` to download the code:
3939

40-
```bash
40+
```bash { cwd="$HOME" }
4141
git clone https://git.gitlab.arm.com/networking/ral.git
4242
```
4343

4444
## Create a build folder
4545

4646
Navigate to the source directory and create an empty build directory:
4747

48-
```bash
48+
```bash { cwd="$HOME" }
4949
cd ral
5050
mkdir build
5151
cd build
@@ -73,7 +73,7 @@ Use the features available on your hardware when you run `cmake` in the next sec
7373

7474
If your platform supports only Neon (`asimd`), set up the build with:
7575

76-
```bash
76+
```bash { cwd="$HOME/ral/build" }
7777
cmake -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

102102
Build the library using `make`:
103103

104-
```bash
104+
```bash { cwd="$HOME/ral/build" }
105105
make
106106
```
107107

108108
## Install the library
109109

110110
Install the library:
111111

112-
```bash
112+
```bash { cwd="$HOME/ral/build" }
113113
sudo make install
114114
```
115115

116116
## Run the tests
117117

118118
Build and run the supplied benchmark example by running:
119119

120-
```bash { ret_code="0" }
120+
```bash { ret_code="0" cwd="$HOME/ral/build" }
121121
make check
122122
```
123123

0 commit comments

Comments
 (0)