2
1

prerequisite.adoc 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. // -*- mode:doc; -*-
  2. // vim: set syntax=asciidoc:
  3. [[requirement]]
  4. == System requirements
  5. Buildroot is designed to run on Linux systems.
  6. While Buildroot itself will build most host packages it needs for the
  7. compilation, certain standard Linux utilities are expected to be
  8. already installed on the host system. Below you will find an overview of
  9. the mandatory and optional packages (note that package names may vary
  10. between distributions).
  11. [[requirement-mandatory]]
  12. === Mandatory packages
  13. * Build tools:
  14. ** +which+
  15. ** +sed+
  16. ** +make+ (version 3.81 or any later)
  17. ** +binutils+
  18. ** +build-essential+ (only for Debian based systems)
  19. ** +diffutils+
  20. ** +gcc+ (version 4.8 or any later)
  21. ** `g++` (version 4.8 or any later)
  22. ** +bash+
  23. ** +patch+
  24. ** +gzip+
  25. ** +bzip2+
  26. ** +perl+ (version 5.8.7 or any later)
  27. ** +tar+
  28. ** +cpio+
  29. ** +unzip+
  30. ** +rsync+
  31. ** +file+ (must be in +/usr/bin/file+)
  32. ** +bc+
  33. ** +findutils+
  34. * Source fetching tools:
  35. ** +wget+
  36. [[requirement-optional]]
  37. === Optional packages
  38. * Recommended dependencies:
  39. +
  40. Some features or utilities in Buildroot, like the legal-info, or the
  41. graph generation tools, have additional dependencies. Although they
  42. are not mandatory for a simple build, they are still highly recommended:
  43. +
  44. ** +python+ (version 2.7 or any later)
  45. * Configuration interface dependencies:
  46. +
  47. For these libraries, you need to install both runtime and development
  48. data, which in many distributions are packaged separately. The
  49. development packages typically have a _-dev_ or _-devel_ suffix.
  50. +
  51. ** +ncurses5+ to use the 'menuconfig' interface
  52. ** +qt5+ to use the 'xconfig' interface
  53. ** +glib2+, +gtk2+ and +glade2+ to use the 'gconfig' interface
  54. * Source fetching tools:
  55. +
  56. In the official tree, most of the package sources are retrieved using
  57. +wget+ from _ftp_, _http_ or _https_ locations. A few packages are only
  58. available through a version control system. Moreover, Buildroot is
  59. capable of downloading sources via other tools, like +git+ or +scp+
  60. (refer to xref:download-infra[] for more details). If you enable
  61. packages using any of these methods, you will need to install the
  62. corresponding tool on the host system:
  63. +
  64. ** +bazaar+
  65. ** +curl+
  66. ** +cvs+
  67. ** +git+
  68. ** +mercurial+
  69. ** +scp+
  70. ** +sftp+
  71. ** +subversion+
  72. * Java-related packages, if the Java Classpath needs to be built for
  73. the target system:
  74. ** The +javac+ compiler
  75. ** The +jar+ tool
  76. * Documentation generation tools:
  77. ** +asciidoc+, version 8.6.3 or higher
  78. ** +w3m+
  79. ** +python+ with the +argparse+ module (automatically present in 2.7+ and 3.2+)
  80. ** +dblatex+ (required for the pdf manual only)
  81. * Graph generation tools:
  82. ** +graphviz+ to use 'graph-depends' and '<pkg>-graph-depends'
  83. ** +python-matplotlib+ to use 'graph-build'
  84. * Package statistics tools ('pkg-stats'):
  85. ** +python-aiohttp+