Share via

How to download package from azure blob storage into azure linux vm

Vedanth Pulipati 26 Reputation points
2021-11-11T16:38:56.743+00:00

i am trying to pick the package from azure blob storage into linux vm to install the software

My package .deb is in azure blob storage i need to copy that to my linux vm and install it

Any leads will be appreciated

Azure Blob Storage
Azure Blob Storage

An Azure service that stores unstructured data in the cloud as blobs.

{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2021-11-11T23:38:12.2+00:00

    @Anonymous

    If the blob is publicly accessible or you have a SAS url you can copy it directly by using wget or curl.

    wget "https://blobstorage.blob.core.windows.net/azure/blob.deb?st=2021-11-11T07%3A56%3A00Z&se=2018-06-07T07%3A56%3A00Z&sp=rl&sv=2015-04-05&sr=c&sig=nKQz5BcWoUaASBzSW7Hv0TzfMbTFcf0f%2B5mMtmTwQ2A%3D==" -k -O "blob.deb"  
    

    Alternatively, you can install azcopy or Azure Storage Explorer.

    Hope this helps! Let me know if these options do not work for you or if you have further question.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.

  2. Alexander Rampp 1 Reputation point
    2024-05-31T15:24:50.07+00:00

    You can use azcopy. Example:

    azcopy copy "https://<mystorageaccount>.file.core.windows.net/<myfileStorage>/?<SAS-Token>" . --recursive
    

    To create the <SAS-Token> navigate in the Azure portal to you r account and go to "Security + Networking -> "Shared Acces Signature"

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.