From 8632404294eaa3464797cffc757add6b5d92b7dc Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 10 Nov 2011 06:26:58 -0800 Subject: [PATCH] documentation/yocto-project-qs/yocto-project-qs.xml: Updated packages section Split the instructions for getting the packages needed for Yocto into sections that specifically support Ubuntu, Fedora, and openSUSE. Also, added a couple packages to openSUSE. I did not implement a suggested change to include a note indicating future support of the dash shell since it probably is not good policy to document plans as they change. Reported-by: Darren Hart (From yocto-docs rev: 3dbbb22ccdda1a7e809e61e19f5d04ab26e3499c) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../yocto-project-qs/yocto-project-qs.xml | 72 +++++++++++++------ 1 file changed, 50 insertions(+), 22 deletions(-) diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 3003f06cd0..692c209c33 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml @@ -191,33 +191,44 @@ Packages and package installation vary depending on your development system. In general, you need to have root access and then install the required packages. + The next few sections show you how to get set up with the right packages for + Ubuntu, Fedora, and openSUSE. + +
+ Ubuntu - - If you are using a Fedora version prior to version 15, you will need to take some - extra steps to enable sudo. - See the Configuring Sudo - wiki page for details. - + + If your distribution is Ubuntu, you need to be running the bash shell. + You can be sure you are running this shell by entering the following command and + selecting "No" at the prompt: + + $ sudo dpkg-reconfigure dash + + - - The packages you need for a Debian-based host are shown in the following command: - + + The packages you need for a supported Ubuntu distribution are shown in the following command: + - + $ sudo apt-get install sed wget cvs subversion git-core coreutils \ unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk \ python-pysqlite2 diffstat help2man make gcc build-essential \ g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev \ mercurial autoconf automake groff libtool xterm - + +
- - The packages you need for an RPM-based host like Fedora and openSUSE, - respectively, are as follows: - +
+ Fedora - + + The packages you need for a supported Fedora distribution are shown in the following + commands: + + + $ sudo yum groupinstall "development tools" $ sudo yum install python m4 make wget curl ftp hg tar bzip2 gzip \ unzip python-psyco perl texinfo texi2html diffstat openjade \ @@ -227,14 +238,31 @@ perl-ExtUtils-MakeMaker tcl-devel gettext chrpath ncurses apr \ SDL-devel mesa-libGL-devel mesa-libGLU-devel gnome-doc-utils \ autoconf automake libtool xterm - + - + + If you are using a Fedora version prior to version 15, you will need to take some + extra steps to enable sudo, or you will need to run + the commands as root user. + See the Configuring Sudo + wiki page for details. + +
+ +
+ openSUSE + + + The packages you need for a supported openSUSE distribution are shown in the following + command: + + + $ sudo zypper install python gcc gcc-c++ libtool \ - subversion git chrpath automake \ - help2man diffstat texinfo mercurial wget - - + subversion git chrpath automake make wget help2man \ + diffstat texinfo mercurial freeglut-devel libSDL-devel + +