Skip to content

Commit 63818ce

Browse files
authored
Edited openocd installation on Arch
openocd is not available in official repositories for Arch Linux, this edit gives readers two options for installing the package on their system.
1 parent 92c4881 commit 63818ce

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/03-setup/linux.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,16 @@ $ sudo dnf install \
2727
``` console
2828
$ sudo pacman -S \
2929
arm-none-eabi-gdb \
30-
minicom \
31-
openocd
30+
minicom
31+
```
32+
`openocd` is not availabie in the official Arch repositories, but can be installed from the [AUR](https://aur.archlinux.org/packages/openocd/) or can be compiled from source as follows:
33+
34+
``` console
35+
git clone git://git.code.sf.net/p/openocd/code openocd-code
36+
cd openocd-code
37+
./bootstrap
38+
./configure
39+
make && make install
3240
```
3341

3442
- `arm-none-eabi-gdb` for other distros

0 commit comments

Comments
 (0)