Mech-Eye SDK Installation Guide (Ubuntu)

This topic guides you through the downloading, installation, upgrade, and uninstallation of Mech-Eye SDK on Ubuntu.

If you are using the Windows operating system, please refer to Mech-Eye SDK Installation Guide.

Download Mech-Eye SDK

Mech-Eye SDK installation packages for the AMD64 and ARM64 architectures are provided:

  • AMD64: Mech-Eye_API_2.1.0_AMD64_Debian&Ubuntu.deb

  • ARM64: Mech-Eye_API_2.1.0_ARM64_Nvidia_Jetson_Tx2&Xavier.deb

Please download the corresponding Mech-Eye SDK installation package according to your needs.

Use the arch command to check the system architecture.

Install Mech-Eye SDK

If you have installed Mech-Eye SDK already, please upgrade Mech-Eye SDK instead.

Follow these steps to install Mech-Eye SDK on Ubuntu:

  1. Enter the directory where the installation package is stored and execute the following command to install Mech-Eye SDK:

    • If the system architecture is AMD64, execute the following command:

      sudo dpkg -i 'Mech-Eye_API_2.1.0_AMD64_Debian&Ubuntu.deb'
    • If the system architecture is ARM64, execute the following command:

      sudo dpkg -i 'Mech-Eye_API_2.1.0_ARM64_Nvidia_Jetson_Tx2&Xavier.deb'
  2. Execute the following command to check if the installation succeeded. If the Mech-Eye SDK version is printed, the installation succeeded.

    dpkg -l | grep mecheyeapi

Upgrade Mech-Eye SDK

If you have installed Mech-Eye SDK already, follow these steps to upgrade Mech-Eye SDK:

  1. Execute the following command to check if Mech-Eye SDK has been installed:

    dpkg -l | grep mecheyeapi
  2. Execute the following command to uninstall Mech-Eye SDK:

    sudo dpkg -P MechEyeApi
  3. Enter the directory where the installation package is stored and execute the following command to install Mech-Eye SDK:

    • If the system architecture is AMD64, execute the following command:

      sudo dpkg -i 'Mech-Eye_API_2.1.0_AMD64_Debian&Ubuntu.deb'
    • If the system architecture is ARM64, execute the following command:

      sudo dpkg -i 'Mech-Eye_API_2.1.0_ARM64_Nvidia_Jetson_Tx2&Xavier.deb'
  4. Execute the following command to check if the installation succeeded. If the Mech-Eye SDK version is printed, the installation succeeded.

    dpkg -l | grep mecheyeapi

Uninstall Mech-Eye SDK

Follow these steps to uninstall Mech-Eye SDK:

  1. Execute the following command to uninstall Mech-Eye SDK:

    sudo dpkg -P MechEyeApi
  2. Execute the following command to check if the uninstallation succeeded. If no messages are printed, the uninstallation succeeded.

    dpkg -l | grep mecheyeapi