秀女是什么意思| 胃镜挂什么科| 吃燕窝有什么功效| 神阙穴在什么位置| dt是什么意思| 肝功高是什么原因引起的| pa是什么元素| eason是什么意思| 手术后发烧是什么原因| dj管是什么| 老是流鼻血是什么原因| 三朵花代表什么意思| 嘌呤是什么物质| 什么把什么造句子| 脸上掉皮是什么原因| 吃什么| 宫颈息肉吃什么药能消| 行是什么意思| 五月十三日是什么星座| 喝水多尿多是什么原因男性| 球蛋白偏高是什么意思| 梦见穿破鞋是什么意思| 脚后跟干裂用什么药膏| 彗星为什么有尾巴| 一览无余是什么意思| 减肥用什么好| 一什么圆月| 脑鸣吃什么药| 李连杰得了什么病| 忠字五行属什么| 口坐念什么| 吃什么长卵泡| 苋菜与什么食物相克| 散粉和粉饼有什么区别| 艾滋病简称什么| 指甲发紫是什么原因| 胎儿窘迫什么意思| 药流可以吃什么水果| 麂皮是什么皮| 公安局跟派出所有什么区别| 猫咖是什么| 什么是逆向思维| 舒服的意思是什么| 论文检索号是什么| 血红蛋白偏高是什么原因| 减肥期间适合吃什么| 有什么书| 罗锅是什么意思| 什么叫有气质| 阴阳两虚用什么药| 疱疹是什么原因引起的| 用什么方法治牙疼| 小儿疝气挂什么科| 吉士是什么| 月经要来之前有什么症状| 王晶为什么不娶邱淑贞| fsw是什么意思| 什么是全脂奶粉| 头发长得慢是什么原因| aq是什么标准| 一个木一个号念什么| 检查hpv需要注意什么提前注意什么| 才子男装什么档次| 河南什么烟出名| 肾功能不全是什么意思| 突然尿频是什么原因| 为什么呀| 中国人的祖先是什么人| 多巴胺什么意思| 白细胞酯酶弱阳性什么意思| 什么人容易得类风湿| 茉莉茶属于什么茶| 端午节有什么习俗| 2044年是什么年| 肺部结节挂什么科| 举牌是什么意思| 倾倒是什么意思| 琴代表什么生肖| 铁蛋白高挂什么科| 额头长痘什么原因| 五十坐地能吸土是什么意思| 眉什么目什么| 301医院院长什么级别| 梦特娇属于什么档次| 经常抽筋是什么原因| 葡萄糖偏高有什么问题| 纳帕皮是什么皮| 杨梅泡酒有什么功效| 三角梅用什么肥料最好| 丁香花长什么样| 海兔是什么| 什么是有机蔬菜| 淋巴结是什么引起的| 包皮炎吃什么消炎药| 喉咙疼吃什么| 早上五六点是什么时辰| 一什么一什么词语| 隐血试验阴性是什么意思| aape是什么牌子| 海扶治疗是什么| 一阵一阵的胃疼是什么原因| 什么的娃娃| 你在左边我紧靠右是什么歌| 92是什么| 怀孕两个月出血是什么原因| 什么酒不能喝| 昌字五行属什么| 权志龙的团队叫什么| 打嗝多是什么原因| 负荆请罪是什么意思| 1981年是什么年| 数词是什么意思| qs认证是什么意思| 念珠菌感染用什么药| 颔是什么部位| 小儿积食吃什么药最好| 肺部纹理增粗是什么意思| pwr是什么意思| 身上长红色的痣是什么原因| 什么气| 回乡偶书的偶书是什么意思| 皮笑肉不笑是什么生肖| 千娇百媚是什么意思| 尿隐血是什么意思| 暑伏为什么要吃饺子| 打了狂犬疫苗不能吃什么| 马失前蹄下一句是什么| 医美是什么专业| 牙齿冷热都疼是什么原因| 藿香正气水不能和什么药一起吃| 林冲的绰号是什么| 没有料酒用什么去腥| 胸胀痛什么原因| 女人心肌缺血吃什么药| 人生赢家什么意思| 什么颜色加什么颜色等于灰色| 手抖挂什么科室| 鱼翅是什么东西| 高回声是什么意思| 跑男什么时候播出| 属牛的守护神是什么菩萨| 甲亢什么症状| 尿少是什么原因| 怀孕吃辣对胎儿有什么影响| 肚脐眼周围痛挂什么科| 盆腔积液吃什么药好| 感冒是什么原因引起的| 1.20是什么星座| 目加此念什么| 翌日是什么意思| 江与河有什么区别| 绿油油的什么| 黄油是用什么做的| 流感为什么晚上会比白天严重| 韩愈是什么朝代的| 一个牙一个合是什么字| 红烧肉用什么肉| eb病毒感染是什么病| 豚是什么意思| 暧昧什么意思| 哺乳期牙龈肿痛可以吃什么药| 贫血喝什么茶| 殇字是什么意思| 小便尿起泡是什么原因| 慢性萎缩性胃炎是什么意思| 第一次见家长送什么礼物好| 属鸡的本命佛是什么佛| 射精无力吃什么药好| 右肋骨下方隐隐疼痛是什么原因| 男人小腿肿是什么原因| 心脏供血不足吃什么药| 无什么不什么的成语| 什么原因导致长水痘| 菌群异常是什么意思| 什么是宫缩| 德艺双馨是什么意思| 大型血小板比率偏低是什么意思| 拔牙之后能吃什么| 吃什么可以美白| 少字五行属什么| 黄鳝吃什么东西长得快| 冲击波治疗有什么效果| 甘草是什么| 周瑜为什么打黄盖| 吃什么补胰腺最好| 怀孕做nt检查什么| 小孩爱流鼻血是什么原因| 上环什么时候去最合适| 儿童乘坐飞机需要什么证件| 属鸡适合佩戴什么饰品| 三千烦恼丝什么意思| 孙悟空被压在什么山下| 什么是白内障| 天外飞仙是什么意思| 什么不导电| 什么叫淋巴结| 补充公积金是什么意思| 肺炎不能吃什么东西| 麻黄碱是什么| 孕酮低跟什么有关系| 发配是什么意思| 妈妈咪呀是什么意思| 喝太多水对身体有什么影响| 三超是指什么| 过敏性皮炎吃什么药| 黄体功能不足吃什么药| 头疼吃什么| 没品什么意思| 吃黑豆有什么好处和坏处| 十羊九不全是什么意思| 氯雷他定片主治什么| 一边脸大一边脸小是什么原因| 尿路结石吃什么药| 相向而行是什么意思| 儿童说话晚去医院挂什么科| 南方的粽子一般是什么口味| 腹股沟在什么位置| 7月30日是什么日子| aj是什么| 喝酒后手麻是什么原因| 杨梅是什么季节的水果| 蟾酥是什么| 红粉是什么意思| 精液偏黄是什么原因| cfp是什么证书| 老咳嗽是什么原因| 一个巾一个占念什么| 眼睛晶体是什么| 辞退和开除有什么区别| 锌是补什么的| 龟龄集适合什么人吃| 佳木斯二院全名叫什么| 为什么拼音| 增强免疫力吃什么药| 流云是什么意思| 卵泡期什么意思| 昙花是什么意思| 下午2点是什么时辰| 自强不息的息是什么意思| 湿疹为什么要查肝功能| 胃绞疼是什么原因| 附件炎吃什么药| 五心烦热吃什么中成药| 左胸下方是什么部位| 皮肤黑穿什么颜色的衣服| 梦见胎死腹中预示什么| 磨牙缺什么| 艾斯挫仑是什么药| syp是什么意思| 西葫芦不能和什么一起吃| 吃什么祛痰化痰最有效| 阴蒂是什么| 武夷山岩茶属于什么茶| 疼风是什么原因引起的| 收缩压是什么| 包菜是什么菜| 眼睛干涩用什么药效果好| 万条垂下绿丝绦是什么季节| 胸口长痘痘是什么原因| 先期是什么意思| 海纳百川什么意思| 侄子叫我什么| 什么食物含牛磺酸| aki是什么意思| 百度
Jump to content

