Arduino on Slackware Linux

Packages

You can find all that you need (x86 and x86_64) on http://www.slacky.eu repository. You have to download and install these packages:

- avr-binutils
- avr-gcc
- avr-libc
- avrdude
- arduino

For every question or problem with these packages,please contact Vito (Vito@slacky.it) on slacky.eu forum (remember that the use of the english language is allowed).

Slackbuilds

As of version Arduino version 1.0.1 it will suffice to use only this slackbuild: http://slackbuilds.org/repository/13.37/development/arduino/

For older versions you will need to download and install these packages from slackbuilds.org. http://slackbuilds.org/repository/13.37/libraries/avr-libc/
http://slackbuilds.org/repository/13.37/development/avr-gcc/
http://slackbuilds.org/repository/13.37/development/avr-binutils/
If you haven't installed a slackbuild before, take a look at the readme here. http://slackbuilds.org/howto/

After all of these have installed, the 64 bit arduino software should work flawlessly. If it doesn't, see the notes.

Notes

You will have to give yourself permissions to use the serial port. Type in as root: "cd /etc/udev/rules.d && echo '"KERNEL=="ttyACM?", MODE="0777"' | cat > 20-arduino.rules" After restarting the computer or reinserting the Arduino, the software should be able to see the communication port. See "Troubleshooting" for further information

Troubleshooting

If the command threw errors, check to see that you're logged in as root. If the Arduino IDE still doesn't see the Arduino, run this command as root: "cd /etc/udev/rules.d && echo '"KERNEL=="ttyUSB?", MODE="0777"' | cat > 20-arduino.rules"

With recent Arduino software, you may see the error:

"please see: How can I use Lock Files with rxtx? in INSTALL check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file."

The software needs to be able to write to /var/lock. For some systems this is fixable by adding the user to group 'lock', but Slackware doesn't currently seem to have such a group. One way to fix this is to chmod the /var/lock directory appropriately.

Additional resources

There is a summary of first steps using Slackware 13.1 and the newer Arduino Uno board at http://home.comcast.net/~bender647/arduino/.

Share