All Products
Search
Document Center

Object Storage Service:Install ossfs 2.0 on Linux

Last Updated:Dec 03, 2025

This topic describes how to install ossfs 2.0 on Linux.

Procedure

Alibaba Cloud Linux

  1. Run the command that corresponds to your system architecture to download the installation package.

    • For x86_64 architecture: sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.4_linux_x86_64.rpm

    • For aarch64 architecture: sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.4_linux_aarch64.rpm

  2. Run the command that corresponds to your system architecture to install ossfs 2.0.

    • x86_64: sudo yum install ossfs2_2.0.4_linux_x86_64.rpm -y

    • aarch64: sudo yum install ossfs2_2.0.4_linux_aarch64.rpm -y

  3. Run the following command to verify that ossfs 2.0 is installed.

    ossfs2 --version

    The following output is returned:

    Version ID: 2.0.4
    Commit  ID: e6c73293ca0c79f492f85525d01d4db04f0ef9a2
    Build Time: 2025-10-27.01:44:58.UTC
    Note

    The ossfs2 executable is installed at /usr/local/bin/ossfs2. If your PATH environment variable is customized, you can access the program by using its absolute path /usr/local/bin/ossfs2.

CentOS

  1. Run the following command to download the installation package:

    sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.4_linux_x86_64.rpm
  2. Run the following command to install ossfs 2.0:

    sudo yum install ossfs2_2.0.4_linux_x86_64.rpm -y
  3. Run the following command to verify that ossfs 2.0 is installed:

    ossfs2 --version

    The following output is returned:

    Version ID: 2.0.4
    Commit  ID: e6c73293ca0c79f492f85525d01d4db04f0ef9a2
    Build Time: 2025-10-27.01:44:58.UTC
    Note

    The ossfs2 executable is installed at /usr/local/bin/ossfs2. If your PATH environment variable is customized, you can access the program by using its absolute path /usr/local/bin/ossfs2.

Ubuntu

  1. Run the following command to download the installation package:

    sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.4_linux_x86_64.deb
  2. Run the following command to install ossfs 2.0:

    sudo dpkg -i ossfs2_2.0.4_linux_x86_64.deb
  3. Run the following command to verify that ossfs 2.0 is installed:

    ossfs2 --version

    The following output is returned:

    Version ID: 2.0.4 
    Commit  ID: e6c73293ca0c79f492f85525d01d4db04f0ef9a2
    Build Time: 2025-10-27.01:44:58.UTC
    Note

    The ossfs2 executable is installed at /usr/local/bin/ossfs2. If your PATH environment variable is customized, you can access the program by using its absolute path /usr/local/bin/ossfs2.

What to do next

After you install ossfs 2.0, configure the OSS bucket that you want to mount and the access credentials required to access it. For more information, see Configure ossfs 2.0.