Software⏱️ 3 min read📅 2026-06-19

How to Fix: Why do I get the error 'bash: ./install.sh: No such file or directory' when installing printer driver on openSUSE?

Error fixing for openSUSE printer driver installation

Quick Answer: The issue is due to the missing dependencies required by the installed package. Run "rpm -e cnijfilter-common" and then try installing the driver again.

The error 'bash: ./install.sh: No such file or directory' occurs when attempting to install printer drivers on openSUSE. This issue affects users who have recently installed openSUSE and are trying to install Canon MX340 driver. The frustration comes from the fact that the user has followed the instructions provided by the Canon website, changed firewall settings as required, but still encounters this error.

This problem can be resolved by identifying the root cause of the issue and taking corrective action.

💡 Why You Are Getting This Error

  • The primary reason for this error is that the 'install.sh' script is not present in the download directory. The Canon website provides a guide to install the driver, but it's possible that the script was missed or not downloaded correctly. To resolve this issue, the user needs to check if the 'install.sh' script exists in the download directory and ensure it's executable.
  • An alternative reason for this error is that the 'rpm -Uvh' command failed due to missing dependencies. In this case, the user needs to install the required dependencies before proceeding with the installation process.

🚀 How to Resolve This Issue

Verify the existence of the 'install.sh' script

  1. Step 1: Open a terminal and navigate to the download directory where the Canon MX340 driver is located.
  2. Step 2: Type the command 'ls -l' to check if the 'install.sh' script exists in the directory. If it does, verify its permissions by typing 'chmod +x install.sh'.
  3. Step 3: If the 'install.sh' script is not present or its permissions are incorrect, download and reinstall the driver from the Canon website.

Install required dependencies

  1. Step 1: Open a terminal and type the command 'rpm -q --list all' to check for any missing dependencies.
  2. Step 2: If dependencies are missing, install them using the 'yum install' or 'zypper install' command, depending on the openSUSE version. For example, to install libpangox-1.0.so.0, type 'sudo yum install libpangox-1.0.so.0'.
  3. Step 3: After installing the dependencies, proceed with the installation process using the 'rpm -Uvh' command.

✨ Wrapping Up

To resolve the error 'bash: ./install.sh: No such file or directory', verify the existence of the 'install.sh' script and ensure it's executable. If the script is not present, download and reinstall the driver from the Canon website. Alternatively, install required dependencies using the 'yum install' or 'zypper install' command before proceeding with the installation process.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions