<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Stevel</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Stevel"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Stevel"/>
	<updated>2026-04-26T13:54:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=How_to_get_regular_stuff_working&amp;diff=13653</id>
		<title>How to get regular stuff working</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=How_to_get_regular_stuff_working&amp;diff=13653"/>
		<updated>2017-06-15T17:31:42Z</updated>

		<summary type="html">&lt;p&gt;Stevel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Man pages ==&lt;br /&gt;
&lt;br /&gt;
Not all man-pages are in Alpine, but this will get you most of the way there:&lt;br /&gt;
&lt;br /&gt;
    &#039;&#039;&#039;apk add man man-pages mdocml-apropos less less-doc&#039;&#039;&#039;&lt;br /&gt;
    &#039;&#039;&#039;export PAGER=less&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The above only provides &#039;&#039;core&#039;&#039; man pages. Other packages typically don&#039;t include their own man pages (nor other documentation). Rather, they provide an associated package that carries such stuff. For example:&lt;br /&gt;
&lt;br /&gt;
    $ &#039;&#039;&#039;apk add curl&#039;&#039;&#039;&lt;br /&gt;
    $ &#039;&#039;&#039;man curl&#039;&#039;&#039;&lt;br /&gt;
    man: No entry for curl in the manual.&lt;br /&gt;
    $ &#039;&#039;&#039;apropos curl | wc -l&#039;&#039;&#039;&lt;br /&gt;
    0    &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;&#039;&#039;After adding curl, there are no man pages&#039;&#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
    $ &#039;&#039;&#039;apk add curl-doc&#039;&#039;&#039;&lt;br /&gt;
    (1/1) Installing curl-doc (7.52.1-r2)&lt;br /&gt;
    Executing mdocml-apropos-1.13.3-r6.trigger&lt;br /&gt;
    OK: 60 MiB in 31 packages&lt;br /&gt;
    $ &#039;&#039;&#039;apropos curl | wc -l&#039;&#039;&#039;&lt;br /&gt;
    366  &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;&#039;&#039;Now, with curl-doc installed, there&#039;s a boatload of pages!&#039;&#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Not all packages separate out their documentation, but it is the &#039;&#039;Alpine Way&#039;&#039; (e.g. small footprint). Some packages don&#039;t provide any installable documentation at all, neither within themselves nor an associated doc packages. Further, appending &amp;quot;-doc&amp;quot; is merely a convention. In fact, the core man documentations are in man-pages (as in the &#039;&#039;apk add ...&#039;&#039; command, above). To find the right documentation package, try something like:&lt;br /&gt;
&lt;br /&gt;
    $ &#039;&#039;&#039;apk search gcc | grep ^gcc&#039;&#039;&#039;&lt;br /&gt;
    gcc-objc-5.3.0-r0&lt;br /&gt;
    gcc-gnat-5.3.0-r0&lt;br /&gt;
    gcc-5.3.0-r0&lt;br /&gt;
    gcc-java-5.3.0-r0&lt;br /&gt;
    gcc-doc-5.3.0-r0    &amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;&#039;&#039;Here it is!&#039;&#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FINALLY:&#039;&#039;&#039; If you&#039;re wondering why I&#039;ve added &#039;&#039;less&#039;&#039; (and &#039;&#039;less-doc&#039;&#039;), it&#039;s because &#039;&#039;man&#039;&#039; doesn&#039;t work correctly with &#039;&#039;more&#039;&#039; (the default pager). Don&#039;t fret too much about bloating up Alpine, though - adding man pages has a bigger footprint than less (&#039;&#039;&amp;quot;less is more than man&amp;quot;???&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Operational hints ==&lt;br /&gt;
&lt;br /&gt;
==== Shell @ commandline ====&lt;br /&gt;
&lt;br /&gt;
Alpine comes with busybox by default, busybox is and endpoint for numerous symlinks for various utilities. Though busybox is not that bad the commands are impaired in functionality.&lt;br /&gt;
&lt;br /&gt;
* funny characters at the console&lt;br /&gt;
&lt;br /&gt;
Edit the file at {{Path|/etc/rc.conf}} and change line 92 to:&lt;br /&gt;
  unicode=&amp;quot;YES&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Bash&lt;br /&gt;
It is easy enough to have bash installed but this does not mean the symlinks to busybox are gone&lt;br /&gt;
&lt;br /&gt;
install bash like   &lt;br /&gt;
   apk add bash bash-doc bash-completion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* shell utils ( things like grep, awk, ls are all busybox symlinks )&lt;br /&gt;
&lt;br /&gt;
   apk add util-linux pciutils usbutils coreutils binutils findutils grep&lt;br /&gt;
&lt;br /&gt;
==== Disk Management ==== &lt;br /&gt;
&lt;br /&gt;
Disk management is soo much easier with udisks or udisks2&lt;br /&gt;
&lt;br /&gt;
Installation     &lt;br /&gt;
&lt;br /&gt;
   apk add udisks2 udisks2-doc&lt;br /&gt;
&lt;br /&gt;
See the mounted disks&lt;br /&gt;
&lt;br /&gt;
   udisksctl status&lt;br /&gt;
&lt;br /&gt;
== Compiling : a few notes and a reminder  ==&lt;br /&gt;
&lt;br /&gt;
Compiling in Alpine may be more challenging because it uses [http://www.musl-libc.org/ musl-libc] instead of glibc. Please review [http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc &#039;The functional differences with glibc&#039; ] if you think of porting packages or just for the sake of knowing, of course.&lt;br /&gt;
&lt;br /&gt;
Alpine offers the regular compiler stuff like gcc and cmake ... possible others&lt;br /&gt;
&lt;br /&gt;
==== (unvalidated) apk packages to install so one can start building software ====&lt;br /&gt;
   apk add build-base gcc abuild binutils binutils-doc gcc-doc&lt;br /&gt;
&lt;br /&gt;
==== a complete install for cmake looks like ====&lt;br /&gt;
&lt;br /&gt;
   apk add cmake cmake-doc extra-cmake-modules extra-cmake-modules-doc&lt;br /&gt;
&lt;br /&gt;
==== ccache is also available ====&lt;br /&gt;
&lt;br /&gt;
   apk add ccache ccache-doc&lt;/div&gt;</summary>
		<author><name>Stevel</name></author>
	</entry>
</feed>