Difference between revisions of "How to get regular stuff working"

From Alpine Linux
Jump to: navigation, search
(a note and reminder on Compiling)
(a few notes and a reminder on Compiling)
Line 8: Line 8:
 
== a few notes and a reminder on Compiling ==
 
== a few notes and a reminder on Compiling ==
  
Compiling in Alpine may be more challenging because it uses [http://www.musl-libc.org/ musl-libc] instead of glibc.  
+
Compiling in Alpine may be more challenging because it uses [http://www.musl-libc.org/ musl-libc] instead of glibc. Please review [wiki.musl-libc.org/wiki/Functional_differences_from_glibc The functional differences with glibc ] if you think of porting packages.
  
  

Revision as of 19:20, 31 January 2016

Man pages

Not all man-pages are in Alpine, those who are are not readily available after installing man and man-pages, you also need to install mdocml-pages to have man pages built at install time. Below is the quick and easy commandline:

   apk add man man-pages mdocml-pages

a few notes and a reminder on Compiling

Compiling in Alpine may be more challenging because it uses musl-libc instead of glibc. Please review [wiki.musl-libc.org/wiki/Functional_differences_from_glibc The functional differences with glibc ] if you think of porting packages.


(unvalidated) apk packages to install so one can start building software

  apk add build-base gcc abuild

a complete install for cmake looks like

  apk add cmake cmake-doc extra-cmake-modules extra-cmake-modules-doc