How To Install ecosconfig-imx on Ubuntu 18.04

In this tutorial we learn how to install ecosconfig-imx on Ubuntu 18.04. ecosconfig-imx is eCos configuration tool for imx SoCs RedBoot

Introduction

In this tutorial we learn how to install ecosconfig-imx on Ubuntu 18.04.

What is ecosconfig-imx

ecosconfig-imx is:

ecosconfig is part of the eCos and RedBoot build systems. This package is used to build the redboot-imx package and is out of date with the mainstream eCos repository. Unless you intend to build redboot-imx, you do not need this package, and if you intend to do eCos development, youshould grab a newer version of eCos and ecosconfig from eCos homepage.

There are three methods to install ecosconfig-imx 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 ecosconfig-imx Using apt-get

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

sudo apt-get update

After updating apt database, We can install ecosconfig-imx using apt-get by running the following command:

sudo apt-get -y install ecosconfig-imx

Install ecosconfig-imx Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ecosconfig-imx using apt by running the following command:

sudo apt -y install ecosconfig-imx

Install ecosconfig-imx 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 ecosconfig-imx using aptitude by running the following command:

sudo aptitude -y install ecosconfig-imx

How To Uninstall ecosconfig-imx on Ubuntu 18.04

To uninstall only the ecosconfig-imx package we can use the following command:

sudo apt-get remove ecosconfig-imx

Uninstall ecosconfig-imx And Its Dependencies

To uninstall ecosconfig-imx and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove ecosconfig-imx

Remove ecosconfig-imx Configurations and Data

To remove ecosconfig-imx configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge ecosconfig-imx

Remove ecosconfig-imx configuration, data, and all of its dependencies

We can use the following command to remove ecosconfig-imx configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ecosconfig-imx

References

Summary

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