I want to download the file this way:

wget https://grafanarel.s3.amazonaws.com/builds/grafana-4.1.2-1486989747.linux-x64.tar.gz 

I get the error:

 --2017-02-20 16:38:54-- https://grafanarel.s3.amazonaws.com/builds/grafana-4.1.2-1486989747.linux-x64.tar.gz Распознаётся grafanarel.s3.amazonaws.com (grafanarel.s3.amazonaws.com)... 52.216.64.192 Подключение к grafanarel.s3.amazonaws.com (grafanarel.s3.amazonaws.com)|52.216.64.192|:443... соединение установлено. HTTP-запрос отправлен. Ожидание ответа... 200 OK Длина: 45024995 (43M) [application/x-tar] grafana-4.1.2-1486989747.linux-x64.tar.gz: Отказано в доступе Невозможно записать в «grafana-4.1.2-1486989747.linux-x64.tar.gz» (Выполнено). 

The site contains a SHA key of this type: e2de61dde3286f586d27c670eb50a5fddf6b6926 . Where do I need to enter it for a successful download?

  • ... and generally it is better to use lftp - much more possibilities. - 0andriy

2 answers 2

No need to write any keys anywhere. The link archive is available anonymously and the answer 200 OK confirms this.

The user on whose behalf you invoke wget is not authorized to create a file in the directory from where you invoke the command. Therefore, the download starts successfully, but the result has nowhere to write.

    1. Check permissions in the current directory, check permissions on the file grafana-4.1.2-1486989747.linux-x64.tar.gz , if it exists
      ls -ld  grafana-4.1.2-1486989747.linux-x64.tar.gz 
    1. Go to your home directory and download the file there.
      cd