Skip to content

Commit

Permalink
Old Ubuntu: Use up-to-date version of golang (#216)
Browse files Browse the repository at this point in the history
Currently, the install recommends using an out-of-date version of golang, which in turn causes issues while installing powerline-go.
  • Loading branch information
justjanne authored Jan 30, 2021
1 parent 40de5ee commit 737c169
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions TerminalDocs/tutorials/powerline-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ sudo apt install golang-go
go get -u github.com/justjanne/powerline-go
```

> [!TIP]
> If you're using Ubuntu 18.04 or 16.04, you'll need to first install the correct version of golang:
> ```bash
> sudo add-apt-repository ppa:longsleep/golang-backports
> sudo apt update
> ```
### Customize your Ubuntu prompt
Open your `~/.bashrc` file with `nano ~/.bashrc` or the text editor of your choice. This is a bash script that runs every time bash starts. Add the following, though beware that GOPATH may already exist:
Expand Down

0 comments on commit 737c169

Please sign in to comment.