So I just got my computer to run 64-bit Ubuntu MATE (literally the same as Ubuntu, but with a MATE desktop theme) and I thought "maybe I can use it for my Arduino projects!" So I went to the Arduino download site, downloaded the tar.xz file, extracted it to my downloads, and then installed the icon with the command./install.sh
Then I click the icon and nothing loads up. It then says in the terminal to do the command sudo apt-get install arduino
to install it and I don't want to do that because I heard in another post that if I execute that command, it downloads Arduino 1.0.1, which I don't want. I made sure that the 64-bit version was downloaded, and there was no problem there. It really started when the icon was on my desktop, and I click it, but nothing happens. Is there a solution to this problem? Because I really don't want to use the classical version of Arduino. I'll upload screenshots if need be and other commands.
Go to the same place you did the ./install.sh. On my OS Linux Mint it is "/home/kprims/Downloads/arduino-1.8.5"
At your location try using the Terminal.
./arduino
My icon Properties shows command : "/home/kprims/Downloads/arduino-1.8.5/arduino"
SkylerC:
So I just got my computer to run 64-bit Ubuntu MATE (literally the same as Ubuntu, but with a MATE desktop theme) and I thought "maybe I can use it for my Arduino projects!" So I went to the Arduino download site, downloaded the tar.xz file, extracted it to my downloads, and then installed the icon with the command./install.sh
Then I click the icon and nothing loads up. It then says in the terminal to do the commandsudo apt-get install arduino
to install it and I don't want to do that because I heard in another post that if I execute that command, it downloads Arduino 1.0.1, which I don't want. I made sure that the 64-bit version was downloaded, and there was no problem there. It really started when the icon was on my desktop, and I click it, but nothing happens. Is there a solution to this problem? Because I really don't want to use the classical version of Arduino. I'll upload screenshots if need be and other commands.
I have 1.8.3 running on Linux Mint 18 64-bit.
Been too lazy to upgrade.
,
Sorry it's been a while. Just got back to using my system!
Anyway, when I did the
./arduino
command, I got this error:
skyler@skyler-desktop:~/Downloads/Arduino$ ./arduino
./arduino: line 35: /home/skyler/Downloads/Arduino/java/bin/java: cannot execute binary file: Exec format error
and it doesn't launch. When I typed the
./install
command, I got this:
skyler@skyler-desktop:~/Downloads/Arduino$ ./install.sh
Adding desktop shortcut, menu item and file associations for Arduino IDE...touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
touch: cannot touch '/home/skyler/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory
done!
an I'm now stumped. I'm pretty sure that the launching application is the one to blame, and not the install. Is there anything else I should try?
EDIT: I solved the installation issue by aforementioned above by naming the folder to a different name. Apparently some Arduino users pointed out that it isn't a smart idea to install the Arduino IDE when the name of the folder is "Arduino" or "arduino", because it apparently brings up issues with accessing certain execution files. However, I still have not been able to run the program with the standard ./arduino
command. It now says:
skyler@skyler-desktop:~/Documents/Compiler$ ./arduino
./arduino: line 35: /home/skyler/Documents/Compiler/java/bin/java: cannot execute binary file: Exec format error
again, is there anything that could work or a mistake that I am making?
P.S. I moved the Arduino files to the documents and renamed the folder "Compiler".
Continue at your original thread!!!!!!!!!!!!!!!!!!!
http://forum.arduino.cc/index.php?topic=551427.msg3762599#msg3762599
Do you enjoy hearing yourself talk or something? ? ? ?
Because of this, I have no wish to help.
.
Please stop posting the same question over again.
Topics merges/deleted.
IDE 1.8.4 works fine on my Ubuntu 18.04 system. Do the following at a terminal prompt and post the result.
file /home/skyler/Documents/Compiler/java/bin/java
My system reports the following.
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=c90f19ee0af98c47ccaa7181853cfd14867bc931, not stripped
So sorry about all of that! My mistake. At first I thought the other post wasn't part of the thread, but I guess that isn't the way it works. Anyway, I did the command:
skyler@skyler-desktop:~$ file /home/skyler/Documents/Compiler/java/bin/java
/home/skyler/Documents/Compiler/java/bin/java: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9, BuildID[sha1]=c90f19ee0af98c47ccaa7181853cfd14867bc931, not stripped
and I got a result that is sort of similar to yours.
They should be the exactly the same. I have no idea why they are different. Try reinstalling from the tar.gz file.
What do you get for the following?
uname -a
Oops! The output of the file command does match on our systems. I posted the output from an older Ubuntu system. I now see the same result as yours on Ubuntu 18.04.
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9, BuildID[sha1]=c90f19ee0af98c47ccaa7181853cfd14867bc931, not stripped
I got this when I ran your other command after I reinstalled and extracted the file:
skyler@skyler-desktop:~/Documents/Compiler$ uname -a
Linux skyler-desktop 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:12:19 UTC 2018 i686 athlon i686 GNU/Linux
Your Linux is running in 32-bit mode so you must use the 32-bit version of the IDE.
Is there a way for it to run in 64-bit mode?
I think it means backing up your files then download and install the 64 bit version. Next copy your files to the freshly installed 64 bit system. I have never seen a way to upgrade a 32 bit Linux installation to 64 bit.
SkylerC:
Is there a way for it to run in 64-bit mode?
You may not be able to install 64-bit if your CPU is old.
.
It works! Thank you guys so much and I apologize for the inconvenience!