Difference between revisions of "Getting started"

From Openembedded.org
Jump to: navigation, search
(moved Getting started to Getting started with OE-Classic: Move out of the way so that OE-Core info can be put in its place)
 
(Update package lists from latest YP quick start guide)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#REDIRECT [[Getting started with OE-Classic]]
+
== Required software ==
 +
 
 +
Before being able to build you will need to install a fairly short list of required software on your host system.
 +
 
 +
'''Note:''' for a headless (i.e. non-graphical / server) machine you can skip installing SDL and xterm, these are optional; however without SDL you will not be able to run graphical OS images within QEMU.
 +
 
 +
(Lists below borrowed from the Yocto Project Quick Start guide.)
 +
 
 +
=== Ubuntu / Debian ===
 +
 
 +
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
 +
    build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
 +
    xz-utils debianutils iputils-ping
 +
 
 +
=== Fedora ===
 +
 
 +
sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch \
 +
    diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \
 +
    ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \
 +
    python3-pexpect findutils which file cpio python python3-pip xz
 +
 
 +
=== openSUSE ===
 +
 
 +
sudo zypper install python gcc gcc-c++ git chrpath make wget python-xml \
 +
    diffstat makeinfo python-curses patch socat python3 python3-curses tar python3-pip \
 +
    python3-pexpect xz which
 +
 
 +
=== CentOS ===
 +
 
 +
sudo yum install -y epel-release
 +
sudo yum makecache
 +
sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch \
 +
    diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat \
 +
    perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3-pip xz \
 +
    which
 +
 
 +
== Setup Instructions ==
 +
 
 +
At this point you have a number of different alternatives:
 +
 
 +
=== Standalone OE-Core setup ===
 +
 
 +
As OE-Core can be used to build working images entirely on its own, you can get started with it immediately.
 +
 
 +
See '''[[OE-Core Standalone Setup]]''' for instructions.
 +
 
 +
=== Systems based upon OE-Core ===
 +
 
 +
There are a number of other systems that make use of the OE-Core metadata which provide their own set of setup instructions. Here are some links to "getting started" information for these:
 +
 
 +
* [http://github.com/Angstrom-distribution/meta-angstrom/blob/master/README Angstrom]
 +
* [http://shr-project.org/trac/wiki/Building%20SHR SHR]
 +
* [http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html Yocto Project]
 +
 
 +
More can be found in the [http://layers.openembedded.org layer index] (click on ''Layers'', then click on ''Filter Layers'' on the right hand side and make it so ''Distribution'' is the only ticked item.)
 +
 
 +
=== Alternative methods ===
 +
 
 +
* [[oe-made-easy]]

Latest revision as of 00:38, 10 October 2017

Required software

Before being able to build you will need to install a fairly short list of required software on your host system.

Note: for a headless (i.e. non-graphical / server) machine you can skip installing SDL and xterm, these are optional; however without SDL you will not be able to run graphical OS images within QEMU.

(Lists below borrowed from the Yocto Project Quick Start guide.)

Ubuntu / Debian

sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
    build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
    xz-utils debianutils iputils-ping

Fedora

sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch \
    diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \
    ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \
    python3-pexpect findutils which file cpio python python3-pip xz

openSUSE

sudo zypper install python gcc gcc-c++ git chrpath make wget python-xml \
    diffstat makeinfo python-curses patch socat python3 python3-curses tar python3-pip \
    python3-pexpect xz which

CentOS

sudo yum install -y epel-release
sudo yum makecache
sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch \
    diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat \
    perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3-pip xz \
    which

Setup Instructions

At this point you have a number of different alternatives:

Standalone OE-Core setup

As OE-Core can be used to build working images entirely on its own, you can get started with it immediately.

See OE-Core Standalone Setup for instructions.

Systems based upon OE-Core

There are a number of other systems that make use of the OE-Core metadata which provide their own set of setup instructions. Here are some links to "getting started" information for these:

More can be found in the layer index (click on Layers, then click on Filter Layers on the right hand side and make it so Distribution is the only ticked item.)

Alternative methods