How to install arduino on antix

bbharath

New Member
Joined
Jan 11, 2024
Messages
10
Reaction score
1
Credits
80
I am new just started using linux on low system and i had downloaded the arduino but unable to find executive file.
Does somebody let me know how to install it?
 
Last edited:


Did you download from here - https://github.com/arduino/arduino-ide/releases/tag/2.3.2

You can grab the AppImage - once downloaded just right click select properties and put a check mark in "Allow this to run

AppImages are self contain and needs no prerequisite software no installation required
 
I am on 32 bit system currently so please let me know old version to install.
I checked here but their is no appimage link in download page
 
There's a script in the Arduino stuff that explicitly requires bash (in its shebang) so if bash is not your shell (is not present on the system), then running the script results in an error indicating something like "file not found" but without saying -what- file was not found. Since I could see plain as day that the script I was trying to run was in fact present, this frustrated the daylights out of me for a -very- long time. On my system, the solution was to simply install bash. It doesn't have to be the default shell, it just has to be there and has to be in the normal place (probably /bin/bash). (1)

This is one of the reasons I so hate it when people use the ".sh" file name extension for shell scripts - It implies that whatever shell is currently acting as "sh" will do the job. If it needs bash (and why are you scripting with bashisms?) then name it "somescript.bash". Or just name it "somescript" and we'll all know to go figure out what interpreter it uses. Grrrr! It's like having code comments that say one thing while the actual code does something else.

---

1) It's been several years since I fooled around with Arduino stuff, so I don't remember the name of the script in question, nor even if it had with the ".sh" filename extension, but the fact that it needed bash is forever etched in my brain. Thinking about revisiting the Arduino world, so I'll update here when (if) I get back around to exactly which script is the culprit, if indeed that's still the case.
 
There was a legacy 32 bit version it was only available as a tar file
https://downloads.arduino.cc/arduino-1.8.19-linux32.tar.xz
No doubt that's the one I used back in the day as it's only been in the last few years that I joined the 64 bit world.

I just grabbed https://downloads.arduino.cc/arduino-1.8.19-linux32.tar.xz and unpacked it onto a thin client running 32 bit Core. The "install.sh" script is fine. The "arduino" script does indeed require bash (busybox ash won't do). The arduino IDE starts right up and runs ok to the extent that I've tested it (which isn't much since I don't have my arduino uno handy at the moment).

When I ran "arduino" under busybox ash it said:
Code:
/usr/local/bin/arduino: line 28: syntax error: unexpected "("
which is not the error message I remember from days gone by (this one is much too informative!) but it works under bash.

@bbharath What OS are you uising and on what hardware? If you don't already have bash installed, try that and let us know what happens.
 
I am on the pentium 4 system currrently, but had other system too which had problem.
I have tried to open the folder in order to install arduino, but the command might had problem.
I am sharing the screenshot so let me know what is the mistake from me.
 
Last edited:
The terminal is case sensitive.

One of your mistakes is 'downloads' which should be Downloads.

Also, if you want to change to the home directory, you can just use cd by itself.
 
Since AntiX is Debian-based, probably from the repos.
Code:
sudo apt install arduino
 
yep or open the synapic package manager and type in arduino in the search box

1.png
 
Thanks Guys it worked by entering from the root directory also you pointed the D capital which worked.

Can you tell me where does these program files stored? I need to copy files into that folder.
I had spent all the time on Windows so cant figure this small thing.
 
Thanks Guys it worked by entering from the root directory also you pointed the D capital which worked.

Can you tell me where does these program files stored? I need to copy files into that folder.
I had spent all the time on Windows so cant figure this small thing.
To find out the files in the arduino package, and where they are in the filesystem, you can run the following command in a terminal:
Code:
apt-file list arduino

If you don't have the apt-file command, you can install it, as root, by running the following:
Code:
apt update
apt install apt-file

The listing of the files in arduino is very long because the package includes numerous examples.
The executable files are those in the /usr/bin directory.
 

Members online


Top