Updated on 2024-02-29 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

Download Link

How to Use

View Help

Windows (64-bit)

obsutil_windows64

After the download completes, refer to Quick Start to quickly get started with obsutil.

Basic functions

Use the help command to get familiar with more functions of obsutil.

Linux AMD (64-bit)

obsutil_linux_amd64

Linux ARM (64-bit)

obsutil_linux_arm64

macOS (64-bit)

obsutil_mac64

Quick Installation

Methods of downloading obsutil vary depending on the OS type. For details, see the following:

The following operations require that the ECS be connected to the Internet, or the obsutil installation will fail.

  • In Windows
    1. Open the required download link given in the table above in a browser to download obsutil to your local PC.
    2. Decompress the downloaded package to a specified folder.
    3. Double-click obsutil.exe to start using obsutil.

      Alternatively, you can open the CLI to go to the upper-level directory of obsutil.exe and run obsutil commands. The command line structures of the two modes are different. For details, see Command Line Structure.

  • In Linux
    1. wget https://develop.oss.eu-west-0.prod-cloud-ocb.orange-business.com/obsutil/current/obsutil_linux_amd64.tar.gz

      You can also download the obsutil package from a PC running the Windows operating system and then use a cross-platform transfer tool (such as WinSCP) to transfer the package to your host running the Linux operating system.

    2. Run the following command in the directory where the tool package resides:
      tar -xzvf obsutil_linux_amd64.tar.gz
    3. Go to the directory where obsutil resides and run the following command to grant the execute permission on obsutil:
      chmod 755 obsutil

      You must grant the execute permission on obsutil, or error "No such file or directory" will be reported during a query of the obsutil version number.

    4. Continue to run the following command in the directory. If the version number of obsutil is returned, the installation is successful.
      ./obsutil version
  • In macOS
    1. Open the required download link given in the table above in a browser to download obsutil to your local PC.
    2. Decompress the downloaded package to a specified folder.
    3. Open the CLI, go to the directory where obsutil resides, and run the following command to grant the execute permission to obsutil:
      chmod 755 obsutil