Updated on 2024-04-17 GMT+08:00

Downloading and Installing obsutil

Download Links

OBS Console provides you with the download links of obsutil for different operating systems.

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. Click the download link provided on OBS Console 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. Open the CLI and run the wget command for the download link provided on OBS Console to download obsutil to your local PC.

      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. Click the download link provided on OBS Console 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