Install on Linux Mint

Arduino installation on Linux Mint is a very simple process, because the Arduino toolkit is in the official Mint software repositories. On a DSL/ISDN connection, you should be ready in no time.

Install the Arduino IDE

Execute the following command in the terminal (Ctrl Alt T):

sudo apt-get install arduino

This will install the Arduino IDE. You will need to be logged on as an administrator to complete this process. Enter your 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:

sudo usermod -aG dialout <username>

where <username> is your username, or

sudo usermod -aG dialout $(whoami)

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. Or try logging off and then back on, so that the usermod command can take effect.

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 Administrative Privileges

The commands above must be executed with administrative privileges; the sudo command allows you to do just that. An alternative way to execute an elevated command is with su -c ' command ' root, but that requires you to have a root password set, which is a very bad idea.

This does mean that you will need to be an administrator to install Arduino, but this is true of most any program. If you are not an administrator on your computer, contact your administrator and request that Arduino be installed using the instructions on this page.

wchargin February 11, 2013, at 9:16 PM solcintra_jack? February 05, 2013, at 02:49 PM

Share