• Uncategorized

About linux : How-to-change-the-Go-AWS-SDK-default-download-directory-in-Linux-Getting-no-space-left-on-device-error

Question Detail

I am trying to download the Go AWS SDK but I don’t have much space in my root.
I have mounted another device (/mnt/device2/) where I have 15 GB space available.

When I run the command go get -u github.com/aws/aws-sdk-go/... I get the error

go build github.com/aws/aws-sdk-go/service/macie2: mkdir
/tmp/go-build3967698646/b570/: no space left on device

I want to change the default download directory from /tmp/ to /mnt/device2/.

Is it possible to do so?

Question Answer

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.