Add protobuf.md
This commit is contained in:
parent
492cd3cdce
commit
0818a72f4c
2 changed files with 14 additions and 0 deletions
|
@ -42,6 +42,7 @@ Markdown docs and shell scripts for automating installation of things and docume
|
|||
* [`node.md`](node.md) for installing Node.JS
|
||||
* [`ohmyposh.sh`](ohmyposh.sh) for installing the Oh My Posh command line prompt
|
||||
* [`poetry.sh`](poetry.sh) for installing Python Poetry
|
||||
* [`profobuf.md`](protobuf.md) for installing the various things related to Protocol Buffers
|
||||
* [`sourcetrail.md`](sourcetrail.md) for installing the SourceTrail codebase inspector
|
||||
* [`vscode.md`](vscode.md)
|
||||
|
||||
|
|
13
protobuf.md
Normal file
13
protobuf.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Protocol Buffers
|
||||
|
||||
## `protoc`
|
||||
|
||||
1. Download `protoc-3.17.3-linux-x86_64.zip` from https://github.com/protocolbuffers/protobuf/releases/tag/v3.17.3
|
||||
2. Extract `bin/protoc` to `/opt/bin`
|
||||
3. Extract `include/google` to `/usr/local/include`
|
||||
|
||||
## `protoc-gen-go`
|
||||
|
||||
```bash
|
||||
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue