msp430mcu-config command not found

In this troubleshooting guide we learn how to fix msp430mcu-config command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

msp430mcu-config: command not found

or when using sudo you get the following error message

sudo: msp430mcu-config: command not found

Solutions to msp430mcu-config: command not found

How To Fix msp430mcu-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu msp430mcu-config is provided by msp430mcu package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install msp430mcu

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install msp430mcu.

sudo apt -y install msp430mcu

Or if you have aptitude installed you can use the following command.

sudo aptitude install msp430mcu

Summary

In this tutorial we learn how to fix msp430mcu-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.