散仙是什么意思| 排卵期是在什么时候| 脱节是什么意思| 月经有点黑是什么原因| 朝朝暮暮是什么意思| 杜甫是什么主义诗人| 骸骨是什么意思| 为什么突然长痣| 李健为什么退出水木年华| 梦见网鱼是什么征兆| 梦见大领导有什么预兆| 风调雨顺的下联是什么| 乳腺点状强回声是什么意思| 辰寅卯是什么生肖| 右脚后跟疼是什么原因| 脚气是什么| 母亲节送妈妈什么好| 冰袋里面装的是什么| 早餐吃什么不会胖| 乙肝五项45阳性是什么意思| 摆摊卖什么好| 排湿气最快的方法吃什么| 癞子是什么意思| 养胃吃什么水果| 胆结石切除胆囊后有什么影响| 牛筋草用什么除草剂| 右肺下叶纤维灶是什么意思| 吃什么养肝护肝效果最好| 为什么男生喜欢女生叫爸爸| 小孩热感冒吃什么药好| 灰指甲不治疗有什么后果| 蒲地蓝消炎片主治什么| 忧思是什么意思| 倒反天罡是什么意思| 山莨菪碱为什么叫6542| 子宫内膜增厚是什么原因引起的| 1945年属什么| 慢性非萎缩性胃炎吃什么药效果好| 总是想吐是什么原因| 401什么意思| 傻人有傻福什么意思| 11月9日什么星座| 澳大利亚人说什么语言| 太平猴魁属于什么茶| bm是什么牌子| 朱元璋长什么样| 为什么不建议治疗幽门螺杆菌| 正常白带是什么样子| 酸奶对人体有什么好处| 殚精竭虑什么意思| 血小板聚集是什么意思| 肠炎发烧吃什么药| 什么伤肝| 伸筋草主治什么病| 查宝宝五行八字缺什么| 一级法官是什么级别| 农村养殖什么好| 谷丙转氨酶是检查什么| ab什么意思| db是什么意思| 身上发冷是什么原因| 护理是什么意思| 左侧小腹疼是什么原因| 梦见龙卷风是什么预兆| 鹅拉绿色粪便是什么病| 什么是公历年份| 乙肝表面抗体阴性是什么意思| 高血压变成低血压是什么原因| 稳是什么意思| 春天开什么花| 女生被操是什么感觉| 双侧乳腺小叶增生是什么意思| 血糖高了会有什么危害| 阵雨是什么意思| 胎盘长什么样子图片| 中国属于什么人种| 裸婚什么意思| 血清铁低是什么原因| 美元长什么样子图片| 什么是牛黄| 哮喘吃什么药最有效| 女性吃金蝉有什么好处| 肝脏在什么位置图片| 心火旺吃什么药效果最好| 葫芦藓是什么植物| 衣柜放什么代替樟脑丸| 窦性心律不齐是什么意思| 韧带拉伤有什么症状| 武松打的是什么虎| 梦见自己坐车是什么意思| 老花眼有什么办法可以恢复| 世界上最大的生物是什么| 北是什么生肖| sy什么意思| 领盒饭是什么意思| 王林为什么叫王麻子| 月经前尿频是什么原因| 鱼鳞云代表什么天气| 孕早期需要注意什么| 精华液是干什么用的| 壁虎在家里是什么征兆| 向日葵什么时候采摘| 京酱肉丝用什么肉| 头发变棕色是什么原因| 抓包是什么意思| 茹什么饮什么| 脖子上长扁平疣是什么原因| 三个鬼念什么| 原发性高血压什么意思| 胃火旺喝什么茶| 小腿肿胀是什么原因引起的| 什么人不宜吃海参| 什么时候可以考研| 雅漾属于什么档次| 四十属什么| 吃什么食物能补钾| 车厘子什么季节吃| 5月8日什么星座| 菠菜什么时候传入中国| 梦见织毛衣是什么意思| 先天性心脏病最怕什么| 超声诊断科是做什么的| 胆碱酯酶偏高说明什么| 纪年是什么意思| 9.7号是什么星座| 风声鹤唳的意思是什么| 什么血型和什么血型不能生孩子| 什么玩意儿| 氯雷他定什么时候吃| 貘是什么动物| 生育津贴什么时候到账| 肚子大什么原因| 小孩表演后卸妆用什么| 渡人是什么意思| 区块链技术是什么| 为什么糙米越吃血糖越高| 皮肤有白点是什么原因| 泡鲁达是什么| 西柚是什么季节的水果| 奶奶过生日送什么礼物| 怀不上孕是什么原因| 打脸是什么意思| 葛根和什么搭配泡水好| 低血压食补吃什么最快| 活化部分凝血活酶时间偏高是什么意思| 痛风是什么原因造成的| 甲状腺发炎有什么症状| 什么动物跑得快| 孩子睡觉流口水是什么原因| 行动派是什么意思| 宝宝体检挂什么科| salomon是什么牌子| 什么的歌声| 什么病不能吃鸡蛋| 龟奴是什么| 普洱属于什么茶| 韬光养晦下一句是什么| 3.7号是什么星座| 感冒吃什么消炎药效果好| 提辖相当于现在什么官| 大材小用是什么生肖| 哺乳期吃什么食物好| 右手手背有痣代表什么| 喉咙有痰是什么原因| 家什是什么意思| 阿尔兹海默症吃什么药| ii是什么意思| 静待佳音什么意思| 前额头疼是什么原因引起的| x表示什么| 早泄吃什么药| 慢热型是什么意思| rpr阴性是什么意思| 满月红鸡蛋用什么染| 烤麸是什么做的| 手机暂停服务是什么意思| 舅舅和外甥女是什么关系| 小便带血是什么原因女性| 南方有什么生肖| 男人血精是什么原因造成的| 理数是什么意思| 乳腺增生不能吃什么食物| 蒙脱石散不能和什么药一起吃| 耳石症有什么症状| 前列腺按摩什么感觉| 为什么脸上长痣越来越多| 画画用什么铅笔| 欧莱雅属于什么档次| 男人时间短什么原因| 膝盖骨质增生用什么药效果好| 肚脐眼周围痛什么原因| 黄花梨树长什么样| 外周动脉僵硬度增高什么意思| 咳嗽挂什么科室| 星辰大海是什么意思| 小腹痛男性什么原因| 我们都没错只是不适合是什么歌| 什么排球好| 中国的国花是什么| 多梦是什么原因造成的| 竹鼠吃什么| 明天是什么| 猎奇是什么意思| 有心无力是什么意思| 头晕脑胀吃什么药| ak是什么| 脂肪肝吃什么药| 腿肿脚肿是什么病的前兆| 肺气虚吃什么药| 宝宝胎动频繁说明什么| 2月是什么星座的| 有生之年什么意思| 野茶属于什么茶| 17楼五行属什么| 淡然自若的意思是什么| 吴用的绰号是什么| 拔罐对身体有什么好处和坏处| 钟点房是什么意思| 高铁列车长是什么级别| 酗酒是什么意思| 春天有什么水果| 宫颈柱状上皮外移是什么意思| m样症状是什么| itp是什么病的简称| 活泼的反义词是什么| 梦见杀猪是什么意思| 多动症看什么科室| 吃了避孕药后几天出血是什么原因| 胰腺检查做什么检查| 天字加一笔是什么字| 乌龟吃什么水果| 婚检女性检查什么项目| 梦见剪指甲是什么意思| 精子是什么味道的| 排卵期一般是什么时候| 骑马野战指什么生肖| 宇宙的尽头是什么| 耳后有痣代表什么| 梦见好多猪肉是什么意思| 撒丫子是什么意思| 脱氧核糖是什么| 皮肤黑的人穿什么颜色的衣服好看| 蹭饭是什么意思| cll是什么意思| 玉髓是什么| 胡萝卜不能和什么一起吃| 小儿舌苔白厚什么原因| 被孤立的一般是什么人| 尿液粉红色是什么原因| 热敷眼睛有什么好处| 尿葡萄糖阴性什么意思| 检查包皮挂什么科| 手机合约版是什么意思| tct是检查什么的| 灿字五行属什么| 公司监事是干什么的| 晚上咳嗽什么原因| 什么是木薯| 苯醚甲环唑防治什么病| 虾跟什么不能一起吃| 家庭教育是什么| 全身皮肤痒是什么原因| 为什么会肌酐高| 男人梦到蛇预示着什么| 百度
Jump to content

