[GH-ISSUE #1366] [Document improvement request] Add installation guide in README.md #1084

Closed
opened 2026-05-05 12:41:44 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @recolic on GitHub (Aug 9, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1366

I'm trying to setup frp server on my vps.

It would be really helpful if frp/README.md contains a Installation section like other open source project does.

The installation guide should mention at least the following:

  1. How to install go dependencies (in one command: go get ./.... Chinese user may have to break the fucking government wall)

  2. How to build the package. Should I use Makefile or package.sh or go build?

by the way, PLEASE add #!/bin/bash into package.sh, else do not let package.sh executable.

  1. How to install the package. Should I use Makefile or go install?

  2. Additional information for distribution-specific installation guide. For example, frpc and frps are already available on ArchLinux AUR repo. It's better to let user know it.

Thanks for your awesome work.

Originally created by @recolic on GitHub (Aug 9, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1366 I'm trying to setup frp server on my vps. It would be really helpful if frp/README.md contains a `Installation` section like other open source project does. The installation guide should mention at least the following: 1. How to install go dependencies (in one command: `go get ./...`. Chinese user may have to break the fucking government wall) 2. How to build the package. Should I use `Makefile` or `package.sh` or `go build`? > by the way, PLEASE add `#!/bin/bash` into package.sh, else do not let package.sh executable. 3. How to install the package. Should I use `Makefile` or `go install`? 4. Additional information for distribution-specific installation guide. For example, frpc and frps are already available on ArchLinux AUR repo. It's better to let user know it. Thanks for your awesome work.
gitea-mirror 2026-05-05 12:41:44 -06:00
Author
Owner

@fatedier commented on GitHub (Aug 9, 2019):

Yes, do you want to contribute to this?

<!-- gh-comment-id:519760287 --> @fatedier commented on GitHub (Aug 9, 2019): Yes, do you want to contribute to this?
Author
Owner

@recolic commented on GitHub (Aug 9, 2019):

I'll do it this weekend.

<!-- gh-comment-id:519763665 --> @recolic commented on GitHub (Aug 9, 2019): I'll do it this weekend.
Author
Owner

@recolic commented on GitHub (Aug 20, 2019):

This is just a note. never mind...

> not tested yet!
## non-root user
just git clone and make

## root user
mkdir -p $GOPATH/src/github.com/fatedier
git clone https://github.com/fatedier/frp $GOPATH/src/github.com/fatedier/frp
cd $GOPATH/src/github.com/fatedier/frp
make # `go get ./...` If fails.

<!-- gh-comment-id:522850051 --> @recolic commented on GitHub (Aug 20, 2019): This is just a note. never mind... ``` > not tested yet! ## non-root user just git clone and make ## root user mkdir -p $GOPATH/src/github.com/fatedier git clone https://github.com/fatedier/frp $GOPATH/src/github.com/fatedier/frp cd $GOPATH/src/github.com/fatedier/frp make # `go get ./...` If fails. ```
Author
Owner

@fatedier commented on GitHub (Aug 20, 2019):

GOPATH is deprecated.

Requried Go version >= go1.12

If the network is no problem to get third packages, just run GO111MODULE=on make, it will build with go mod.

Or using GOPROXY to download third packages such as GOPROXY=https://goproxy.io GO111MODULE=on make.

<!-- gh-comment-id:522867692 --> @fatedier commented on GitHub (Aug 20, 2019): `GOPATH` is deprecated. Requried Go version >= go1.12 If the network is no problem to get third packages, just run `GO111MODULE=on make`, it will build with go mod. Or using `GOPROXY` to download third packages such as `GOPROXY=https://goproxy.io GO111MODULE=on make`.
Author
Owner

@recolic commented on GitHub (Aug 20, 2019):

GOPATH is deprecated.

Requried Go version >= go1.12

If the network is no problem to get third packages, just run GO111MODULE=on make, it will build with go mod.

Or using GOPROXY to download third packages such as GOPROXY=https://goproxy.io GO111MODULE=on make.

I have successfully built the package under go1.10 with this method. Note that ubuntu 1804 only provides golang1.10.

<!-- gh-comment-id:522869607 --> @recolic commented on GitHub (Aug 20, 2019): > `GOPATH` is deprecated. > > Requried Go version >= go1.12 > > If the network is no problem to get third packages, just run `GO111MODULE=on make`, it will build with go mod. > > Or using `GOPROXY` to download third packages such as `GOPROXY=https://goproxy.io GO111MODULE=on make`. I have successfully built the package under go1.10 with [this method](https://github.com/recolic/frp#build-from-source). Note that ubuntu 1804 only provides golang1.10.
Author
Owner

@fatedier commented on GitHub (Aug 20, 2019):

It's deprecated and not maintained.

<!-- gh-comment-id:522879380 --> @fatedier commented on GitHub (Aug 20, 2019): It's deprecated and not maintained.
Author
Owner

@recolic commented on GitHub (Aug 20, 2019):

It's deprecated and not maintained.

I know. but I think it's better to provide some help... I'll mark go<1.12 as deprecated in the document.

<!-- gh-comment-id:522879792 --> @recolic commented on GitHub (Aug 20, 2019): > It's deprecated and not maintained. I know. but I think it's better to provide some help... I'll mark go<1.12 as deprecated in the document.
Author
Owner

@recolic commented on GitHub (Aug 30, 2019):

@fatedier Please check Pull request #1417

<!-- gh-comment-id:526589827 --> @recolic commented on GitHub (Aug 30, 2019): @fatedier Please check Pull request #1417
Author
Owner

@kaushikc44 commented on GitHub (Jan 13, 2020):

how do i get elite proxies i am learning to crack so ya

<!-- gh-comment-id:573894669 --> @kaushikc44 commented on GitHub (Jan 13, 2020): how do i get elite proxies i am learning to crack so ya
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1084
No description provided.