CINXE.COM
Alpine Linux:FAQ - Alpine Linux
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-language-alert-in-sidebar-enabled vector-feature-sticky-header-disabled vector-feature-page-tools-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-enabled vector-feature-main-menu-pinned-disabled vector-feature-limited-width-enabled vector-feature-limited-width-content-enabled" lang="en" dir="ltr"> <head> <meta charset="UTF-8"/> <title>Alpine Linux:FAQ - Alpine Linux</title> <script>document.documentElement.className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-language-alert-in-sidebar-enabled vector-feature-sticky-header-disabled vector-feature-page-tools-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-enabled vector-feature-main-menu-pinned-disabled vector-feature-limited-width-enabled vector-feature-limited-width-content-enabled";RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"1e6251d6431a73f03e8a2bfc","wgCSPNonce":false,"wgCanonicalNamespace":"Project","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":4,"wgPageName":"Alpine_Linux:FAQ","wgTitle":"FAQ","wgCurRevisionId":27474,"wgRevisionId":27474,"wgArticleId":1507,"wgIsArticle":true, "wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Newbie"],"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Alpine_Linux:FAQ","wgRelevantArticleId":1507,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgRedirectedFrom":"FAQ","wgVector2022PreviewPages":[],"wgInternalRedirectTargetUrl":"/wiki/Alpine_Linux:FAQ"};RLSTATE={"skins.vector.user.styles":"ready","site.styles":"ready","user.styles":"ready","skins.vector.user":"ready","user":"ready","user.options":"loading","mediawiki.ui.button":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","mediawiki.ui.icon":"ready"};RLPAGEMODULES=["mediawiki.action.view.redirect","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","skins.vector.es6"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.implement("user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"});});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=mediawiki.ui.button%2Cicon%7Cskins.vector.icons%2Cstyles&only=styles&skin=vector-2022"/> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="generator" content="MediaWiki 1.40.0"/> <meta name="robots" content="max-image-preview:standard"/> <meta name="format-detection" content="telephone=no"/> <meta name="viewport" content="width=1000"/> <link rel="icon" href="/w/images/favicon.png"/> <link rel="search" type="application/opensearchdescription+xml" href="/w/opensearch_desc.php" title="Alpine Linux (en)"/> <link rel="EditURI" type="application/rsd+xml" href="https://wiki.alpinelinux.org/w/api.php?action=rsd"/> <link rel="canonical" href="https://wiki.alpinelinux.org/wiki/Alpine_Linux:FAQ"/> <link rel="license" href="/wiki/MediaWiki:Copyright"/> <link rel="alternate" type="application/atom+xml" title="Alpine Linux Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"/> </head> <body class="skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-4 ns-subject page-Alpine_Linux_FAQ rootpage-Alpine_Linux_FAQ skin-vector-2022 action-view"><div class="mw-page-container"> <a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="mw-page-container-inner"> <input type="checkbox" id="mw-sidebar-checkbox" class="mw-checkbox-hack-checkbox" > <header class="mw-header mw-ui-icon-flush-left mw-ui-icon-flush-right"> <div class="vector-header-start"> <label id="mw-sidebar-button" class="mw-checkbox-hack-button mw-ui-icon mw-ui-button mw-ui-quiet mw-ui-icon-element mw-ui-icon-flush-right" for="mw-sidebar-checkbox" role="button" aria-controls="mw-panel" data-event-name="ui.sidebar" tabindex="0" title="Main menu"> <span>Toggle sidebar</span> </label> <a href="/wiki/Main_Page" class="mw-logo"> <span class="mw-logo-container"> <strong class="mw-logo-wordmark">Alpine Linux</strong> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" title="Search Alpine Linux [f]" accesskey="f" class="mw-ui-button mw-ui-quiet mw-ui-icon mw-ui-icon-element mw-ui-icon-wikimedia-search search-toggle"> <span>Search</span> </a> <div> <form action="/w/index.php" id="searchform" class="vector-search-box-form"> <div id="simpleSearch" class="vector-search-box-inner" data-search-loc="header-moved"> <input class="vector-search-box-input" type="search" name="search" placeholder="Search Alpine Linux" aria-label="Search Alpine Linux" autocapitalize="sentences" title="Search Alpine Linux [f]" accesskey="f" id="searchInput" > <input type="hidden" name="title" value="Special:Search"> <input id="mw-searchButton" class="searchButton mw-fallbackSearchButton" type="submit" name="fulltext" title="Search the pages for this text" value="Search"> <input id="searchButton" class="searchButton" type="submit" name="go" title="Go to a page with this exact name if it exists" value="Go"> </div> </form> </div> </div> <nav class="vector-user-links" aria-label="Personal tools" role="navigation" > <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet mw-portlet-vector-user-menu-overflow" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"><li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Alpine+Linux%3AFAQ" title="You are encouraged to create an account and log in; however, it is not mandatory"><span>Create account</span></a></li><li id="pt-login-2" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Alpine+Linux%3AFAQ" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span>Log in</span></a></li></ul> </div> </div> <div id="vector-user-links-dropdown" class="vector-menu vector-dropdown vector-menu-dropdown vector-user-menu vector-user-menu-logged-out user-links-collapsible-item" title="More options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-menu-checkbox " aria-label="Personal tools" /> <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-menu-heading mw-checkbox-hack-button mw-ui-button mw-ui-quiet mw-ui-icon-element " aria-hidden="true" > <span class="mw-ui-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-menu-heading-label">Personal tools</span> </label> <div class="vector-menu-content vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Alpine+Linux%3AFAQ" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="mw-ui-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Alpine+Linux%3AFAQ" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span class="mw-ui-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li></ul> </div> </div> </div> </div> </nav> </div> </header> <div class="vector-main-menu-container "> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site" role="navigation"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div id="p-Welcome" class="vector-main-menu-group vector-menu mw-portlet mw-portlet-Welcome" > <div id="p-Welcome-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Welcome</span> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"><li id="n-Installation" class="mw-list-item"><a href="/wiki/Installation"><span>Installation</span></a></li><li id="n-FAQ" class="mw-list-item"><a href="/wiki/FAQ"><span>FAQ</span></a></li><li id="n-Tutorials-and-Howtos" class="mw-list-item"><a href="/wiki/Tutorials_and_Howtos"><span>Tutorials and Howtos</span></a></li><li id="n-Contribute" class="mw-list-item"><a href="/wiki/Contribute"><span>Contribute</span></a></li><li id="n-Developer-Documentation" class="mw-list-item"><a href="/wiki/Developer_Documentation"><span>Developer Documentation</span></a></li><li id="n-Glossary" class="mw-list-item"><a href="/wiki/Glossary"><span>Glossary</span></a></li></ul> </div> </div> <div id="p-Services" class="vector-main-menu-group vector-menu mw-portlet mw-portlet-Services" > <div id="p-Services-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Services</span> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"><li id="n-Main-Site" class="mw-list-item"><a href="https://alpinelinux.org" rel="nofollow"><span>Main Site</span></a></li><li id="n-Git-Repositories" class="mw-list-item"><a href="https://git.alpinelinux.org" rel="nofollow"><span>Git Repositories</span></a></li><li id="n-Bug-Tracker" class="mw-list-item"><a href="https://gitlab.alpinelinux.org/alpine/aports/-/issues" rel="nofollow"><span>Bug Tracker</span></a></li><li id="n-Mailing-Lists" class="mw-list-item"><a href="/wiki/Alpine_Linux:Mailing_lists"><span>Mailing Lists</span></a></li><li id="n-IRC-Channels" class="mw-list-item"><a href="/wiki/IRC"><span>IRC Channels</span></a></li><li id="n-Downloads" class="mw-list-item"><a href="https://alpinelinux.org/downloads" rel="nofollow"><span>Downloads</span></a></li><li id="n-Package-Database" class="mw-list-item"><a href="https://pkgs.alpinelinux.org/packages" rel="nofollow"><span>Package Database</span></a></li></ul> </div> </div> <div id="p-Wiki" class="vector-main-menu-group vector-menu mw-portlet mw-portlet-Wiki" > <div id="p-Wiki-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Wiki</span> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"><li id="n-Recent-Changes" class="mw-list-item"><a href="/wiki/Special:RecentChanges"><span>Recent Changes</span></a></li><li id="n-Site-Index" class="mw-list-item"><a href="/wiki/Special:PrefixIndex"><span>Site Index</span></a></li><li id="n-Categories" class="mw-list-item"><a href="/wiki/Special:Categories"><span>Categories</span></a></li><li id="n-Help" class="mw-list-item"><a href="/wiki/Category:Wiki"><span>Help</span></a></li><li id="n-Maintenance" class="mw-list-item"><a href="/wiki/Alpine_Linux:Wiki_maintenance"><span>Maintenance</span></a></li></ul> </div> </div> <div id="p-tb" class="vector-main-menu-group vector-menu mw-portlet mw-portlet-tb" > <div id="p-tb-label" class="vector-menu-heading " > <span class="vector-menu-heading-label">Toolbox</span> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"><li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Alpine_Linux:FAQ" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Alpine_Linux:FAQ" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Alpine_Linux:FAQ&oldid=27474" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Alpine_Linux:FAQ&action=info" title="More information about this page"><span>Page information</span></a></li></ul> </div> </div> </div> </nav> </div> </div> <div class="vector-sitenotice-container"> <div id="siteNotice"></div> </div> <input type="checkbox" id="vector-toc-collapsed-checkbox" class="mw-checkbox-hack-checkbox"> <nav id="mw-panel-toc" role="navigation" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Beginning</div> </a> </li> <li id="toc-General" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#General"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span>General</div> </a> <button aria-controls="toc-General-sublist" class="mw-ui-icon mw-ui-icon-wikimedia-expand mw-ui-icon-small vector-toc-toggle"> Toggle General subsection </button> <ul id="toc-General-sublist" class="vector-toc-list"> <li id="toc-Where_to_start?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Where_to_start?"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span>Where to start?</div> </a> <ul id="toc-Where_to_start?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-I_have_found_a_bug,_where_can_I_report_it?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#I_have_found_a_bug,_where_can_I_report_it?"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span>I have found a bug, where can I report it?</div> </a> <ul id="toc-I_have_found_a_bug,_where_can_I_report_it?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Are_there_any_details_about_the_releases_available?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Are_there_any_details_about_the_releases_available?"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span>Are there any details about the releases available?</div> </a> <ul id="toc-Are_there_any_details_about_the_releases_available?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-How_can_I_contribute?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#How_can_I_contribute?"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4</span>How can I contribute?</div> </a> <ul id="toc-How_can_I_contribute?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Why_don't_I_have_man_pages_or_where_is_the_'man'_command?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Why_don't_I_have_man_pages_or_where_is_the_'man'_command?"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.5</span>Why don't I have man pages or where is the 'man' command?</div> </a> <ul id="toc-Why_don't_I_have_man_pages_or_where_is_the_'man'_command?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-What_is_the_difference_between_edge_and_stable_releases?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#What_is_the_difference_between_edge_and_stable_releases?"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.6</span>What is the difference between edge and stable releases?</div> </a> <ul id="toc-What_is_the_difference_between_edge_and_stable_releases?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-What_architectures_does_Alpine_Linux_support?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#What_architectures_does_Alpine_Linux_support?"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.7</span>What architectures does Alpine Linux support?</div> </a> <ul id="toc-What_architectures_does_Alpine_Linux_support?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-What_kinds_of_release_of_Alpine_Linux_are_available?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#What_kinds_of_release_of_Alpine_Linux_are_available?"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.8</span>What kinds of release of Alpine Linux are available?</div> </a> <ul id="toc-What_kinds_of_release_of_Alpine_Linux_are_available?-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Setup" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Setup"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span>Setup</div> </a> <button aria-controls="toc-Setup-sublist" class="mw-ui-icon mw-ui-icon-wikimedia-expand mw-ui-icon-small vector-toc-toggle"> Toggle Setup subsection </button> <ul id="toc-Setup-sublist" class="vector-toc-list"> <li id="toc-What_is_the_difference_between_sys,_data,_and_diskless_when_running_setup-alpine_or_setup-disk?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#What_is_the_difference_between_sys,_data,_and_diskless_when_running_setup-alpine_or_setup-disk?"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span>What is the difference between <i>sys</i>, <i>data</i>, and <i>diskless</i> when running setup-alpine or setup-disk?</div> </a> <ul id="toc-What_is_the_difference_between_sys,_data,_and_diskless_when_running_setup-alpine_or_setup-disk?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-How_do_I_upgrade_Alpine?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#How_do_I_upgrade_Alpine?"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span>How do I upgrade Alpine?</div> </a> <ul id="toc-How_do_I_upgrade_Alpine?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Why_don't_my_cron_jobs_run?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Why_don't_my_cron_jobs_run?"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.3</span>Why don't my cron jobs run?</div> </a> <ul id="toc-Why_don't_my_cron_jobs_run?-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Time_and_timezones" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Time_and_timezones"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span>Time and timezones</div> </a> <button aria-controls="toc-Time_and_timezones-sublist" class="mw-ui-icon mw-ui-icon-wikimedia-expand mw-ui-icon-small vector-toc-toggle"> Toggle Time and timezones subsection </button> <ul id="toc-Time_and_timezones-sublist" class="vector-toc-list"> <li id="toc-How_do_I_set_the_local_timezone?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#How_do_I_set_the_local_timezone?"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span>How do I set the local timezone?</div> </a> <ul id="toc-How_do_I_set_the_local_timezone?-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Packages" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Packages"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span>Packages</div> </a> <button aria-controls="toc-Packages-sublist" class="mw-ui-icon mw-ui-icon-wikimedia-expand mw-ui-icon-small vector-toc-toggle"> Toggle Packages subsection </button> <ul id="toc-Packages-sublist" class="vector-toc-list"> <li id="toc-Can_you_build_an_APK_package_for_...?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Can_you_build_an_APK_package_for_...?"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span>Can you build an APK package for ...?</div> </a> <ul id="toc-Can_you_build_an_APK_package_for_...?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-How_can_I_build_my_own_package?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#How_can_I_build_my_own_package?"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.2</span>How can I build my own package?</div> </a> <ul id="toc-How_can_I_build_my_own_package?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-What_does_"required_by:_world[$pkgname]"_mean?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#What_does_"required_by:_world[$pkgname]"_mean?"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.3</span>What does "required by: world[$pkgname]" mean?</div> </a> <ul id="toc-What_does_"required_by:_world[$pkgname]"_mean?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-How_can_I_find_out_if_a_certain_package_exists_in_Alpine?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#How_can_I_find_out_if_a_certain_package_exists_in_Alpine?"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.4</span>How can I find out if a certain package exists in Alpine?</div> </a> <ul id="toc-How_can_I_find_out_if_a_certain_package_exists_in_Alpine?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-WARNING:_Ignoring_APKINDEX.xxxx.tar.gz" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#WARNING:_Ignoring_APKINDEX.xxxx.tar.gz"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.5</span>WARNING: Ignoring APKINDEX.xxxx.tar.gz</div> </a> <ul id="toc-WARNING:_Ignoring_APKINDEX.xxxx.tar.gz-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Dynamic_DNS" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Dynamic_DNS"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span>Dynamic DNS</div> </a> <button aria-controls="toc-Dynamic_DNS-sublist" class="mw-ui-icon mw-ui-icon-wikimedia-expand mw-ui-icon-small vector-toc-toggle"> Toggle Dynamic DNS subsection </button> <ul id="toc-Dynamic_DNS-sublist" class="vector-toc-list"> <li id="toc-How_do_I_schedule_a_regular_dynamic_DNS_update?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#How_do_I_schedule_a_regular_dynamic_DNS_update?"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.1</span>How do I schedule a regular dynamic DNS update?</div> </a> <ul id="toc-How_do_I_schedule_a_regular_dynamic_DNS_update?-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Terminal" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Terminal"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span>Terminal</div> </a> <button aria-controls="toc-Terminal-sublist" class="mw-ui-icon mw-ui-icon-wikimedia-expand mw-ui-icon-small vector-toc-toggle"> Toggle Terminal subsection </button> <ul id="toc-Terminal-sublist" class="vector-toc-list"> <li id="toc-How_to_enable/fix_colors_for_git?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#How_to_enable/fix_colors_for_git?"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.1</span>How to enable/fix colors for git?</div> </a> <ul id="toc-How_to_enable/fix_colors_for_git?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Fix_lacking_lsusb_/_lspci_output" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Fix_lacking_lsusb_/_lspci_output"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.2</span>Fix lacking lsusb / lspci output</div> </a> <ul id="toc-Fix_lacking_lsusb_/_lspci_output-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Old_questions,_no_longer_frequently_asked" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Old_questions,_no_longer_frequently_asked"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span>Old questions, no longer frequently asked</div> </a> <button aria-controls="toc-Old_questions,_no_longer_frequently_asked-sublist" class="mw-ui-icon mw-ui-icon-wikimedia-expand mw-ui-icon-small vector-toc-toggle"> Toggle Old questions, no longer frequently asked subsection </button> <ul id="toc-Old_questions,_no_longer_frequently_asked-sublist" class="vector-toc-list"> <li id="toc-Alpine_freezes_during_boot_from_Compact_Flash,_how_can_I_fix?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Alpine_freezes_during_boot_from_Compact_Flash,_how_can_I_fix?"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.1</span>Alpine freezes during boot from Compact Flash, how can I fix?</div> </a> <ul id="toc-Alpine_freezes_during_boot_from_Compact_Flash,_how_can_I_fix?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-How_do_I_remove_the_CD-ROM?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#How_do_I_remove_the_CD-ROM?"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.2</span>How do I remove the CD-ROM?</div> </a> <ul id="toc-How_do_I_remove_the_CD-ROM?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-How_can_I_install_custom_firmware_in_a_diskless_system?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#How_can_I_install_custom_firmware_in_a_diskless_system?"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.3</span>How can I install custom firmware in a diskless system?</div> </a> <ul id="toc-How_can_I_install_custom_firmware_in_a_diskless_system?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-OpenNTPD_reports_an_error_with_"adjtime"" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#OpenNTPD_reports_an_error_with_"adjtime""> <div class="vector-toc-text"> <span class="vector-toc-numb">7.4</span>OpenNTPD reports an error with "adjtime"</div> </a> <ul id="toc-OpenNTPD_reports_an_error_with_"adjtime"-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Using_a_cron_job_to_keep_the_time_in_sync" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Using_a_cron_job_to_keep_the_time_in_sync"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.5</span>Using a cron job to keep the time in sync</div> </a> <ul id="toc-Using_a_cron_job_to_keep_the_time_in_sync-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Windows_clients_reports_an_error_when_trying_to_sync" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Windows_clients_reports_an_error_when_trying_to_sync"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.6</span>Windows clients reports an error when trying to sync</div> </a> <ul id="toc-Windows_clients_reports_an_error_when_trying_to_sync-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> </ul> </div> </div> </nav> <div class="mw-content-container"> <main id="content" class="mw-body" role="main"> <header class="mw-body-header vector-page-titlebar"> <label id="vector-toc-collapsed-button" class="mw-ui-button mw-ui-quiet mw-ui-icon mw-ui-icon-flush-left mw-ui-icon-element mw-ui-icon-wikimedia-listBullet mw-checkbox-hack-button" for="vector-toc-collapsed-checkbox" role="button" aria-controls="toc-toggle-list" data-event-name="vector.toc-toggle-list" tabindex="0" title="Table of Contents"> Toggle the table of contents </label> <nav role="navigation" aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-menu vector-dropdown vector-menu-dropdown vector-page-titlebar-toc mw-ui-icon-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-menu-checkbox " aria-label="Toggle the table of contents" /> <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-menu-heading mw-checkbox-hack-button mw-ui-button mw-ui-quiet mw-ui-icon-element " aria-hidden="true" > <span class="mw-ui-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-menu-heading-label">Toggle the table of contents</span> </label> <div class="vector-menu-content vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Alpine Linux</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">FAQ</span></h1> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-project" class="selected vector-tab-noicon mw-list-item"><a data-mw="interface" href="/wiki/Alpine_Linux:FAQ" title="View the project page [a]" accesskey="a" class=""><span>Project page</span></a> </li> <li id="ca-talk" class="vector-tab-noicon mw-list-item"><a data-mw="interface" href="/wiki/Alpine_Linux_talk:FAQ" rel="discussion" title="Discussion about the content page [t]" accesskey="t" class=""><span>Discussion</span></a> </li> </ul> </div> </div> <div id="p-variants" class="vector-menu vector-dropdown vector-menu-dropdown mw-portlet mw-portlet-variants emptyPortlet" > <input type="checkbox" id="p-variants-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-variants" class="vector-menu-checkbox" aria-label="Change language variant" /> <label id="p-variants-label" for="p-variants-checkbox" class="vector-menu-heading " aria-hidden="true" > <span class="vector-menu-heading-label">English</span> </label> <div class="vector-menu-content vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"></ul> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a data-mw="interface" href="/wiki/Alpine_Linux:FAQ" class=""><span>Read</span></a> </li> <li id="ca-viewsource" class="vector-tab-noicon mw-list-item"><a data-mw="interface" href="/w/index.php?title=Alpine_Linux:FAQ&action=edit" title="This page is protected. You can view its source [e]" accesskey="e" class=""><span>View source</span></a> </li> <li id="ca-history" class="vector-tab-noicon mw-list-item"><a data-mw="interface" href="/w/index.php?title=Alpine_Linux:FAQ&action=history" title="Past revisions of this page [h]" accesskey="h" class=""><span>View history</span></a> </li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="More options"> <div id="p-cactions" class="vector-menu vector-dropdown vector-menu-dropdown mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <input type="checkbox" id="p-cactions-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-cactions" class="vector-menu-checkbox" aria-label="More" /> <label id="p-cactions-label" for="p-cactions-checkbox" class="vector-menu-heading" aria-hidden="true" > <span class="vector-menu-heading-label">More</span> </label> <div class="vector-menu-content vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"><li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Alpine_Linux:FAQ"><span>Read</span></a></li><li id="ca-more-viewsource" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Alpine_Linux:FAQ&action=edit"><span>View source</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Alpine_Linux:FAQ&action=history"><span>View history</span></a></li></ul> </div> </div> </div> </nav> </div> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Alpine Linux</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><span class="mw-redirectedfrom">(Redirected from <a href="/w/index.php?title=FAQ&redirect=no" class="mw-redirect" title="FAQ">FAQ</a>)</span></div></div> <div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-parser-output"><figure class="mw-halign-left" typeof="mw:File"><span><img src="/images/thumb/3/33/Filetypes.svg/64px-Filetypes.svg.png" decoding="async" width="64" height="64" /></span><figcaption></figcaption></figure> <p>This is a list of <b>frequently asked questions</b> about Alpine Linux.<br /> If your question is not answered on this page, use the search box above to find work in progress pages not linked here, or in case of no answer, edit this page and write down your question. </p> <div style="padding: 0.25em; margin: 0.50em 0; background-color: #DDFFDD; border: 2px solid #BBFFBB"><strong> Tip: </strong> Prepare your question. Think it through. Make it simple and understandable.</div> <meta property="mw:PageProp/toc" /> <h1><span class="mw-headline" id="General">General</span></h1> <p>Alpine Linux is used heavily in containers (e.g. Docker images) on servers, so many of its main packages are focused on server services. </p> <h2><span id="Where_to_start.3F"></span><span class="mw-headline" id="Where_to_start?">Where to start?</span></h2> <p>The <a href="/wiki/Installation" title="Installation">Installation</a> page and the <a href="/wiki/Installation#Post-Installation" title="Installation">Post Installation</a> section on that page, provide a basic orientation. </p><p>A broader overview may be found on the official <a rel="nofollow" class="external text" href="https://alpinelinux.org/about">About</a> page and at the <a href="/wiki/Alpine_Linux:Overview" title="Alpine Linux:Overview">wiki overview</a>. </p><p>Please note that testing is safer on your own virtual machine. </p> <h2><span id="I_have_found_a_bug.2C_where_can_I_report_it.3F"></span><span class="mw-headline" id="I_have_found_a_bug,_where_can_I_report_it?">I have found a bug, where can I report it?</span></h2> <p>You can report it on the <a rel="nofollow" class="external text" href="https://gitlab.alpinelinux.org/groups/alpine/-/issues">bugtracker</a>, but search it first to see if the issue has already been reported. </p> <h2><span id="Are_there_any_details_about_the_releases_available.3F"></span><span class="mw-headline" id="Are_there_any_details_about_the_releases_available?">Are there any details about the releases available?</span></h2> <p>Yes, please check the <a rel="nofollow" class="external text" href="https://alpinelinux.org/releases/">releases</a> page. </p> <h2><span id="How_can_I_contribute.3F"></span><span class="mw-headline" id="How_can_I_contribute?">How can I contribute?</span></h2> <p>You can contribute by: </p> <ul><li>Using the software and giving <a rel="nofollow" class="external text" href="https://gitlab.alpinelinux.org/groups/alpine/-/issues">feedback</a>.</li> <li>Documenting your <a rel="nofollow" class="external text" href="https://www.alpinelinux.org">Alpine Linux</a> experiences on this <a href="/wiki/Main_Page" title="Main Page">wiki</a>.</li> <li>Flag packages as outdated in the <a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages">package database</a>, or even better enable release monitoring in <a rel="nofollow" class="external text" href="https://release-monitoring.org/">Anitya</a> for them.</li> <li>In many other ways.</li></ul> <p>Please visit the <a href="/wiki/Contribute" class="mw-redirect" title="Contribute">Contribute page</a> to read more about this topic. </p> <h2><span id="Why_don.27t_I_have_man_pages_or_where_is_the_.27man.27_command.3F"></span><span class="mw-headline" id="Why_don't_I_have_man_pages_or_where_is_the_'man'_command?">Why don't I have man pages or where is the 'man' command?</span></h2> <p>The <code>man</code> command and <span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=man-pages&branch=edge&repo=&arch=x86_64&maintainer=">man-pages</a></span>, the system's <i>core</i> manual pages are not installed by default. Since binary packages are thinned out and split, documentation sub-packages in the format <b>packagename-doc</b> are not installed by default. </p><p>Install the <code>man</code> command: </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;"># apk add <span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=mandoc&branch=edge&repo=&arch=x86_64&maintainer=">mandoc</a></span></p> <p>Optionally, install the <code>apropos</code> command to search in <b>man pages</b>: </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;"># apk add <span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=mandoc-apropos&branch=edge&repo=&arch=x86_64&maintainer=">mandoc-apropos</a></span></p> <p>Once <span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=mandoc&branch=edge&repo=&arch=x86_64&maintainer=">mandoc</a></span> is installed,add documentation for the package where you need it. For example, say you installed nftables and you now require its man pages: </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;"># apk add <span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=nftables-doc&branch=edge&repo=&arch=x86_64&maintainer=">nftables-doc</a></span></p> <p>The <span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=docs&branch=edge&repo=&arch=x86_64&maintainer=">docs</a></span> meta package installs the documentation sub-package for all the currently installed packages and <span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=mandoc&branch=edge&repo=&arch=x86_64&maintainer=">mandoc</a></span>, if unavailable. <span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=docs&branch=edge&repo=&arch=x86_64&maintainer=">docs</a></span> meta package ensures that documentation sub-packages are installed or removed automatically for any packages that you may add/remove in future. </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;"># apk add docs</p> <p>Keep in mind not all packages have a corresponding documentation package and even when it has one it may not be in the form <b>man pages</b>. </p> <h2><span id="What_is_the_difference_between_edge_and_stable_releases.3F"></span><span class="mw-headline" id="What_is_the_difference_between_edge_and_stable_releases?">What is the difference between edge and stable releases?</span></h2> <p>Stable releases are just what they sound like: initially a point-in-time snapshot of the package archives, but then maintained with bugfixes only in order to keep a stable environment. </p><p><a href="/wiki/Repositories#Edge" title="Repositories">Edge</a> is more of a rolling-release, with the latest and greatest packages available in the online repositories.<br /> Occasionally, snapshot ISO images of the then-current state of edge are made and are available for download.<br /> Typically these are made when there are major kernel upgrades or package upgrades that require initramfs rebuilds. </p> <h2><span id="What_architectures_does_Alpine_Linux_support.3F"></span><span class="mw-headline" id="What_architectures_does_Alpine_Linux_support?">What architectures does Alpine Linux support?</span></h2> <ul><li><b>aarch64</b>: 64-bit ARM processors (e.g. Raspberry Pi 4)</li> <li><b>armhf</b>: 32-bit ARMv6 processors with a floating point unit (e.g. Raspberry Pi 1) (armv6hf)</li> <li><b>armv7</b>: 32-bit ARMv7 processors with a floating point unit (armv7hf)</li> <li><b>s390x</b>: IBM mainframes using the z/Architecture (z196 minimum)</li> <li><b>ppc64le</b>: 64-bit little-endian POWER devices (e.g. Raptor Talos II) (POWER8 minimum)</li> <li><b>x86</b>: 32-bit Intel and AMD processors commonly found in older personal computers (e.g. Pentium M+). Can also run on x86_64 machines (not recommended). Requires SSE2 and CMOV.</li> <li><b>x86_64</b>: 64-bit Intel and AMD processors commonly found in personal computers (e.g. Core i7, Ryzen 7)</li></ul> <p><b>Please check <a rel="nofollow" class="external text" href="https://alpinelinux.org/downloads">Download</a> page for media availability on each one</b> and check <a rel="nofollow" class="external text" href="https://alpinelinux.org/releases/">Release Branches</a> page for latest. </p> <h2><span id="What_kinds_of_release_of_Alpine_Linux_are_available.3F"></span><span class="mw-headline" id="What_kinds_of_release_of_Alpine_Linux_are_available?">What kinds of release of Alpine Linux are available?</span></h2> <p>Please check the <a rel="nofollow" class="external text" href="https://alpinelinux.org/releases/">Release Branches</a> page for more information. </p> <h1><span class="mw-headline" id="Setup">Setup</span></h1> <h2><span id="What_is_the_difference_between_sys.2C_data.2C_and_diskless_when_running_setup-alpine_or_setup-disk.3F"></span><span class="mw-headline" id="What_is_the_difference_between_sys,_data,_and_diskless_when_running_setup-alpine_or_setup-disk?">What is the difference between <i>sys</i>, <i>data</i>, and <i>diskless</i> when running <code>setup-alpine</code> or <code>setup-disk</code>?</span></h2> <p><b>sys:</b> This mode is a traditional disk install. The following partitions will be created on the disk: <i>/boot/</i>, <i>/</i> (filesystem root) and <i>swap</i>. This mode may be used for development boxes, desktops, virtual servers, etc. </p><p><b>data:</b> This mode uses your disk(s) for data storage, not for the operating system. Runs from the media and only a <i>/var/</i> is created on disk. The system itself will run from a <i>tmpfs</i> (RAM). Use this mode if you only want to use the disk(s) for data, like <i>mailspool</i>, <i>databases</i>, <i>logs</i>, etc. </p><p><b>diskless:</b> No disks are to be used. <a href="/wiki/Alpine_local_backup" title="Alpine local backup">Alpine local backup</a> may still be used in this mode. </p><p>These modes are explained further on the <a href="/wiki/Installation#Installation_Overview" title="Installation"><b>Installation</b></a> page. </p> <h2><span id="How_do_I_upgrade_Alpine.3F"></span><span class="mw-headline" id="How_do_I_upgrade_Alpine?">How do I upgrade Alpine?</span></h2> <p>To upgrade to a new stable release or edge: <code>apk upgrade --available</code> </p> <h2><span id="Why_don.27t_my_cron_jobs_run.3F"></span><span class="mw-headline" id="Why_don't_my_cron_jobs_run?">Why don't my cron jobs run?</span></h2> <p>Start service <i>crond</i> and add it to the default runlevel: </p> <dl><dd><p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">rc-service crond start && rc-update add crond</p></dd></dl> <p>After that the cron daemon is started automatically on system boot and executes the scripts placed in the folders under <i>/etc/periodic/</i> - there are folders for <i>15min</i>, <i>hourly</i>, <i>daily</i>, <i>weekly</i> and <i>monthly</i> scripts. </p><p>To check whether your scripts are likely to run, use the <i>run-parts</i> command, for example: </p> <dl><dd><p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">run-parts --test /etc/periodic/15min</p></dd></dl> <p>This command will tell you what should run but will not actually execute the scripts. </p><p>If the results of the test are not as expected, check the following: </p> <ul><li>Make sure the script is executable - if unsure, issue the command <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">chmod +x /etc/periodic/[path/scriptname]</p></li> <li>Make sure the first line of your script is <code>#!/bin/sh</code></li> <li>Do not use periods on your script file names - this stops them from working; for example: <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">/etc/periodic/daily/myscript</span> will run, but <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">/etc/periodic/daily/myscript.sh</span> won't.</li></ul> <h1><span class="mw-headline" id="Time_and_timezones">Time and timezones</span></h1> <h2><span id="How_do_I_set_the_local_timezone.3F"></span><span class="mw-headline" id="How_do_I_set_the_local_timezone?">How do I set the local timezone?</span></h2> <p>If you wish to edit the <i>timezone</i> (TZ) after installation, run the <a href="/wiki/Alpine_setup_scripts#setup-timezone" title="Alpine setup scripts">setup-timezone</a> script. </p> <h1><span class="mw-headline" id="Packages">Packages</span></h1> <h2><span id="Can_you_build_an_APK_package_for_....3F"></span><span class="mw-headline" id="Can_you_build_an_APK_package_for_...?">Can you build an APK package for ...?</span></h2> <p>Please create an <a rel="nofollow" class="external text" href="https://gitlab.alpinelinux.org/alpine/aports/issues/new">issue</a> in the <a rel="nofollow" class="external text" href="https://gitlab.alpinelinux.org">bugtracker</a>. Prefix it with "package request:" in the title and include a short description (one-line), a URL for the home page, why you need it, and a URL for the source package. </p> <h2><span id="How_can_I_build_my_own_package.3F"></span><span class="mw-headline" id="How_can_I_build_my_own_package?">How can I build my own package?</span></h2> <p>Please see the <a href="/wiki/Creating_an_Alpine_package" title="Creating an Alpine package">Creating an Alpine package</a> page. </p> <h2><span id="What_does_.22required_by:_world.5B.24pkgname.5D.22_mean.3F"></span><span class="mw-headline" id="What_does_"required_by:_world[$pkgname]"_mean?">What does "required by: world[$pkgname]" mean?</span></h2> <p>It means that the package you tried to install does not exist in the repositories you have configured. </p><p>Maybe you forgot to add community or testing to <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">/etc/apk/repositories</span>? </p><p>Or is the package in a <a href="/wiki/Alpine_Package_Keeper#Repository_pinning" title="Alpine Package Keeper">pinned repository</a> and you forgot to suffix the package with the repo tag? Example: </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">apk add experimental-package@testing</p> <h2><span id="How_can_I_find_out_if_a_certain_package_exists_in_Alpine.3F"></span><span class="mw-headline" id="How_can_I_find_out_if_a_certain_package_exists_in_Alpine?">How can I find out if a certain package exists in Alpine?</span></h2> <p>If you want to only search repositories you have configured in /etc/apk/repositories, then <code>apk search $pkgname</code> should get you sorted. If you want to search all repositories have a look at the <a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/">online pkg oracle</a> </p> <h2><span class="mw-headline" id="WARNING:_Ignoring_APKINDEX.xxxx.tar.gz">WARNING: Ignoring APKINDEX.xxxx.tar.gz</span></h2> <p>If you get <code>WARNING: Ignoring APKINDEX.xxxx.tar.gz: No such file or directory</code> while running <a href="/wiki/Alpine_Linux_package_management" class="mw-redirect" title="Alpine Linux package management">package related tools</a>, check your <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">/etc/apk/repositories</span> file. </p><p>To check the content of the repositories file </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">cat /etc/apk/repositories</p> <p>or </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">setup-apkrepos</p> <h1><span class="mw-headline" id="Dynamic_DNS">Dynamic DNS</span></h1> <h2><span id="How_do_I_schedule_a_regular_dynamic_DNS_update.3F"></span><span class="mw-headline" id="How_do_I_schedule_a_regular_dynamic_DNS_update?">How do I schedule a regular dynamic DNS update?</span></h2> <p>You'll want to install the <span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=ez-ipupdate&branch=edge&repo=&arch=x86_64&maintainer=">ez-ipupdate</a></span> package: </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">apk add ez-ipupdate</p> <p>After that, create a new file at <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">/etc/ez-ipupdate.conf</span> with contents similar to: </p> <pre>service-type=dyndns user=myusername:mypassword interface=eth1 host=myhostname.dyndns.org </pre> <p>Make the new ip cache directory: </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">mkdir /var/cache/ez-ipupdate lbu add /var/cache/ez-ipupdate</p> <p>Then schedule a new cron job with this command: </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">echo >> /var/log/ez-ipupdate && \<br />/bin/date >> /var/log/ez-ipupdate && \<br />ez-ipupdate --config-file /etc/ez-ipupdate.conf -f -F /var/run/ez-ipupdate.pid \<br /> --cache-file /var/cache/ez-ipupdate/ipcache --quiet >> /var/log/ez-ipupdate 2>&1</p> <p>Don't forget to backup your settings! </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">lbu ci</p> <h1><span class="mw-headline" id="Terminal">Terminal</span></h1> <h2><span id="How_to_enable.2Ffix_colors_for_git.3F"></span><span class="mw-headline" id="How_to_enable/fix_colors_for_git?">How to enable/fix colors for git?</span></h2> <p>The problem is not in git itself or terminal, but in the <tt>less</tt> command. Busybox鈥檚 <tt>less</tt> doesn鈥檛 support <tt>-r</tt> (<tt>--raw-control-chars</tt>) and <tt>-R</tt> (<tt>--RAW-CONTROL-CHARS</tt>) options. </p><p>The simplest (yet not ideal) solution is to install GNU less: </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">apk add less</p> <p>Additionally, for colorized diff while using verbose commit (<tt>git commit -v</tt>), add this to shell init scripts (e.g.: <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">~/.profile</span>): </p> <div><p style="background-color:#f9f9f9; border:1px solid #2f6fab; border-bottom:0; padding:.2em 1.2em; display:inline;"><strong>Contents of </strong><span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">~/.profile</span></p><div style="background-color:#f9f9f9; border:1px dashed #2f6fab; border-left:1px solid #2f6fab; margin-top:-.2em; line-height:1.1em; padding:1em; font-family:monospace; font-size:10pt; white-space:pre; overflow:auto;">export GIT_EDITOR=vim</div></div> <h2><span id="Fix_lacking_lsusb_.2F_lspci_output"></span><span class="mw-headline" id="Fix_lacking_lsusb_/_lspci_output">Fix lacking lsusb / lspci output</span></h2> <p>If you launch <code>lsusb</code> or <code>lspci</code> on a minimal installation, there's no device descriptions, and the latter doesn't exist. </p><p>This can be fixed by installing the <b><span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=usbutils&branch=edge&repo=&arch=x86_64&maintainer=">usbutils</a></span></b> and <b><span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=hwdata&branch=edge&repo=&arch=x86_64&maintainer=">hwdata</a></span></b> tables. </p> <h1><span id="Old_questions.2C_no_longer_frequently_asked"></span><span class="mw-headline" id="Old_questions,_no_longer_frequently_asked">Old questions, no longer frequently asked</span></h1> <h2><span id="Alpine_freezes_during_boot_from_Compact_Flash.2C_how_can_I_fix.3F"></span><span class="mw-headline" id="Alpine_freezes_during_boot_from_Compact_Flash,_how_can_I_fix?">Alpine freezes during boot from Compact Flash, how can I fix?</span></h2> <p>Most Compact Flash card readers do not support proper DMA.<br /> You should append <b>nodma</b> to the <i>append</i> line in <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">syslinux.cfg</span>. </p> <h2><span id="How_do_I_remove_the_CD-ROM.3F"></span><span class="mw-headline" id="How_do_I_remove_the_CD-ROM?">How do I remove the CD-ROM?</span></h2> <p>Since the modloop loopback device is on CD-ROM you cannot just run <code>eject</code>. You need to unmount the modloop first.<br /> Unmounting both the modloop and the CDROM in one step can be done by executing: </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">/etc/init.d/modloop stop</p> <p>Then it's possible to eject the CD-ROM: </p> <p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">eject</p> <h2><span id="How_can_I_install_custom_firmware_in_a_diskless_system.3F"></span><span class="mw-headline" id="How_can_I_install_custom_firmware_in_a_diskless_system?">How can I install custom firmware in a diskless system?</span></h2> <p>The modules and firmware are both special images which are mounted as read-only.<br /> To fix this issue you can copy the firmware directory to your writeable media (cf/usb) and copy your custom firmware to it.<br /> After reboot Alpine should automatically use the directory on your local storage instead of the loopback device. </p> <h2><span id="OpenNTPD_reports_an_error_with_.22adjtime.22"></span><span class="mw-headline" id="OpenNTPD_reports_an_error_with_"adjtime"">OpenNTPD reports an error with "adjtime"</span></h2> <p>Your log contains something like: </p> <pre>reply from 85.214.86.126: offset 865033148.784255 delay 0.055466, next query 32s reply from 202.150.212.24: offset 865033148.779314 delay 0.400771, next query 3s adjusting local clock by 865033148.779835s adjtime failed: Invalid argument </pre> <p><span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=openntpd&branch=edge&repo=&arch=x86_64&maintainer=">openntpd</a></span> is supposed to make small adjustments in the time without causing time jumps.<br /> If the adjustment is too big then something is clearly wrong and ntpd gives up. (its actually adjtime(3) that has a limit on how big adjustments are allowed) </p><p>You can make ntpd set the time at startup by adding <i>-s</i> option to ntpd. This is done by setting <b>NTPD_OPTS="-s"</b> in <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">/etc/conf.d/ntpd</span>. </p> <h2><span class="mw-headline" id="Using_a_cron_job_to_keep_the_time_in_sync">Using a cron job to keep the time in sync</span></h2> <p>Add the following to <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">/etc/periodic/daily</span> (or use another folder under the <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">/etc/periodic</span> hierarchy if you want to run the script more/less frequently) </p><p>Example: file called <span style="font-family: monospace, Courier; font-size:10pt; color: #000055; white-space: nowrap">do-ntp</span> </p> <pre>#!/bin/sh ntpd -d -q -n -p uk.pool.ntp.org</pre> <p>This queries the uk time server pool - you can modify this to suit your localisation, or just use <i>pool.ntp.org</i>. More info here: <a rel="nofollow" class="external text" href="https://www.pool.ntp.org/zone/@">https://www.pool.ntp.org/zone/@</a> </p> <h2><span class="mw-headline" id="Windows_clients_reports_an_error_when_trying_to_sync">Windows clients reports an error when trying to sync</span></h2> <p><span class="plainlinks" style="font-family: monospace, Courier;font-size:10pt;"><a rel="nofollow" class="external text" href="https://pkgs.alpinelinux.org/packages?name=openntpd&branch=edge&repo=&arch=x86_64&maintainer=">openntpd</a></span> needs to run for a while before it is satisfied it is in sync. Until then it will set a flag "clock not synchronized" and Windows will report an error while trying to sync with your openntpd server. </p><p>Only thing to do is wait, do something else for 15-20mins and then check. </p> <!-- NewPP limit report Cached time: 20241123104857 Cache expiry: 86400 Reduced expiry: false Complications: [show鈥恡oc, no鈥恡oc鈥恈onversion] CPU time usage: 0.046 seconds Real time usage: 0.056 seconds Preprocessor visited node count: 743/1000000 Post鈥恊xpand include size: 12352/2097152 bytes Template argument size: 2049/2097152 bytes Highest expansion depth: 8/100 Expensive parser function count: 0/100 Unstrip recursion depth: 1/20 Unstrip post鈥恊xpand size: 109/5000000 bytes --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 26.140 1 -total 22.20% 5.804 13 Template:Pkg 22.13% 5.784 1 Template:Tip 17.24% 4.507 12 Template:Path 14.29% 3.734 1 Template:Box_GREEN 13.10% 3.423 17 Template:Cmd 9.02% 2.357 1 Template:Cat 8.85% 2.313 3 Template:Ic 7.16% 1.871 1 Template:Box --> <!-- Saved in parser cache with key wikidb:pcache:idhash:1507-0!canonical and timestamp 20241123104857 and revision id 27474. Rendering was triggered because: page-view --> </div> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Linux:FAQ&oldid=27474">https://wiki.alpinelinux.org/w/index.php?title=Alpine_Linux:FAQ&oldid=27474</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Category</a>: <ul><li><a href="/wiki/Category:Newbie" title="Category:Newbie">Newbie</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" role="contentinfo" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 9 October 2024, at 01:53.</li> <li id="footer-info-copyright"><div align="right"><div id="footer-inner"> <p><a href="https://wiki.alpinelinux.org/wiki/Alpine_Linux:Privacy_policy#License">© Original authors / CC-BY-SA-4.0</a> </div></div></li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="/wiki/Alpine_Linux:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Alpine_Linux:About">About</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Alpine_Linux:General_disclaimer">Disclaimers</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/"><img src="/w/resources/assets/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" srcset="/w/resources/assets/poweredby_mediawiki_132x47.png 1.5x, /w/resources/assets/poweredby_mediawiki_176x62.png 2x" width="88" height="31" loading="lazy"/></a></li> </ul> </footer> </div> </div> </div> <script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgBackendResponseTime":133,"wgPageParseReport":{"limitreport":{"cputime":"0.046","walltime":"0.056","ppvisitednodes":{"value":743,"limit":1000000},"postexpandincludesize":{"value":12352,"limit":2097152},"templateargumentsize":{"value":2049,"limit":2097152},"expansiondepth":{"value":8,"limit":100},"expensivefunctioncount":{"value":0,"limit":100},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":109,"limit":5000000},"timingprofile":["100.00% 26.140 1 -total"," 22.20% 5.804 13 Template:Pkg"," 22.13% 5.784 1 Template:Tip"," 17.24% 4.507 12 Template:Path"," 14.29% 3.734 1 Template:Box_GREEN"," 13.10% 3.423 17 Template:Cmd"," 9.02% 2.357 1 Template:Cat"," 8.85% 2.313 3 Template:Ic"," 7.16% 1.871 1 Template:Box"]},"cachereport":{"timestamp":"20241123104857","ttl":86400,"transientcontent":false}}});});</script> </body> </html>