Downloading and Installing obsutil
Download Links
OS |
Download Link |
How to Use |
View Help |
---|---|---|---|
Windows (64-bit) |
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) |
|||
Linux ARM (64-bit) |
|||
macOS (64-bit) |
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
- Open the required download link given in the table above in a browser to download obsutil to your local PC.
- Decompress the downloaded package to a specified folder.
- 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
- Open the CLI and run the wget command to download obsutil.
https://obs-community.obs.eu-west-101.myhuaweicloud.eu/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.
- Run the following command in the directory where the tool package resides:
tar -xzvf obsutil_linux_amd64.tar.gz
- 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.
- Continue to run the following command in the directory. If the version number of obsutil is returned, the installation is successful.
./obsutil version
- Open the CLI and run the wget command to download obsutil.
- In macOS
- Open the required download link given in the table above in a browser to download obsutil to your local PC.
- Decompress the downloaded package to a specified folder.
- 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
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.