# Update system packages
sudo apt update && sudo apt upgrade
# Go to Software and install it by searching arduino ide or:
sudo apt install arduino
# Then enter this command to upload code to arduino board
sudo usermod -a -G dialout user_name
# Restart your computer and then open arduino and use it