Help:Reading: Difference between revisions

From Alpine Linux
(created initial page)
 
(Reworded the instructions)
Line 1: Line 1:
Users of Alpine Linux wiki must understand the following conventions when reading the wiki pages.
Users of Alpine Linux wiki must understand the following conventions when reading the wiki pages.  


== Root and normal user ==
== Root and normal user ==


Some lines are written like:
The numeral or hash sign ({{ic|#}}) indicates that the command needs to be run as ''root'':  
  # rc-service swap start
  # rc-service swap start


While others have a different prefix:
The dollar sign ({{ic|$}}) shows that the command can be run as a ''regular user''.
  $ rc-service swap status
  $ rc-service swap status


The numeral or hash sign ({{ic|#}}) indicates that the command needs to be run as ''root'', whereas the dollar sign ({{ic|$}}) shows that the command should be run as a ''regular user''. 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''.


== Packages and their Installation ==
== Packages and their Installation ==
Alpine Linux packages stay close to the upstream design. Therefore, all upstream documentation about configuring a software package, as well as good configuration guides from other distributions that stay close to upstream, e.g. those in the [https://wiki.archlinux.org/ ArchWiki], or [https://wiki.gentoo.org/wiki/ Gentoo wiki] are to a large degree, also applicable to configuring the software on Alpine Linux, thus can be very useful.


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 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 command must be issued:

Revision as of 17:28, 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:

# rc-service swap start

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

$ rc-service swap status

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

Packages and their Installation

Alpine Linux packages stay close to the upstream design. Therefore, all upstream documentation about configuring a software package, as well as good configuration guides from other distributions that stay close to upstream, e.g. those in the ArchWiki, or Gentoo wiki are to a large degree, also applicable to configuring the software on Alpine Linux, thus can be very useful.

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 command must be issued:

# apk add less

Refer apk page for other options.