卢沟诗社获评第三届诗歌春晚全国“十佳诗社”

From ArchWiki
Highlight AUR helpers exists as an alternative
Tag: Reverted
Undo revision 747597 by CosmosAtlas (talk) irrelevant to the article and unsupported means of accessing the AUR
Tag: Undo
Line 132: Line 132:
{{Note|The {{Grp|base-devel}} group of packages is required to build packages from the AUR or with the [[ABS]].}}
{{Note|The {{Grp|base-devel}} group of packages is required to build packages from the AUR or with the [[ABS]].}}


In practice, many users turn to [[AUR helpers]] to facilitate with the process. Consult the [[Arch User Repository]] for detailed explanations and best practices to deal with AUR packages.
The [[Arch User Repository]] article contains all the detailed explanations and best practices to deal with AUR packages.


== Control of systemd units ==
== Control of systemd units ==

Revision as of 19:24, 20 September 2022

Because the vast majority of the ArchWiki contains indications that may need clarification for users new to Arch Linux (or GNU/Linux in general), this rundown of basic procedures was written both to avoid confusion in the assimilation of the articles and to deter repetition in the content itself.

Organization

Most articles on the ArchWiki do not attempt to provide a holistic introduction to a single topic; they are instead written in adherence to the DRY principle, under the assumption that the user will seek out and read any supporting material that they do not yet understand. Where possible, such supporting material is indicated in the article via special formatting, see #Formatting.

