Help:Reading: Difference between revisions

From Alpine Linux
(Added clarification on subpackages with links)
(changed the example command and minor formatting)
Line 4: Line 4:


The numeral or hash sign ({{ic|#}}) indicates that the command needs to be run as ''root'':  
The numeral or hash sign ({{ic|#}}) indicates that the command needs to be run as ''root'':  
  # rc-service swap start
 
  # apk add mandoc


The dollar sign ({{ic|$}}) shows that the command can be run as a ''regular user''.
The dollar sign ({{ic|$}}) shows that the command can be run as a ''regular user''.
  $ rc-service swap status
 
  $ apk info mandoc


Refer [[Setting up a new user|User Accounts]] for more information on ''root'' and ''regular user''.
Refer [[Setting up a new user|User Accounts]] for more information on ''root'' and ''regular user''.
Line 14: Line 16:


Packages in the Alpine Linux [[Repositories]] are indicated as follows {{pkg|less}} which links to [https://pkgs.alpinelinux.org package database]. If you find an instruction to install the package {{pkg|less}}, then the following [[Alpine Package Keeper|apk]] command must be issued:
Packages in the Alpine Linux [[Repositories]] are indicated as follows {{pkg|less}} which links to [https://pkgs.alpinelinux.org package database]. If you find an instruction to install the package {{pkg|less}}, then the following [[Alpine Package Keeper|apk]] command must be issued:
  # apk add less
  # apk add less



Revision as of 18:20, 12 December 2024

Users of Alpine Linux wiki must understand the following conventions when reading the wiki pages.

Root and normal user

The numeral or hash sign (#) indicates that the command needs to be run as root:

# apk add mandoc

The dollar sign ($) shows that the command can be run as a regular user.

$ apk info mandoc

Refer User Accounts for more information on root and regular user.

Packages and their Installation

Packages in the Alpine Linux Repositories are indicated as follows less which links to package database. If you find an instruction to install the package less, then the following apk command must be issued:

# apk add less

Alpine Linux packages stay close to the upstream design and are thinned out and split into subpackages. So check and install necessary subpackages.