How To Install arduino-mighty-1284p on Ubuntu 18.04

In this tutorial we learn how to install arduino-mighty-1284p on Ubuntu 18.04. arduino-mighty-1284p is Platform files for Arduino to run on ATmega1284P

Introduction

In this tutorial we learn how to install arduino-mighty-1284p on Ubuntu 18.04.

What is arduino-mighty-1284p

arduino-mighty-1284p is:

Supported platforms: Mighty 1284p using Optiboot Original Mighty 1284p

There are three methods to install arduino-mighty-1284p on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install arduino-mighty-1284p Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install arduino-mighty-1284p using apt-get by running the following command:

sudo apt-get -y install arduino-mighty-1284p

Install arduino-mighty-1284p Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install arduino-mighty-1284p using apt by running the following command:

sudo apt -y install arduino-mighty-1284p

Install arduino-mighty-1284p Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install arduino-mighty-1284p using aptitude by running the following command:

sudo aptitude -y install arduino-mighty-1284p

How To Uninstall arduino-mighty-1284p on Ubuntu 18.04

To uninstall only the arduino-mighty-1284p package we can use the following command:

sudo apt-get remove arduino-mighty-1284p

Uninstall arduino-mighty-1284p And Its Dependencies

To uninstall arduino-mighty-1284p and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove arduino-mighty-1284p

Remove arduino-mighty-1284p Configurations and Data

To remove arduino-mighty-1284p configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge arduino-mighty-1284p

Remove arduino-mighty-1284p configuration, data, and all of its dependencies

We can use the following command to remove arduino-mighty-1284p configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge arduino-mighty-1284p

References

Summary

In this tutorial we learn how to install arduino-mighty-1284p package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.