當前位置:編程學習大全網 - 網絡軟體 - pacman的配置

pacman的配置

Pacman的配置文件位於/etc/pacman.conf。關於配置文件的進壹步信息可以用man pacman.conf 查看。

常用選項

常用選項都在[options]段。閱讀man手冊或者查看缺省的pacman.conf可以獲得有關信息和用途。

軟件倉庫

妳可以在/etc/pacman.conf和/etc/pacman.d/裏定義使用哪些倉庫。它們可以直接在裏面定義或者從其它文件裏包含進來。下面例子中使用官方軟件倉庫,用 mirrorlist 設定鏡像的壹個範例。

所有官方軟件倉庫都使用同壹個包含了'$repo' 的 /etc/pacman.d/mirrorlist文件,因此只需要維護壹個列表。其中mirrorlist的修改與維護可參見Archlinux的官方wiki [core]#Addyourpreferredservershere,theywillbeusedfirstInclude=/etc/pacman.d/mirrorlist[extra]#Addyourpreferredservershere,theywillbeusedfirstInclude=/etc/pacman.d/mirrorlist[community]#Addyourpreferredservershere,theywillbeusedfirstInclude=/etc/pacman.d/mirrorlist註意:使用testing和unstable倉庫的時候要謹慎。

  • 上一篇:丁日昌與丁汝昌有什麽關系
  • 下一篇:作文《新的壹頁》600至九百字
  • copyright 2024編程學習大全網