Comments (2)
my mistake, I've used 1.7.4 which is the distro version
This is how i solved it
docker run -it debian:stretch bash
apt-get update && apt-get install wget git -y
wget https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz
tar -xvf go1.10.3.linux-amd64.tar.gz
mv go /usr/local
export GOROOT=/usr/local/go
export GOPATH=/root/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
$ go version
go version go1.10.3 linux/amd64
go get -u github.com/peakgames/s5cmd
$ s5cmd -version
s5cmd version v0.6.0
And for the local build:
apt-get install build-essential -y
cd ${GOPATH}/src/github.com/peakgames/s5cmd
$ make
find . ! -path "*/vendor/*" -type f -name '*.go' -exec /usr/local/go/bin/gofmt -l -s -w {} \;
/usr/local/go/bin/go build -ldflags "" .
the only thing that is missing in the make:
go install
from s5cmd.
Hi @innovia, you can run make
command on project root directory ({GOPATH}/src/github.com/peakgames/s5cmd
) to build the binary.
Also, we will provide extra instructions about building as you suggested, thanks 👍
from s5cmd.
Related Issues (20)
- Question: Specify different endpoint for source and destination
- s5cmd ls --region argument, and implied lists respect the cp argument
- Facilitating Python Usage: Proposal for s5cmd Wheels HOT 2
- README.md incorrect example "you can compress the data before uploading" HOT 1
- Path globbing syntax is not documented HOT 3
- README.md internal link is incorrect
- rm doesn't delete 0-byte folder placeholders
- Region setting ignored in credentials file (and awscli doesn't need the setting at all)
- Copying object onto itself with metadata fails
- sync command copies a new object everytime when the s3 version is on GLACIER
- run input syntax is not documented HOT 2
- "Beast mode" example is incorrect HOT 1
- remote-to-remote copy with --if-source-newer uses wrong region
- Support cat with glob
- Please create a new release with updated `github.com/lanrat/extsort` version HOT 2
- Parameters --no-clobber, -n with cp is working in a wrong way.
- Dualstack (IPv6) endpoint doesn't work
- Strange behaviour of sync HOT 1
- Global options and "Run multiple commands in parallel" feature HOT 1
- Error on empty bucket listing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s5cmd.