<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.ethernut.de/nutwiki/index.php?action=history&amp;feed=atom&amp;title=Nut%2FOS_installation_on_Linux_%28Debain%29</id>
		<title>Nut/OS installation on Linux (Debain) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.ethernut.de/nutwiki/index.php?action=history&amp;feed=atom&amp;title=Nut%2FOS_installation_on_Linux_%28Debain%29"/>
		<link rel="alternate" type="text/html" href="http://www.ethernut.de/nutwiki/index.php?title=Nut/OS_installation_on_Linux_(Debain)&amp;action=history"/>
		<updated>2026-04-28T22:50:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://www.ethernut.de/nutwiki/index.php?title=Nut/OS_installation_on_Linux_(Debain)&amp;diff=196&amp;oldid=prev</id>
		<title>Harald: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://www.ethernut.de/nutwiki/index.php?title=Nut/OS_installation_on_Linux_(Debain)&amp;diff=196&amp;oldid=prev"/>
				<updated>2016-10-27T16:02:58Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:02, 27 October 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Harald</name></author>	</entry>

	<entry>
		<id>http://www.ethernut.de/nutwiki/index.php?title=Nut/OS_installation_on_Linux_(Debain)&amp;diff=195&amp;oldid=prev</id>
		<title>Oxullo: /* Nut/OS */</title>
		<link rel="alternate" type="text/html" href="http://www.ethernut.de/nutwiki/index.php?title=Nut/OS_installation_on_Linux_(Debain)&amp;diff=195&amp;oldid=prev"/>
				<updated>2010-04-24T14:24:24Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Nut/OS&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Test Environments ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;smalldiv&amp;quot;&lt;br /&gt;
