Difference between revisions of "Arch User Repository/zh-cn"

Created page with "'''同样,也不能保证任何已安装的软件都能正常工作(如果你已经安装了的话)。'''"
(Created page with "'''同样,也不能保证任何已安装的软件都能正常工作(如果你已经安装了的话)。'''")
Line 5: Line 5:
尽管 Manjaro 和Arch Linux 很像,并且 Manjaro 就基于它,但在 Manjaro 中访问他们的官方仓库以供使用是不可能的。Manjaro会使用自己的仓库以保证任何软件包都是可访问的且经过实验确保稳定的,例如系统更新和应用程序。但从 '''[https://wiki.archlinux.org/index.php/AUR Arch 用户软件仓库]'''(AUR)安装更多的软件包是可能的。  
尽管 Manjaro 和Arch Linux 很像,并且 Manjaro 就基于它,但在 Manjaro 中访问他们的官方仓库以供使用是不可能的。Manjaro会使用自己的仓库以保证任何软件包都是可访问的且经过实验确保稳定的,例如系统更新和应用程序。但从 '''[https://wiki.archlinux.org/index.php/AUR Arch 用户软件仓库]'''(AUR)安装更多的软件包是可能的。  


The AUR is managed by the Arch Linux user community itself. Although this repository is unofficial, software packages first placed here can eventually make their way into Arch Linux's official (community) repository if they become popular enough.
AUR是由 Arch Linux 用户社区管理的。尽管这个仓库是非官方的,但如果仓库中的软件包足够受欢迎,那么最终是可以进入 Arch Linux 的官方 community 库的。


'''AUR, as a community maintained repository, present potential risks and problems.'''  
'''AUR作为社区维护的仓库,存在潜在的风险和问题。'''  


Possible risks using AUR packages:
使用 AUR 软件包可能会出现的问题:


* Multiple versions of the same packages.
* 同一个软件包会有两个版本
* Out of date packages.
* 软件包会过时
* Broken or only partially working packages.
* 软件包无法使用或只有部分功能可用
* Improperly configured packages which download unnecessary dependencies, or do not download necessary dependencies, or both.
* 错误配置的软件包会下载不必要的依赖,或不下载必要的依赖(两种可能同时出现)
* Malicious packages (although extremely rare).
* 遇到恶意的软件包(尽管很罕见)。


As such, although much of the software packages provided by the AUR should work, do not expect the installation process to always be quite as straight-forward as when you are using the official Manjaro repositories.
因此,尽管 AUR 提供的许多软件包都应该可以工作,但不要期望安装过程总是像使用 Manjaro 官方仓库时那样简单。


On occasion, it may be necessary to manually identify and install dependencies yourself (such as, after an aborted installation attempt).
有些时候,自己可能需要识别并安装依赖(例如安装中断后)。


'''Again, there is no guarantee that any installed software will work properly, if at all.'''
'''同样,也不能保证任何已安装的软件都能正常工作(如果你已经安装了的话)。'''


{{Important|You should become familiar with the manual build process in order to be prepared to troubleshoot problems.}}
{{Important|您应该熟悉手动编译过程,以便做好故障排除的准备。}}


==Accessing the AUR==
==访问 AUR==
===Using GUI [[Pamac]]===
===使用带有 GUI [[Pamac]]===
Open Pamac - the name in menu is ''Add/Remove Software'' and navigate to the Preferences page. You will be required to enter your password to access it.At Preferences page → select the Third Party tab → and move the slider to enable AUR support. Be sure you have the necessary files for building applications from source
打开 Pamac ——在启动器中的名字叫做“添加/删除软件”——然后转到首选项页面。您需要输入密码以访问。选择第三方选项卡,然后打开 AUR 支持。请确保你有必要的程序从源代码编译应用程序
{{UserCmd|command=pamac install base-devel git}}
{{UserCmd|command=pamac install base-devel git}}


21

edits