msp430-gcc-4.6.3 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
msp430-gcc-4.6.3: command not found
or when using sudo you get the following error message
sudo: msp430-gcc-4.6.3: command not found
Solutions to msp430-gcc-4.6.3: command not found
How To Fix msp430-gcc-4.6.3: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu msp430-gcc-4.6.3 is provided by gcc-msp430 package.
gcc-msp430 is:
This is the GNU C compiler, a fairly portable optimizing compiler for C for TI’s MSP430 architecture. This package is primarily for MSP430 developers and cross-compilers and is not needed by normal users.
BEWARE: due to a bug in the memory layout reference of FRAM-based chips, this package DOES NOT WORK with MSP430FR5xxx chips (eg. FraunchPad devkit). DO NOT use gcc-msp430 on that chip series, as you will lose access to JTAG and BSL, and permanently BRICK your chip!
To fix this problem, we can install more using the command below.
sudo apt-get -y install gcc-msp430
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gcc-msp430.
sudo apt -y install gcc-msp430
Or if you have aptitude installed you can use the following command.
sudo aptitude install gcc-msp430
Summary
In this tutorial we learn how to fix msp430-gcc-4.6.3 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.