Created
March 18, 2012 11:53
-
-
Save hydrangeas/2070856 to your computer and use it in GitHub Desktop.
Arduino Setup (Ubuntu 10.10)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "jdk7である必要はない.ただ使ってみたかっただけ(結局OpenJDK6を入れられてしまう)" | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-jdk7-installer | |
echo "apt-get arduino{,-core}で必要なものは入るはずだが,Arduino-1.0を使わんがためにわざわざ面倒なことをしている" | |
cd /tmp | |
mkdir arduino/ | |
cd arduino/ | |
curl -OL "http://ftp.jaist.ac.jp/pub/Linux/ubuntu//pool/universe/r/rxtx/librxtx-java_2.2pre2-10_i386.deb" | |
sudo dpkg -i librxtx-java_2.2pre2-10_i386.deb | |
echo "arduino-core" | |
curl -OL "http://ftp.jaist.ac.jp/pub/Linux/ubuntu//pool/universe/a/arduino/arduino-core_1.0+dfsg-9_all.deb" | |
sudo apt-get install gcc-avr avr{dude,-libc} | |
echo "依存関係の解決に失敗" | |
sudo apt-get -f install | |
sudo dpkg -i arduino-core_1.0+dfsg-9_all.deb | |
echo "arduino" | |
curl -OL "http://ftp.jaist.ac.jp/pub/Linux/ubuntu//pool/universe/a/arduino/arduino_1.0+dfsg-9_all.deb" | |
echo "依存関係の解決に失敗/なんでかなー." | |
sudo apt-get -f install | |
sudo dpkg -i arduino_1.0+dfsg-9_all.deb | |
echo "以上で問題ないはずだけど,この間に色々やってるので,動かなかったらごめんなさい" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment