SVN - Subversion을 설치하려면 어떤 저장소가 필요합니까?

SVN - Subversion을 설치하려면 어떤 저장소가 필요합니까?

SVN(Subversion)을 설치하려고 하는데 실행을 하면

$yum install svn

방금 받았어

매개변수가 일치하지 않습니다:SVN

설치하려면 어떤 저장소를 구성 및/또는 추가해야 합니까?

편집하다

이게 나의 재배치야

AppStream                                                                      CentOS-8 - AppStream                                                                                                  disabled
AppStream-source                                                               CentOS-8 - AppStream Sources                                                                                          disabled
BaseOS                                                                         CentOS-8 - Base                                                                                                       enabled: 1,697
BaseOS-source                                                                  CentOS-8 - BaseOS Sources                                                                                             disabled
PowerTools                                                                     CentOS-8 - PowerTools                                                                                                 disabled
base-debuginfo                                                                 CentOS-8 - Debuginfo                                                                                                  disabled
c8-media-AppStream                                                             CentOS-AppStream-8 - Media                                                                                            disabled
c8-media-BaseOS                                                                CentOS-BaseOS-8 - Media                                                                                               disabled
centos-8.0-updates-media-AppStream                                             CentOS-Updates-AppStream-8.0 - Media                                                                                  disabled
centos-8.0-updates-media-BaseOS                                                CentOS-Updates-BaseOS-8.0 - Media                                                                                     disabled
centosplus                                                                     CentOS-8 - Plus                                                                                                       disabled
centosplus-source                                                              CentOS-8 - Plus Sources                                                                                               disabled
cr                                                                             CentOS-8 - cr                                                                                                         disabled
*epel                                                                          Extra Packages for Enterprise Linux 8 - x86_64                                                                        enabled: 7,145
epel-debuginfo                                                                 Extra Packages for Enterprise Linux 8 - x86_64 - Debug                                                                disabled
*epel-modular                                                                  Extra Packages for Enterprise Linux Modular 8 - x86_64                                                                enabled:     0
epel-modular-debuginfo                                                         Extra Packages for Enterprise Linux Modular 8 - x86_64 - Debug                                                        disabled
epel-modular-source                                                            Extra Packages for Enterprise Linux Modular 8 - x86_64 - Source                                                       disabled
epel-playground                                                                Extra Packages for Enterprise Linux 8 - Playground - x86_64                                                           disabled
epel-playground-debuginfo                                                      Extra Packages for Enterprise Linux 8 - Playground - x86_64 - Debug                                                   disabled
epel-playground-source                                                         Extra Packages for Enterprise Linux 8 - Playground - x86_64 - Source                                                  disabled
epel-source                                                                    Extra Packages for Enterprise Linux 8 - x86_64 - Source                                                               disabled
epel-testing                                                                   Extra Packages for Enterprise Linux 8 - Testing - x86_64                                                              disabled
epel-testing-debuginfo                                                         Extra Packages for Enterprise Linux 8 - Testing - x86_64 - Debug                                                      disabled
epel-testing-modular                                                           Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64                                                      disabled
epel-testing-modular-debuginfo                                                 Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - Debug                                              disabled
epel-testing-modular-source                                                    Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - Source                                             disabled
epel-testing-source                                                            Extra Packages for Enterprise Linux 8 - Testing - x86_64 - Source                                                     disabled
extras                                                                         CentOS-8 - Extras                                                                                                     disabled
extras-source                                                                  CentOS-8 - Extras Sources                                                                                             disabled
fasttrack                                                                      CentOS-8 - fasttrack                                                                                                  disabled                                                              
teams                                                                          teams                                                                                                                 disabled
teamviewer                                                                     TeamViewer - x86_64                                                                                                   disabled

해결책

$yum install svn 명령을 활성화하고 실행하기 위해 다른 리포지토리로 하나씩 이동했기 때문에 AppStream 리포지토리를 활성화해야 하는 것 같습니다.

답변1

일반적으로 yum whatprovides어떤 패키지가 필요한지 확인할 수 있습니다.

예를 들어

% sudo yum whatprovides '/usr/bin/svn'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
subversion-1.7.14-16.el7.i686 : A Modern Concurrent Version Control System
Repo        : base
Matched from:
Filename    : /usr/bin/svn



subversion-1.7.14-16.el7.x86_64 : A Modern Concurrent Version Control System
Repo        : base
Matched from:
Filename    : /usr/bin/svn

이는 패키지 이름이 "subversion"임을 알려줍니다.

전체 경로가 확실하지 않은 경우 와일드카드(예: yum whatprovides '*/svn')를 사용할 수 있지만 이는 svn 구성 요소도 포함하는 다른 패키지(예: subversion-ruby)도 보고합니다.

답변2

svn다음을 통해 설치할 수 있습니다 .

sudo yum install subversion
sudo yum install mod_dav_svn

관련 정보