Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 4533  / 2 Years ago, thu, june 16, 2022, 4:16:44

I have downloaded the newest version of Arduino (to use with my Arduino Due) from here: http://downloads.arduino.cc/arduino-1.5.6-r2-linux64.tgz.



At the moment I have extracted it into /home/$USER and am running it by going into arduino-1.5.6-r2 and running the executable directly.



How can I have it so it is installed as it would be if I had downloaded it using apt-get install arduino?


More From » 12.04

 Answers
6

If you want to run it locally, create a desktop file in ~/.local/share/applications:



option 1:
Make sure the file is executable (in this case it is when you downloaded it).
Paste the text below in an empty textfile, fill in the right path to the script file (arduino), to the icon, the comment (optional) and the categories (optional):



[Desktop Entry]
Name=Arduino
Comment=Your comment here
Exec=/path/to/arduino/arduino
Terminal=false
Type=Application
StartupNotify=true
Icon=/path/to/icon/icon
Categories=


Save it as arduino.desktop in ~/.local/share/applications.



option 2:



As above, but create a directory ~/bin, and create a link there (ln-sf) to arduino. then simply change the Exec= -line in the desktop file to Exec=arduino.



After log out / in, Arduino will be avialable in Dash. Drag it on to the launcher if you want to run it from the launcher as well (or run it and right-click lock to launcher like you would with any other application.


[#25627] Friday, June 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
arbaour

Total Points: 346
Total Questions: 115
Total Answers: 105

Location: Oman
Member since Wed, Apr 12, 2023
1 Year ago
;