Replicant60BuildDependenciesInstallation » History » Revision 17

« Previous | Revision 17/89 (diff) | Next »
Denis 'GNUtoo' Carikli, 04/03/2013 10:12 AM

Build Dependencies

In order to be able to build Replicant, you need to install some (free) software:

Required Packages

  • python 2.5-2.7
  • bison
  • flex
  • git (git-core)
  • gperf
  • libncurses development headers (libncurses-dev)
  • make (build-essential)
  • mksquashfs (squashfs-tools)
  • openjdk 6
  • pngcrush - the build process will complain if it is not installed but builds will complete.
  • wget (or curl)
  • zip
  • zlib development headers (zlib1g-dev)
  • lzma

Additional requirements for amd64

  • libc6-dev-i386
  • gcc-multilib
  • g++-multilib
  • lib32z1-dev
  • lib32readline5-dev
  • lib32ncurses5-dev
  • 32-bit compatibility libraries
  • If you see errors about incompatible library versions, you may need some symlinks. For example:
    • sudo ln -s /usr/lib32/ /usr/lib32/
    • sudo ln -s /usr/lib32/ /usr/lib32/

Command line installation


Required packages:

apt-get install  bison flex git-core gperf libncurses-dev build-essential squashfs-tools openjdk-6-jre openjdk-6-jdk pngcrush wget zip zlib1g-dev lzma

Additional requirements for amd64:

apt-get install libc6-dev-i386 gcc-multilib g++-multilib lib32z1-dev lib32readline5-dev lib32ncurses5-dev 


Add the following to /etc/pacman.conf (it should be safe for freedom since lukeshu is part of the parabola community and pcr is a parabola repository):

SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

Include = /etc/pacman.d/mirrorlist

Required packages :

pacman -S core/bison core/flex extra/gperftools core/ncurses community/squashfs-tools pcr/openjdk6-old extra/wget extra/zip core/zlib core/xz ~lukeshu/pngcrush extra/gperf extra/bc

Additional requirements for amd64:
Uncomment or add the following repository in /etc/pacman.conf:

SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

pacman -S multilib/lib32-glibc multilib/gcc-multilib multilib/lib32-readline multilib/lib32-ncurses

Updated by Denis 'GNUtoo' Carikli over 11 years ago · 17 revisions

Also available in: PDF HTML TXT