Score:2

Can't install.sh Arduino software

cn flag

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'.

https://www.arduino.cc/en/Guide/Linux

How do I install the Arduino software on ubuntu 20.04 64-bit?

Score:3
it flag

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.

gfries avatar
cn flag
I don't fully understand this. 'install.sh' is inside my cwd. What is ``./`` doing? I thought by typing xyz.xxx in my cwd it would indicate that I want to run that file.
mashuptwice avatar
it flag
The `./` indicates that you want to run a file in your current working directiry.
Liso avatar
sd flag
Note that `.` (dot) implied your current directory.
uz flag
Jos
A bit of explanation: only files in your $PATH will be executed without the need of specifying their full path. By typing `./` 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.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.