Under Ubuntu research Arduino discovered, originally can not use Arduino IDE development, Linux also has GCC-AVR Direct development AVR series Controller.
So, can't wait to see the relevant information, summarize the steps to install the GCC-AVR.
PS: Sigh, now that Ubuntu is doing is too easy to use, before very much to worry about things, now is very simple.
1, update the system, and install the development package.
APT Update
Apt upgradeapt install build-essential
2, install the GCC-AVR tool chain.
Apt Install GCC-AVR avr-libc avrdude GDB-AVR
3, install the relevant software help documentation.
Apt Install avrdude-doc gcc-doc gdb-doc
4, install Vim and w3m.
Apt Install vim w3m
5, read the instructions for use.
W3m/usr/share/doc/avr-libc/avr-libc-user-manual/index.html (Handbook of C-Library)
W3m/usr/share/doc/avr-libc/avr-libc-user-manual/group__demo__project.htm (Demo document with a makefile at the end to customize it to your needs)
W3m/usr/share/doc/avrdude/avrdude-html/index.html (Avrdude's help document)
6, the Arduino connected to the USB port, Linux-2.6 above will automatically load the FTDI driver Ftdi_sio.ko, using the DMESG command, can be viewed.
$ DMESG...USB 3-2: FTDI USB Serial Device Converter now attached to ttyusb0usbcore:registered new interface driver ftdi_s IODRIVERS/USB/SERIAL/FTDI_SIO.C:V1.4.3:USB FTDI Serial Converters Driver
7, perform avr-gcc-v to see if the installation is successful, you can also use AVR-GCC--help to view the help document.
Ubuntu under GCC-AVR Installation