How to install Arduino software in Ubuntu
To install Arduino software in Ubuntu
Arduino is a latest open source IDE software that used to create interactive objects or environments. It allows the users for writing program, code compiling and uploading to the Arduino development board. Installation of Arduino software in Ubuntu is explained in this article.
Installation of Arduino
First add the required repository to install Arduino software.
root@linuxhelp1:~# apt-add-repository ppa:ubuntu-desktop/ubuntu-make
This ppa proposes package backport of Ubuntu make for supported releases.
More info: https://launchpad.net/~ubuntu-desktop/+archive/ubuntu/ubuntu-make
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp_1dn_q5k/secring.gpg' created
gpg: keyring `/tmp/tmp_1dn_q5k/pubring.gpg' created
gpg: requesting key A1231595 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp_1dn_q5k/trustdb.gpg: trustdb created
gpg: key A1231595: public key " Launchpad PPA for Ubuntu Desktop" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Then update the added repository with the below command.
root@linuxhelp1:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial InRelease [17.6 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]
Ign:5 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 InRelease
Hit:6 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release
Get:7 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 Packages [720 B]
Hit:8 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:9 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release.gpg [481 B]
Get:10 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main i386 Packages [720 B]
Get:11 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-en [508 B]
Fetched 116 kB in 2s (39.9 kB/s)
Reading package lists... Done
Next run the below command to install the Ubuntu-make.
root@linuxhelp1:~# apt-get install ubuntu-make -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python3-argcomplete python3-gnupg python3-progressbar python3-yaml
The following NEW packages will be installed:
python3-argcomplete python3-gnupg python3-progressbar python3-yaml ubuntu-make
0 upgraded, 5 newly installed, 0 to remove and 10 not upgraded.
Need to get 208 kB of archives.
After this operation, 1,052 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-argcomplete all 0.8.1-1ubuntu2 [22.1 kB]
Get:2 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 ubuntu-make all 16.05~xenial1 [64.9 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-gnupg all 0.3.8-2 [16.1 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 python3-progressbar all 2.3-2 [9,570 B]
Get:5 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python3-yaml amd64 3.11-3build1 [95.6 kB]
Fetched 208 kB in 2s (84.7 kB/s)
Selecting previously unselected package python3-argcomplete.
(Reading database ... 208381 files and directories currently installed.)
Preparing to unpack .../python3-argcomplete_0.8.1-1ubuntu2_all.deb ...
.
.
.
Preparing to unpack .../ubuntu-make_16.05~xenial1_all.deb ...
Unpacking ubuntu-make (16.05~xenial1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python3-argcomplete (0.8.1-1ubuntu2) ...
Setting up python3-gnupg (0.3.8-2) ...
Setting up python3-progressbar (2.3-2) ...
Setting up python3-yaml (3.11-3build1) ...
Setting up ubuntu-make (16.05~xenial1) ...
Now install the Arduino with the following command.
root@linuxhelp1:~# umake ide arduino
Choose installation path: /home/user1/.local/share/umake/ide/arduino
Downloading and installing requirements |
100% |#############################################################################################################################|
Installing Arduino
| # |
(process:34285): dconf-WARNING **: failed to commit changes to dconf: Cannot spawn a message bus when setuid
|##################################################################################################################################|
You need to logout and login again for your installation to work
Installation done
In the unity dash search bar, type Arduino and click on the Arduino icon to open the software.
You can start working on the Arduino software.
To remove Arduino software
Run the below command to uninstall the Arduino software.
root@linuxhelp1:~# umake ide arduino --remove
Removing Arduino
Suppression done
If you want to remove the Arduino software completely, then run the below command.
root@linuxhelp1:~# apt-get remove ubuntu-make
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
python3-argcomplete python3-gnupg python3-progressbar python3-yaml
Use ' sudo apt autoremove' to remove them.
The following packages will be REMOVED:
ubuntu-make
0 upgraded, 0 newly installed, 1 to remove and 10 not upgraded.
After this operation, 379 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 211724 files and directories currently installed.)
Removing ubuntu-make (16.05~xenial1) ...
Processing triggers for man-db (2.7.5-1) ...
Tag :
Arduino
Q
Do you have a Privacy Policy about my data as the registered user in Arduino?
A
Yes, check out our Privacy Policy page. There you will see how we handle a visitor's information and our non-disclosure policies. "https://www.arduino.cc/en/Main/PrivacyPolicy/"
Q
What are the main terms of using the Arduino?
A
Glad you asked, we have a great introduction page on Arduino, refer the following link as "https://www.arduino.cc/en/Guide/Introduction"
Q
How can I get an Arduino board?
A
You can buy an Arduino board from the official store online or from one of the distributors listed on this page. If you'd prefer to build your own, see the Arduino Single-Sided Serial board, which can be easily etched and assembled.
"https://store.arduino.cc/"
"https://www.arduino.cc/en/Main/ArduinoBoardSerialSingleSided3"
"https://store.arduino.cc/"
"https://www.arduino.cc/en/Main/ArduinoBoardSerialSingleSided3"
Q
Can I use the Arduino logo to identify non commercial content?
A
If you're creating tutorials, managing a local community of Arduino users, opening up an Arduino-focused page online (ie. social networks) you can use the Arduino Community Logo! This will allow people identify better what comes directly from us, and what comes from the community.
Q
Can I use a different IDE to program the Arduino board?
A
It is possible to compile programs for the Arduino using other build tools (e.g. Makefiles and/or AVR Studio). You'll need to configure these to link against the appropriate files in the Arduino core libraries. See the description of the Arduino build process.