Skip to content

Latest commit

 

History

History
154 lines (102 loc) · 5.4 KB

File metadata and controls

154 lines (102 loc) · 5.4 KB
title Install AzCopy v10 on Linux by using a package manager
description You can install AzCopy by using a Linux package that is hosted on the Linux Software Repository for Microsoft Products.
author normesta
ms.service azure-storage
ms.topic how-to
ms.date 10/28/2025
ms.author normesta
ms.subservice storage-common-concepts
ms.custom ai-video-demo
ai-usage ai-assisted

Install AzCopy on Linux by using a package manager

This article helps you install AzCopy by using popular Linux package managers (dnf, apt, zypper). When you install AzCopy, you make it available system-wide and can easily keep it updated through your regular system maintenance routines.

For more detailed guidance on installing these packages, see Linux Software Repository for Microsoft Products.

  1. Download the repository configuration package.

    curl -sSL -O https://packages.microsoft.com/config/<distribution>/<version>/packages-microsoft-prod.rpm

    Replace the <distribution> and <version> placeholders in this command with the Linux distribution and version that you're running on your machine. See packages.microsoft.com to find the list of supported Linux distributions and versions.

    Use the cat /etc/os-release command to get the Linux distribution and version running on your machine. For example, if Ubuntu and version 20.04 appears in the output of that command, then open the packages.microsoft.com page, select ubuntu, and then verify that 20.04 appears in the list. Then, use that distribution and version in your comment.

    curl -sSL -O https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.rpm
  2. Install the repository configuration package.

    sudo rpm -i packages-microsoft-prod.rpm
  3. Delete the repository configuration package after you install it.

    rm packages-microsoft-prod.rpm
  4. Update the package index files.

    sudo dnf update
  5. Install AzCopy.

    sudo dnf install azcopy
  1. Download the repository configuration package.

    curl -sSL -O https://packages.microsoft.com/config/<distribution>/<version>/packages-microsoft-prod.rpm

    Replace the <distribution> and <version> placeholders in this command with the Linux distribution and version that you're running on your machine. See packages.microsoft.com to find the list of supported Linux distributions and versions.

    Use the cat /etc/os-release command to get the Linux distribution and version running on your machine. For example, if Ubuntu and version 20.04 appears in the output of that command, then open the packages.microsoft.com page, select ubuntu, and then verify that 20.04 appears in the list. Then, use that distribution and version in your comment.

    curl -sSL -O https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.rpm
  2. Install the repository configuration package.

    sudo rpm -i packages-microsoft-prod.rpm
  3. Delete the repository configuration package after you install it.

    rm packages-microsoft-prod.rpm
  4. Update the package index files.

    sudo zypper --gpg-auto-import-keys refresh
  5. Install AzCopy.

    sudo zypper install -y azcopy
  1. Download the repository configuration package.

    curl -sSL -O https://packages.microsoft.com/config/<distribution>/<version>/packages-microsoft-prod.deb

    Replace the <distribution> and <version> placeholders in this command with the Linux distribution and version that you're running on your machine. See packages.microsoft.com to find the list of supported Linux distributions and versions.

    Use the cat /etc/os-release command to get the Linux distribution and version running on your machine. For example, if Ubuntu and version 20.04 appears in the output of that command, then open the packages.microsoft.com page, select ubuntu, and then verify that 20.04 appears in the list. Then, use that distribution and version in your comment.

    curl -sSL -O https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
  2. Install the repository configuration package.

    sudo dpkg -i packages-microsoft-prod.deb
  3. Delete the repository configuration package after you install it.

    rm packages-microsoft-prod.deb
  4. Update the package index files.

    sudo apt-get update
  5. Install AzCopy.

    sudo apt-get install azcopy

Install AzCopy.

sudo tdnf install azcopy

Next steps

If you have questions, issues, or general feedback, submit them on GitHub.