Difference between revisions of "Ubuntu/Debian installation prerequisites"

From ArmadeusWiki
Jump to: navigation, search
(New page: ==Mandatory packages== * you can use the following command to get them (assuming your userid is allowed to use sudo (execution of commands as root)): <pre class="host"> sudo apt-get insta...)
 
(Mandatory packages)
Line 2: Line 2:
 
* you can use the following command to get them (assuming your userid is allowed to use sudo (execution of commands as root)):
 
* you can use the following command to get them (assuming your userid is allowed to use sudo (execution of commands as root)):
 
<pre class="host">
 
<pre class="host">
  sudo apt-get install build-essential gcc g++ autoconf automake libtool bison flex gettext  
+
  sudo apt-get install -y build-essential gcc g++ autoconf automake libtool bison flex gettext  
  sudo apt-get install patch subversion texinfo wget git-core
+
  sudo apt-get install -y patch subversion texinfo wget git-core
  sudo apt-get install libncurses5 libncurses5-dev
+
  sudo apt-get install -y libncurses5 libncurses5-dev
  sudo apt-get install zlib1g-dev liblzo2-2 liblzo2-dev
+
  sudo apt-get install -y zlib1g-dev liblzo2-2 liblzo2-dev
  sudo apt-get install libacl1 libacl1-dev gawk cvs curl lzma  
+
  sudo apt-get install -y libacl1 libacl1-dev gawk cvs curl lzma  
  sudo apt-get install uuid-dev
+
  sudo apt-get install -y uuid-dev
 
</pre>
 
</pre>
  

Revision as of 15:29, 13 September 2011

Mandatory packages

  • you can use the following command to get them (assuming your userid is allowed to use sudo (execution of commands as root)):
 sudo apt-get install -y build-essential gcc g++ autoconf automake libtool bison flex gettext 
 sudo apt-get install -y patch subversion texinfo wget git-core
 sudo apt-get install -y libncurses5 libncurses5-dev
 sudo apt-get install -y zlib1g-dev liblzo2-2 liblzo2-dev
 sudo apt-get install -y libacl1 libacl1-dev gawk cvs curl lzma 
 sudo apt-get install -y uuid-dev
Warning Warning: For recent Ubuntu and Debian based systems, the following is now required if your /bin/sh is not pointing to /bin/bash:
 $ ls -al /bin/sh
 lrwxrwxrwx 1 root root 4 2007-12-08 18:33 /bin/sh -> dash

 $ sudo dpkg-reconfigure dash
     and select no

Indeed dash do not support all the capabilities needed by Buildroot (our build system).


Optional packages

Not mandatory but useful to add for compiling some Buildroot packages:

 sudo apt-get install libglib2.0-dev
 sudo apt-get install libnetpbm10-dev   (for fbtest)
 sudo apt-get install python-xcbgen (for Matchbox)

Java devt

Ubuntu

  • To compile java jamvm and gnu-classpath:
 sudo apt-get install gcj-jdk 

Debian

To compile java jamvm and gnu-classpath:

 sudo apt-get install java-gcj-compat-dev default-jdk