Help:Reading: Difference between revisions

From Alpine Linux
m (reworded for clarity)
(moved some content from Post installation page)
Line 3: Line 3:
== Root and normal user ==
== Root and normal user ==


The numeral or hash sign ({{ic|#}}) indicates that the command needs to be run as ''root'':  
When the hash sign ({{ic|#}}) is displayed before a command, it indicates that the command needs to be run with ''root'' privileges:  


  # apk add mandoc
  # apk add mandoc


The dollar sign ({{ic|$}}) shows that the command can be run as a ''regular user''.
When the dollar sign ({{ic|$}}) is displayed before a command, it indicates that the command should be run as a ''regular user''.


  $ apk info mandoc
  $ 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]] page for more information on ''root'' and ''regular user''.


== Packages and installation ==
== Placeholder ==
 
Anything in ({{ic|< >}})  is likely just a placeholder that you need to replace. For example,  {{ic|<editor> file.txt}} means use an '''editor''' of your choice like [[BusyBox#vi|vi]] or [[Emacs]] to open the file {{ic|file.txt}} for editing.
 
== Package installation ==


Packages in the Alpine Linux [[Repositories]] are indicated as follows: {{pkg|libreoffice}}. If you click on the package name, details about the package can be found in the Alpine Linux [https://pkgs.alpinelinux.org package database]. Package filter available on the page can be used to search for further information.
Packages in the Alpine Linux [[Repositories]] are indicated as follows: {{pkg|libreoffice}}. If you click on the package name, details about the package can be found in the Alpine Linux [https://pkgs.alpinelinux.org package database]. Package filter available on the page can be used to search for further information.
Line 21: Line 25:
  # apk add less
  # 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 [[How_to_get_regular_stuff_working#Subpackages_and_missing_functionality|subpackages]].  
Alpine Linux packages stay close to the upstream design and are thinned out and split into subpackages. So always check and install necessary [[How_to_get_regular_stuff_working#Subpackages_and_missing_functionality|subpackages]].  


[[Category:Wiki]]
[[Category:Wiki]]

Revision as of 12:54, 12 January 2025

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

Root and normal user

When the hash sign (#) is displayed before a command, it indicates that the command needs to be run with root privileges:

# apk add mandoc

When the dollar sign ($) is displayed before a command, it indicates that the command should be run as a regular user.

$ apk info mandoc

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

Placeholder

Anything in (< >) is likely just a placeholder that you need to replace. For example, <editor> file.txt means use an editor of your choice like vi or Emacs to open the file file.txt for editing.

Package installation

Packages in the Alpine Linux Repositories are indicated as follows: libreoffice. If you click on the package name, details about the package can be found in the Alpine Linux package database. Package filter available on the page can be used to search for further information.

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 always check and install necessary subpackages.