Instructions for installing Ardunino IDE 2.3.7 onto Linux Mint 21.3
In order to use the Raspberry Pi Pico (RP2040) with the Arduino IDE, you must install an addition package. In the Boards Manager menu, search for "RP2040" and then install the "Arduino Mbed OS RP2040 Boards" package.
To get the Arduino IDE to successfully program a Pi Pico, you must add some rules to UDEV. Open up a command line terminal and execute the command below to create a new UDEV rules file.
sudo nano /etc/udev/rules.d/60-arduino.rules
Next, paste the following lines into the new file and save it. ("Ctrl+x" and then
"s")
(NOTE: This information was found in the Ardunio GitHub repository.
(Link) )
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2e8a", MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1fc9", MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0525", MODE:="0666"
Execute each of the following commands to activate the new rules.
sudo udevadm trigger
sudo udevadm control --reload-rules
The software suite should now be installed and working.