Difference between revisions of "Debian distro"

From IGEP - ISEE Wiki

Jump to: navigation, search
(Host Enviroment)
Line 14: Line 14:
 
==Install Development packages==
 
==Install Development packages==
 
Now is time to install some packages if you want to build your own distribution.
 
Now is time to install some packages if you want to build your own distribution.
 +
 +
=== GCC, G++, libc Cross Compiler  ===
 +
 +
You can install the cross compiler if you want to build u-boot, linux kernel or applications using your host PC and compile for IGEPv5 as target.
 +
<pre>sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-dev-armhf-armel-cross libc6-armel-armhf-cross
 +
</pre>
 +
=== Build Ubuntu packages  ===
 +
 +
if you're idea is build ubuntu packages then you need install other packages
 +
<pre>sudo apt-get install build-essential devscripts dh-make quilt autogen autoconf dh-autoreconf dh-buildinfo dh-make pkg-config
 +
</pre>
 +
=== Pbuilder  ===
 +
 +
A [https://wiki.ubuntu.com/PbuilderHowto pbuilder] environment is a chrooted environment which can have a different distroseries or architecture than your host system.
 +
<pre>sudo apt-get install pbuilder pbuilder-scripts</pre>

Revision as of 18:43, 21 October 2017

Overview

What we learn in this chapter? Install, play and fun with Debian distro ...


Host Enviroment

We suggest use Debian 9.02 (64 bits) in your host, you can download it from our server using this link or directly from debian website. You can install it in a Virtual Machine enviroment using any Virtualization software or directly in your PC.

After install is recommended update the package list with:

sudo apt-get update

Install Development packages

Now is time to install some packages if you want to build your own distribution.

GCC, G++, libc Cross Compiler

You can install the cross compiler if you want to build u-boot, linux kernel or applications using your host PC and compile for IGEPv5 as target.

sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-dev-armhf-armel-cross libc6-armel-armhf-cross

Build Ubuntu packages

if you're idea is build ubuntu packages then you need install other packages

sudo apt-get install build-essential devscripts dh-make quilt autogen autoconf dh-autoreconf dh-buildinfo dh-make pkg-config

Pbuilder

A pbuilder environment is a chrooted environment which can have a different distroseries or architecture than your host system.

sudo apt-get install pbuilder pbuilder-scripts