Because of this organization, it may be necessary to examine several related sources in order to fully understand an ArchWiki article. In particular, users who are new to Arch (or GNU/Linux in general) should expect to end up reading a great number of articles even when solving simple problems. It is especially important to study the supporting material before seeking additional help from other users.

Formatting

Regular user or root

Some lines are written like so:

# mkinitcpio -p linux

Others have a different prefix:

$ makepkg -s

The numeral or hash sign (#) indicates that the command needs to be run as root, whereas the dollar sign ($) shows that the command should be run as a regular user.

Note The commands prefixed with # are intended to be executed from a root shell, which can for example be easily accessed with sudo -i. Running sudo command from an unprivileged shell instead of command from a root shell will also work in most cases, with some notable exceptions such as redirection and command substitution, which strictly require a root shell. See also sudo.

A notable exception to watch out for:

# This alias makes ls colorize the listing
alias ls='ls --color=auto'

In this example, the context surrounding the numeral sign communicates that this is not to be run as a command; it should be edited into a file instead. So in this case, the numeral sign denotes a comment. A comment can be explanatory text that will not be interpreted by the associated program. Bash scripts denotation for comments happens to coincide with the root PS1.

After further examination, "give away" signs include the uppercase character following the # sign. Usually, Unix commands are not written this way and most of the time they are short abbreviations instead of full-blown English words (e.g., Copy becomes cp).

Regardless, most articles make this easy to discern by notifying the reader:

Append to ~/path/to/file:

# This alias makes ls colorize the listing
alias ls='ls --color=auto'

Append, add, create, edit

When prompted to append to, add to, create, or edit one or more files, it is implied that you should use one of the following methods.

To create or modify multiline files it is suggested to use a text editor. For example, using the nano command to edit the file /etc/bash.bashrc is:

# nano /etc/bash.bashrc

To create or overwrite a file from a string it may be simpler to use output redirection. The following example creates or overwrites the contents of the file /etc/hostname with the text myhostname.

# echo myhostname > /etc/hostname

Output redirection can also be used to append a string to a file. The following example appends the text [custom-repo] to the file /etc/pacman.conf.

# echo "[custom-repo]" >> /etc/pacman.conf

When prompted to create directories, use the mkdir command:

# mkdir /mnt/boot

Make executable

After creating a file, if it is meant to be run as a script (whether manually or called by another program) it needs to be set as executable, for example with:

$ chmod +x script

See chmod. Some applications such as file managers may provide graphical interfaces to do the same.

Source

Some applications, notably command-line shells, use scripts for their configuration: after modifying them, they must be sourced in order for the changes to be applied. In the case of bash, for example, this is done by running (you can also replace source with .):

$ source ~/.bashrc

When the wiki suggests modifying such a configuration script, it will not explicitly remind you to source the file, and only in some cases will it point to this section with a reminder link.

Installation of packages

When an article invites you to install some packages in the conventional way, it will not indicate the detailed instructions to do so, instead it will simply mention the names of the packages to be installed.

Note Frequently, the install or installed links are used to point to this article section. However, JavaScript has to be enabled for these links to work.

The subsections below give an overview of the generic installation procedures depending on the package type.

Official packages

For packages from the official repositories you will read something like:

Install the foobar package.

This means that you have to run:

# pacman -S foobar

The pacman article contains detailed explanations to deal with package management in Arch Linux proficiently.

Arch User Repository

For packages from the Arch User Repository (AUR) you will read something like:

Install the foobarAUR package.

This means that in general you have to follow the foobarAUR link, download the PKGBUILD archive, extract it, verify the content and finally run, in the same folder:

$ makepkg -si
Note The base-devel group of packages is required to build packages from the AUR or with the ABS.

The Arch User Repository article contains all the detailed explanations and best practices to deal with AUR packages.

Control of systemd units

When an article invites to start, enable, stop or restart some systemd units (e.g. a service), it will not indicate the detailed instructions to do so, but instead you will read something like:

Start example.service.

This means that you have to run:

# systemctl start example.service

The start link will lead you to the systemd article, which contains all the detailed explanations to deal with systemd units in Arch Linux proficiently.

Note The start, enable, stop, restart... links are redirects to specific sections, which work only if JavaScript is enabled.

System-wide versus user-specific configuration

It is important to remember that there are two different kinds of configurations on a GNU/Linux system. System-wide configuration affects all users. Since system-wide settings are generally located in the /etc directory, root privileges are required in order to alter them. For example, to apply a Bash setting that affects all users, /etc/bash.bashrc should be modified.

User-specific configuration affects only a single user. Dotfiles are used for user-specific configuration. For example, the file ~/.bashrc is the user-specific configuration file. The idea is that each user can define their own settings, such as aliases, functions and other interactive features like the prompt, without affecting other users' preferences.

Note ~/ and $HOME are shortcuts for the user's home directory, usually /home/username/.

Common shell files

Bash and other Bourne-compatible shells, such as Zsh, also source files depending on whether the shell is a login shell or an interactive shell. See Bash#Configuration files and Zsh#Startup/Shutdown files for details.

Pseudo-variables in code examples

Some code blocks may contain so-called pseudo-variables, which, as the name says, are not actual variables used in the code. Instead they are generic placeholders and have to be manually replaced with system-specific configuration items before the code may be run or parsed. Common shells such as bash and zsh provide tab-completion to auto-complete parameters for common commands such as systemctl.

In the articles that comply with Help:Style/Formatting and punctuation, pseudo-variables are formatted in italics. For example:

  • Enable the dhcpcd@interface_name.service for the network interface identified from the output of the ip link command.

In this case interface_name is used as a pseudo-variable placeholder in a systemd template unit. All systemd template units, identifiable by the @ sign, require a system-specific configuration item as argument. See Systemd#Using units.

  • The command dd if=data_source of=/dev/sdX bs=sector_size count=sector_number seek=partitions_start_sector can be run as root to wipe a partition with the specific parameters.

In this case the pseudo-variables are used to describe the parameters that must be substituted for them. Details on how to gather them are elaborated on in the section Securely wipe disk#Calculate blocks to wipe manually, which features the command.

This article or section needs expansion.

Reason: Mention other examples, ideally from other device categories (e.g. storage), with links to background articles. The examples are meant to avoid duplicating existing explanations in other articles. (Discuss in Help talk:Reading)

In case of file examples, pasting pseudo-variables in real configuration files might break the programs that use them.

Ellipses

In most cases ellipses (...) are not part of the actual file content or code output, and instead represent omitted or optional text that is not relevant for the discussed subject.

For example HOOKS="... encrypt ... filesystems ..." or:

/etc/X11/xorg.conf.d/50-synaptics.conf
Section "InputClass"
    ...
    Option      "CircularScrolling"          "on"
    Option      "CircScrollTrigger"          "0"
    ...
EndSection

Be aware though that, in a few instances, ellipses may be a meaningful part of the code syntax: attentive users will be able to easily recognize these cases by the context.

睾酮素低了有什么症状 流口水是什么病的前兆 发霉是什么菌 什么是潮热症状 芒硝是什么东西
子宫外怀孕有什么症状 少一个肾有什么影响 寻找什么 胸闷气短是什么原因造成的 流金是什么字
总维生素d偏低会导致什么 bf是什么牌子 一条什么 女人梦到蛇预示着什么 胃溃疡适合吃什么水果
rna是什么意思 半身不遂的前兆是什么症状 氯吡格雷是什么药 什么是直系亲属 浇头是什么意思
高枕无忧是什么意思hcv8jop6ns0r.cn 摸摸唱是什么意思hcv8jop4ns0r.cn 严惩不贷是什么意思hcv9jop3ns7r.cn 透析到什么程度会死亡hcv9jop8ns0r.cn 脚底发麻是什么原因dayuxmw.com
痛经是什么hcv9jop3ns3r.cn 海娜是什么wuhaiwuya.com a型熊猫血是什么血型sanhestory.com 化痰止咳吃什么药最好0735v.com 什么水果泡酒最好喝hcv8jop2ns3r.cn
沙棘有什么作用bjcbxg.com hpv初期有什么症状女性hcv8jop9ns2r.cn 嗳气什么意思fenrenren.com 含胸是什么意思hcv8jop0ns4r.cn 水蛭是什么动物wuhaiwuya.com
胃肠型感冒吃什么药hcv9jop0ns1r.cn 尿液粉红色是什么原因gysmod.com ieg是什么意思hcv9jop2ns3r.cn 阎王是什么意思hcv8jop6ns0r.cn gn是什么单位xinjiangjialails.com
百度