Skip to content

Commit 197a408

Browse files
committed
README: update installation instructions
related to #152
1 parent 1dffcd5 commit 197a408

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,15 @@ e.g. extraction needs to complete before rendering can start.
4949

5050
### Set up Go
5151

52-
If this is the first time you’re using Go, run:
53-
```
54-
sudo apt install golang-go
55-
export GOPATH=~/go
56-
```
52+
Install the latest supported version of Go from https://go.dev/dl. If you prefer
53+
to install Go from Debian, ensure you get the same version — if you use Debian
54+
stable, you likely need to install from backports.
5755

5856
### Install debiman
5957

6058
To download, compile and install debiman to `$GOPATH/bin`, run:
6159
```
62-
go get -u github.com/Debian/debiman/cmd/...
60+
go install github.com/Debian/debiman/cmd/...@main
6361
```
6462

6563
### Run debiman
@@ -85,7 +83,7 @@ To update your debiman installation after making changes to the HTML
8583
templates or code in `$GOPATH/src/github.com/Debian/debiman`, run:
8684
```
8785
go generate github.com/Debian/debiman/...
88-
go install github.com/Debian/debiman/...
86+
go install github.com/Debian/debiman/cmd/...
8987
```
9088

9189
## Synchronizing

0 commit comments

Comments
 (0)