Artix Linux: Arch Linux 저장소 추가, 추가 + 커뮤니티

Artix Linux 기반으로 Arch Linux 을 사용하고 운영 체제에서 pacman 과 함께 * Arch * Linux 리포지토리 중 일부가 누락된 경우 이 게시물이 유용할 수 있습니다.

Artix Linux 발표에 따르면 [extra]/[community]의 리포지토리는 기본적으로 비활성화되어 있습니다.

Artix has reached the stage where it can operate without the help of the Arch repositories, including the preparation of its installation media.

As such, all new weekly ISO images will ship without [extra], [community] and [multilib] enabled in pacman.conf.



다음은 이러한 저장소를 활성화하는 방법을 보여줍니다. 자세한 내용은 Artix official wiki 에 있습니다.

먼저 artix-archlinux-support를 설치합니다.

# pacman -Syu artix-archlinux-support


출력은 다음과 같습니다.

:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
:: Starting full system upgrade...
warning: rsync-openrc: local (20210505-2) is newer than world (20210502-1)
resolving dependencies...
looking for conflicting packages...

Packages (1) artix-archlinux-support-2-1

Total Download Size:   0.00 MiB
Total Installed Size:  0.00 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 artix-archlinux-suppo...     3.3 KiB  7.39 KiB/s 00:00 [##############################] 100%
(1/1) checking keys in keyring                          [##############################] 100%
(1/1) checking package integrity                        [##############################] 100%
(1/1) loading package files                             [##############################] 100%
(1/1) checking for file conflicts                       [##############################] 100%
(1/1) checking available disk space                     [##############################] 100%
:: Processing package changes...
(1/1) installing artix-archlinux-support                [##############################] 100%
Optional dependencies for artix-archlinux-support
    lib32-artix-archlinux-support: archlinux multilib support
:: Running post-transaction hooks...
(1/1) Show archlinux help...
==> Add the arch repos in pacman.conf:

#[testing]
#Include = /etc/pacman.d/mirrorlist-arch


[extra]
Include = /etc/pacman.d/mirrorlist-arch


#[community-testing]
#Include = /etc/pacman.d/mirrorlist-arch


[community]
Include = /etc/pacman.d/mirrorlist-arch


#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist-arch


#[multilib]
#Include = /etc/pacman.d/mirrorlist-arch

==> run: 'pacman-key --populate archlinux'


다음으로 편집pacman.conf:

# nvim /etc/pacman.conf


다음 줄을 추가하려면:

+ #[testing]
+ #Include = /etc/pacman.d/mirrorlist-arch
+ 
+ 
+ [extra]
+ Include = /etc/pacman.d/mirrorlist-arch
+ 
+ 
+ #[community-testing]
+ #Include = /etc/pacman.d/mirrorlist-arch
+ 
+ 
+ [community]
+ Include = /etc/pacman.d/mirrorlist-arch
+ 
+ 
+ #[multilib-testing]
+ #Include = /etc/pacman.d/mirrorlist-arch
+ 
+ 
+ #[multilib]
+ #Include = /etc/pacman.d/mirrorlist-arch


그런 다음 다음 명령을 실행합니다.

# pacman-key --populate archlinux


출력은 다음과 같습니다.

==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
==> Importing owner trust values...
==> Disabling revoked keys in keyring...
==> Updating trust database...
gpg: next trustdb check due at <yyyy-mm-dd>


그게 다야
이제 Deno과 같은 [extra] 또는 [community] 저장소에 패키지를 설치할 수 있습니다. :)

좋은 웹페이지 즐겨찾기