Help Center/ Object Storage Service/ Tools Guide/ obsutil/ Downloading and Installing obsutil
Updated on 2025-08-22 GMT+08:00

Downloading and Installing obsutil

Download Links

Table 1 lists the download links of obsutil for different OSs.
Table 1 Download links of obsutil

OS

Software Package

SHA-256 Checksum

Windows (64-bit)

obsutil_windows64

3cf48e94f669e2b6035a10558d9fd2d254e530260b9caf0dd811bb1a90e1815f

Linux AMD (64-bit)

Linux x86 (64-bit)

obsutil_linux_amd64

077518c3e3b82eaedbbdacc8e9551f3a901f7835172c654492b06cd9a733da35

Linux Arm (64-bit)

obsutil_linux_arm64

68ab4fb65718595ae855b2fb579c8b6da2b06727477ee75d6513ee224cd821aa

macOS (64-bit)

obsutil_mac64

1c2785c8641d64a5e00848222c318217053220e1641634a96e603f1572f2f238

Getting Started with obsutil

You can download obsutil and then use it without installation. Methods of downloading obsutil vary depending on the OS type.

Make sure that your cloud server has been connected to the Internet, or the obsutil installation will fail.

Windows

  1. Download the obsutil package to your local PC.
  2. Decompress the software package.
  3. Use Command Prompt to go to the decompressed folder and run obsutil commands.

Linux

  1. Open the CLI and run the wget command to download obsutil.

    Linux AMD (64-bit) and Linux x86 (64-bit):

    wget https://obs-community-intl.obs.ap-southeast-1.myhuaweicloud.com/obsutil/current/obsutil_linux_amd64.tar.gz

    Linux Arm (64-bit):

    wget https://obs-community-intl.obs.ap-southeast-1.myhuaweicloud.com/obsutil/current/obsutil_linux_arm64.tar.gz
    • The URL after wget is the download link of the installation package, for which you do not need to make any adaptations. To download the package, just copy and run the whole wget command.
    • You can also download the obsutil package from a PC running Windows and then use a cross-platform transfer tool (such as WinSCP) to transfer the package to your Linux host.

  2. Run the following command in the directory where the obsutil package resides:

    tar -xzvf obsutil_linux_amd64.tar.gz

  3. List the obsutil directory. x.x.x indicates the obsutil version.

    ll
    
    dr-x------ 2 root root    4096 Jan  5  2024 obsutil_linux_amd64_x.x.x
    -rw------- 1 root root 3845484 Mar 27 17:05 obsutil_linux_amd64.tar.gz

  4. Go to the directory where obsutil resides. x.x.x indicates the obsutil version.

    cd obsutil_linux_amd64_x.x.x

  5. Run the following command to grant the execute permissions for obsutil:

    chmod 755 obsutil

    This step is required, or error "No such file or directory" will be reported when you are querying the obsutil version number.

  6. Continue to run the following command in the directory. If the version number of obsutil is returned, the installation is successful.

    ./obsutil version
    Figure 1 Successful installation

macOS

  1. Download the obsutil package to your local PC.
  2. Decompress the software package.
  3. Open the CLI, go to the directory where obsutil belongs, and run the following command to add execute permissions to obsutil:

    chmod 755 obsutil

To improve the usability of obsutil, you can set obsutil commands as built-in commands by running the shell or batch script in the software package. This way, you can run obsutil commands in any directory. For details, see Setting obsutil Commands as Built-in Commands.

More Operations

If you need to use obsutil on a Huawei Cloud ECS, you can configure access over an intranet to reduce costs on traffic by referring to Using obsutil on a Linux ECS to Access OBS over an Intranet.