#!/bin/bash ################################################################################ echo " Building from source on Ubuntu 12.04LTS and 10.04" echo " First Install needed software, this might not be all. Please check the output of "dpkg-checkbuilddeps" for missing dependencies." sudo apt-get -y update sudo apt-get -y upgrade sudo apt-get install -y alien sudo apt-get install -y asciidoc sudo apt-get install -y autoconf sudo apt-get install -y automake sudo apt-get install -y bison sudo apt-get install -y blt sudo apt-get install -y build-essential sudo apt-get install -y bwidget sudo apt-get install -y cpio sudo apt-get install -y dblatex sudo apt-get install -y debhelper sudo apt-get install -y dpkg-dev sudo apt-get install -y dvipng sudo apt-get install -y eclipse-cdt sudo apt-get install -y fakeroot sudo apt-get install -y g++ sudo apt-get install -y gettext sudo apt-get install -y ghostscript sudo apt-get install -y git sudo apt-get install -y git-core sudo apt-get install -y git-doc sudo apt-get install -y git-gui sudo apt-get install -y git-cola sudo apt-get install -y gitk sudo apt-get install -y glade sudo apt-get install -y glade-gnome sudo apt-get install -y glibc-doc sudo apt-get install -y groff sudo apt-get install -y imagemagick sudo apt-get install -y libboost-python-dev sudo apt-get install -y libboost-serialization-dev sudo apt-get install -y libboost-thread-dev sudo apt-get install -y libc6-dev sudo apt-get install -y libgl1-mesa-dev sudo apt-get install -y libglib2.0-dev sudo apt-get install -y libglu1-mesa-dev sudo apt-get install -y libgnomeprintui2.2-dev sudo apt-get install -y libgtk2.0-dev sudo apt-get install -y libmodbus3-dev sudo apt-get install -y libmodbus5 sudo apt-get install -y libncurses-dev sudo apt-get install -y libncurses5-dev sudo apt-get install -y libpth-dev sudo apt-get install -y libreadline-dev sudo apt-get install -y libreadline6-dev sudo apt-get install -y libtool sudo apt-get install -y libusb-1.0-0 sudo apt-get install -y libusb-1.0-0-dev sudo apt-get install -y libx11-dev sudo apt-get install -y libxaw7-dev sudo apt-get install -y lyx sudo apt-get install -y manpages-dev sudo apt-get install -y python sudo apt-get install -y python-configobj sudo apt-get install -y python-dev sudo apt-get install -y python-glade2 sudo apt-get install -y python-gnome2 sudo apt-get install -y python-gtkglext1 sudo apt-get install -y python-gtksourceview2 sudo apt-get install -y python-imaging sudo apt-get install -y python-imaging-tk sudo apt-get install -y python-lxml sudo apt-get install -y python-numpy sudo apt-get install -y python-scipy sudo apt-get install -y python-support sudo apt-get install -y python-tk sudo apt-get install -y python-vte sudo apt-get install -y python-xlib sudo apt-get install -y source-highlight sudo apt-get install -y tcl8.5-dev sudo apt-get install -y texlive-extra-utils sudo apt-get install -y texlive-font-utils sudo apt-get install -y texlive-fonts-recommended sudo apt-get install -y texlive-lang-cyrillic sudo apt-get install -y texlive-lang-french sudo apt-get install -y texlive-lang-polish sudo apt-get install -y texlive-latex-recommended sudo apt-get install -y tk8.5-dev sudo apt-get install -y vorbis-tools sudo apt-get install -y xsltproc