| style=&amp;quot;background-color:#F6F9ED&amp;quot; | Linux&lt;br /&gt;
| style=&amp;quot;background-color:#F6F9ED&amp;quot; | wxWidgets&lt;br /&gt;
| style=&amp;quot;background-color:#F6F9ED&amp;quot; | Lua&lt;br /&gt;
| style=&amp;quot;background-color:#F6F9ED&amp;quot; | Nut/OS&lt;br /&gt;
| style=&amp;quot;background-color:#F6F9ED&amp;quot; | GCC&lt;br /&gt;
| style=&amp;quot;background-color:#F6F9ED&amp;quot; | Autoconf&lt;br /&gt;
| style=&amp;quot;background-color:#F6F9ED&amp;quot; | Automake&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu 8.04.2&lt;br /&gt;
| 2.8&lt;br /&gt;
| 5.0.3&lt;br /&gt;
| 2.6.4&lt;br /&gt;
| 4.2.4&lt;br /&gt;
| 2.61&lt;br /&gt;
| 1.10&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
On this page you will learn how to setup the Nut/OS configurator and software Nut/OS depends on, on a Debian Linux machine.&lt;br /&gt;
&lt;br /&gt;
The Nut/OS configurator is essential for developing and testing Nut/OS applications.&lt;br /&gt;
&lt;br /&gt;
You have the choice to install different options of the development environment. For example an additional tool called Discoverer or several debugging solutions are available. As this is a quickstart guide, we will concentrate on the essential tools and packages. For a more detailed tutorial on all available options, please have a look at [http://ethernut.de/en/documents/debian.html Nut/OS Development on Debian] as well as the entire [http://ethernut.de/en/documents/index.html Documents section] of ethernut.de. &lt;br /&gt;
&lt;br /&gt;
We will install the software in the following order:&lt;br /&gt;
&lt;br /&gt;
* build-essentials (Linux C compiler etc.)&lt;br /&gt;
* wxWidgets&lt;br /&gt;
* Lua&lt;br /&gt;
* Nut/OS&lt;br /&gt;
* Cross Toolchains&lt;br /&gt;
** [[GNU AVR toolchain installation on Linux (Debian)]]&lt;br /&gt;
** [[GNU arm-elf toolchain installation on Linux (Debian)]]&lt;br /&gt;
&lt;br /&gt;
Everything in this guide will happen in the Linux shell (Konsole).&lt;br /&gt;
&lt;br /&gt;
All major topics are also covered in screencasts:&lt;br /&gt;
&lt;br /&gt;
# [[Image:flashvideo.png|16px]] [http://ethernut.de/arc/screencasts/linuxinstall1.htm Screencast Part 1] build-essentials&lt;br /&gt;
# [[Image:flashvideo.png|16px]] [http://ethernut.de/arc/screencasts/linuxinstall2.htm Screencast Part 2] wxWidgets&lt;br /&gt;
# [[Image:flashvideo.png|16px]] [http://ethernut.de/arc/screencasts/linuxinstall3.htm Screencast Part 3] Lua&lt;br /&gt;
# [[Image:flashvideo.png|16px]] [http://ethernut.de/arc/screencasts/linuxinstall4.htm Screencast Part 4] Nut/OS&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== build-essentials ==&lt;br /&gt;
[[Image:flashvideo.png|64px]] [http://ethernut.de/arc/screencasts/linuxinstall1.htm Screencast]&lt;br /&gt;
&lt;br /&gt;
In this section we will install:&lt;br /&gt;
* build-essentials&lt;br /&gt;
* C compiler 4.1 or later&lt;br /&gt;
* Autoconf 2.61&lt;br /&gt;
* Automake 1.10&lt;br /&gt;
&lt;br /&gt;
Most Debian distributions offer to install all basic tools for building Linux applications in one step:&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install build-essential&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
If the package &amp;quot;build-essential&amp;quot; is not available to you, you may install or upgrade gcc and g++ by:&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install gcc g++&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
Next you need to make sure to have a recent version of the GNU autotools installed.&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
autoconf --version&amp;lt;br&amp;gt;&lt;br /&gt;
autoconf (GNU Autoconf) 2.61&amp;lt;br&amp;gt;&lt;br /&gt;
automake --version&amp;lt;br&amp;gt;&lt;br /&gt;
automake (GNU automake) 1.10&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
To install or upgrade, use:&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install automake autoconf&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== wxWidgets ==&lt;br /&gt;
[[Image:flashvideo.png|64px]] [http://ethernut.de/arc/screencasts/linuxinstall2.htm Screencast]&lt;br /&gt;
&lt;br /&gt;
In this section we will install:&lt;br /&gt;
* wxWidgets 2.8 or later&lt;br /&gt;
&lt;br /&gt;
You can either get the binary packages or build wxWidgets from the source code. The latter is required to build the Nut/OS Discoverer and is featured in [http://ethernut.de/en/documents/debian.html Nut/OS Development on Debian].&lt;br /&gt;
&lt;br /&gt;
To install the binary packages, use:&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lua ==&lt;br /&gt;
[[Image:flashvideo.png|64px]] [http://ethernut.de/arc/screencasts/linuxinstall3.htm Screencast]&lt;br /&gt;
&lt;br /&gt;
In this section we will install:&lt;br /&gt;
* Lua 5.0&lt;br /&gt;
Whether any later version may work hasn't been tested yet. &lt;br /&gt;
&lt;br /&gt;
The following command installs the necessary packages:&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install lua50 liblua50 liblua50-dev liblualib50 liblualib50-dev&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
If no binary package is available for your Linux distribution, you can build Lua from the source. See [http://ethernut.de/en/documents/debian.html Nut/OS Development on Debian]&lt;br /&gt;
&lt;br /&gt;
== Nut/OS ==&lt;br /&gt;
[[Image:flashvideo.png|64px]] [http://ethernut.de/arc/screencasts/linuxinstall4.htm Screencast]&lt;br /&gt;
&lt;br /&gt;
Now we got everything on our Linux system to install the Nut/OS source package. Well, in fact the AVR or ARM toolchains are missing to build the Nut/OS libraries and sample applications. But this is done later (see Description) with the Nut/OS Configurator and therefore the platform specific cross toolchains are not yet required.&lt;br /&gt;
&lt;br /&gt;
Thus, there is no binary package, we will build Nut/OS from sources.&lt;br /&gt;
&lt;br /&gt;
It is highly recommended to create a project directory first and then download the latest ethernut-x.y.z.tar.bz2 from the download section into this directory. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
mkdir ~/ethernut&lt;br /&gt;
cd ~/ethernut&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Now we download the latest Nut/OS version for Linux and store it in the folder just created. You can do this with your browser or by:&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
wget http://ethernut.de/arc/ethernut-4.6.5.tar.bz2&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
The next step is to unpack the downloaded archive by:&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
tar xjf ethernut-4.6.5.tar.bz2&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
We may later upgrade to a new version or we may concurrently work with different versions. Thus, it is most convenient to create a symbolic link 'nut' reffering on 'ethernut-4.6.5' :&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
ln -s ethernut-4.6.5 nut&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Now, change to 'nut', which will actually give us access to the content of the ethernut-4.6.4 folder:&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
cd nut/&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
No it is time to start the configure script, to prepare the building process:&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
You will get an output. Please check especially if these lines state 'enabled':&lt;br /&gt;
&lt;br /&gt;
 configure: nutconf tools enabled&lt;br /&gt;
 configure: nutconfgui is enabled&lt;br /&gt;
&lt;br /&gt;
If they do not, the Nut/OS configurator or it's Graphical User Interface will not get built! Please consult other help documents in this case.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The next command will build tools and documentation and will take several minutes to finish.&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally:&lt;br /&gt;
&amp;lt;div class=&amp;quot;konsole&amp;quot;&amp;gt;&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cross Toolchains ==&lt;br /&gt;
Depending on your board you may proceed with either &lt;br /&gt;
* [[GNU AVR toolchain installation on Linux (Debian)]] for: Ethernut 1.3 ; Ethernut 2.1&lt;br /&gt;
or &lt;br /&gt;
* [[GNU arm-elf toolchain installation on Linux (Debian)]] for: Ethernut 3.0 ; Elektor Internet Radio&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://ethernut.de/en/documents/debian.html] Nut/OS Development on Debian: A more comprehensive Installation Guide&lt;br /&gt;
&lt;br /&gt;
[http://ethernut.de/en/documents/index.html] ethernut.de documents section&lt;br /&gt;
&lt;br /&gt;
[http://ethernut.de/pdf/enswm24e.pdf] Ethernut Software Manual (November 2005)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Code Snippets]]&lt;br /&gt;
&lt;br /&gt;
{{Languages}}&lt;/div&gt;</summary>
		<author><name>Oxullo</name></author>	</entry>

	</feed>