How To Install msp430mcu on Debian 9
Introduction
In this tutorial we learn how to install msp430mcu
on Debian 9.
What is msp430mcu
msp430mcu is:
This package provides specification files, C headers and linker scripts to be used with MSP430 cross-compilers.
Original MCU layouts, addresses and headers are provided and constantly updated by Texas Instruments; additional fixes are included to ensure full compatibility with MSP430 GCC toolchain. Resulting package is anyway useful with any proper cross-compiler.
This package is primarily intended to be used by MSP430 developers, in conjunction with a suitable toolchain.
There are three methods to install msp430mcu
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install msp430mcu Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install msp430mcu
using apt-get
by running the following command:
sudo apt-get -y install msp430mcu
Install msp430mcu Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install msp430mcu
using apt
by running the following command:
sudo apt -y install msp430mcu
Install msp430mcu 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install msp430mcu
using aptitude
by running the following command:
sudo aptitude -y install msp430mcu
How To Uninstall msp430mcu on Debian 9
To uninstall only the msp430mcu
package we can use the following command:
sudo apt-get remove msp430mcu
Uninstall msp430mcu And Its Dependencies
To uninstall msp430mcu
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove msp430mcu
Remove msp430mcu Configurations and Data
To remove msp430mcu
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge msp430mcu
Remove msp430mcu configuration, data, and all of its dependencies
We can use the following command to remove msp430mcu
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge msp430mcu
Dependencies
msp430mcu have the following dependencies:
References
Summary
In this tutorial we learn how to install msp430mcu
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.