Azure / azure-storage-azcopy

The new Azure Storage data transfer utility - AzCopy v10
MIT License
613 stars 222 forks source link

[Request] Standardised install and update methods for azcli across OSes #900

Closed dijitali closed 3 months ago

dijitali commented 4 years ago

Which version of the AzCopy was used?

Note: The version is visible when running AzCopy without any argument

AzCopy 10.3.4

Which platform are you using? (ex: Windows, Mac, Linux)

Mac & Linux

What command did you run?

Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.

N/A

What problem was encountered?

No standardised way to install this other than download URLs on this repo.

Most major Microsoft projects seem to have a regular release process via a package manager that lets me:

How can we reproduce the problem in the simplest way?

N/A

Have you found a mitigation/solution?

Other Microsoft mature projects like this offer regular packaged, signed releases, for example the Azure CLI, Powershell:

adreed-msft commented 4 years ago

Distribution via package managers is something that I believe we're planning on doing at a future date. When, we're not entirely certain about, however.

elygre commented 1 year ago

@adreed-msft For our usecase, a pure http download, as today is fine. However, it would be great if the executable itself could be immediately available (not inside a zip file), to avoid this brittle piece of code:

curl --silent --location https://aka.ms/downloadazcopy-v10-linux
| sudo tar xvz --wildcards --file - --strip-components 1 --directory /usr/local/bin "*/azcopy"

(It's one long line of code, broken into two for readability).

To me, this would be happiness:

curl --silent --location https://aka.ms/downloadazcopy-v10-linux-bin --output /usr/local/bin/azcopy
yeroc commented 12 months ago

@adreed-msft Any chance of this being revisited soon? Seems strange that the azcli is available as a proper package but azcopy is not.

seanmcc-msft commented 3 months ago

We now support distribution through package manager for Red Hat Enterprise Linux (RHEL), Ubuntu, Mariner, Debian, SUSE, Rocky and CentOS.

https://github.com/Azure/azure-storage-azcopy/pull/2728