Loading...

Install on Linux Mint

Arduino installation on Linux Mint is easier than going to sleep (at least, it is to me). On a DSL/ISDN connection, you should be ready in no time.

Install the Arduino IDE

This command

su -c 'apt-get install arduino' root

installs the Arduino IDE. Enter the root password when prompted and accept the installation.

Add Your User to the Dialout Group

This allows you to communicate via a serial port (which should follow the format /dev/ttyACMx, where x is a number arbitrarily assigned by the system). Type:

su -c 'usermod -aG dialout <username>' root

where <username> is your username.

Check to Confirm Your New Group

This is optional, but quite simple. Type:

groups

and you should see something like

<username> dialout

If not, repeat the previous step.

Select Your Serial Port

Plug in your Arduino board. Open the Arduino IDE in the GUI and click Tools -> Serial Ports -> /dev/ttyACMx. Unless you have more than one serial device plugged in, there will only be one entry in the list to choose from.

Congratulations! You're ready to go!


A Quick Note about su -c

The accepted convention is to use sudo. However, sudo requires you be a member of the sudoers group. (You could also edit the supplementary files the sudoers file reads from, but this is highly NOT recommended.) su without the -c option will not accept a command to pass to the root shell, but will instead login to the root account. This can be dangerous, so I recommend using su -c or (if you're already a member of the sudoers group or have an administrator handy) sudo.

solcintra_jack? February 05, 2013, at 02:49 PM