Following the instructions on the Arduino install page, once I arrive in my extracted directory and run install.sh
in the terminal, I get the message:
install.sh: command not found
How do I install the Arduino software on Ubuntu 20.04 64-bit?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityFollowing the instructions on the Arduino install page, once I arrive in my extracted directory and run install.sh
in the terminal, I get the message:
install.sh: command not found
How do I install the Arduino software on Ubuntu 20.04 64-bit?
You need to type ./install.sh
instead.
The ./
indicates that you want to run a file in your current working directiry.
Without the leading ./
linux will search in your $PATH for an executable program with that name.
./
doing? I thought by typing xyz.xxx in my cwd it would indicate that I want to run that file.
./
indicates that you want to run a file in your current working directiry.
Feb 13, 2022 at 16:14
./
before the executable name, you provide the full path. You could add "."
to your $PATH, meaning "whatever the current directory is", in order to avoid having to type ./
before every executable in your current directory. However, this is not recommended, as it is a security exposure.