“国际人类表型组计划(一期)”项目在上海启动-时事中国-时政频道-中工网

From ArchWiki
Motolly (talk | contribs)
m Motolly moved page Help:Reading-Guide to Help:Reading over redirect
Casered (talk | contribs)
m Refer to 'base-devel' as a meta package and hint that not all of its dependencies are always *strictly* required
Line 132: Line 132:
? $ makepkg -si
? $ makepkg -si


{{Note|The {{Grp|base-devel}} group of packages is required to build packages from the AUR or with the [[ABS]].}}
{{Note|All dependencies of the {{Pkg|base-devel}} meta package are required (i.e. assumed to have been already installed) when building 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.
The [[Arch User Repository]] article contains all the detailed explanations and best practices to deal with AUR packages.

Revision as of 22:21, 4 July 2023

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 "Don't Repeat Yourself" 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 All dependencies of the base-devel meta package are required (i.e. assumed to have been already installed) when building 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 systemd article contains all the detailed explanations to interact with systemd units in Arch Linux proficiently.

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.

感想是什么意思 来大姨妈喝什么最好 怀孕三个月吃什么对胎儿好 内膜是什么 折耳根是什么东西
焦俊艳和焦恩俊是什么关系 左边是心脏右边是什么 增肌是什么意思 自性是什么意思 朱元璋是什么生肖
泽什么意思 245是什么意思 我好想你是什么歌 辛酉日五行属什么 翕什么意思
惊蛰是什么意思 案例是什么意思 饺子都有什么馅 什么虫子咬了像针扎一样疼 皮草是什么意思
灰指甲用什么药好hcv8jop3ns1r.cn 什么是坏血病hcv8jop5ns5r.cn 太子龙男装什么档次hcv9jop1ns3r.cn 胃溃疡吃什么食物好hcv8jop5ns8r.cn 小腿经常抽筋是什么原因hcv8jop6ns8r.cn
肚子胀气吃什么食物dayuxmw.com 脸油油的是什么原因hcv8jop3ns0r.cn 红斑狼疮复发的症状是什么hkuteam.com 告加鸟念什么zhongyiyatai.com 李子什么时候吃最好hcv8jop5ns1r.cn
八字带什么的长寿hcv9jop1ns5r.cn 瘦马是什么意思hcv8jop1ns2r.cn 夫妻都是a型血孩子是什么血型hcv8jop6ns4r.cn 猴子属于什么类动物xinmaowt.com 女人裹脚是从什么时候开始的hcv8jop8ns0r.cn
肝内脂肪浸润是什么意思hcv8jop2ns7r.cn 肠胃炎发烧吃什么药hcv8jop3ns0r.cn 姊妹什么意思hcv8jop6ns5r.cn ccb是什么hcv9jop3ns8r.cn 更年期综合症吃什么药hcv9jop1ns5r.cn
百度