於debian安裝ubuntu套件(gcc-msp430) - Linux

Table of Contents

# 找一個官方映射網站,下載 keyring
wget http://tw.archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-keyring/ubuntu-keyring_2012.05.19.tar.gz
tar xzvf ubuntu-keyring_2012.05.19.tar.gz
cd ubuntu-keyring_2012.05.19/
sudo apt-key add keyrings/ubuntu-archive-keyring.gpg

# 新增 apt source list 以下這行
deb http://tw.archive.ubuntu.com/ubuntu/ oneiric main universe

# 更新 apt
sudo apt-get update

# 安裝所需套件
sudo apt-get install msp430-libc
sudo apt-get install msp430mcu
sudo apt-get install binutils-msp430
sudo apt-get install gcc-msp430
sudo apt-get install gdb-msp430
sudo apt-get install mspdebug

# 移除 ubuntu 套件,再次更新 apt
sudo apt-get update

--
A quotation from the movie "The Se7en":
Ernest Hemingway once wrote that,
"The world is a fine place and worth fighting for."
I agree with the second part.

--

All Comments