centos7 시스템에서 Gauge를 다운로드해 보세요.

centos7 시스템에서 Gauge를 다운로드해 보세요.

Centos7 Docker에서 Gauge를 다운로드하려고 합니다. sudo yum install Gauge를 시도했지만 다음 오류가 발생했습니다.

Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: centos.spd.co.il
 * extras: centos.spd.co.il
 * updates: centos.spd.co.il
No package gauge available.
Error: Nothing to do

이전에 yum clean all 및 yum update -y를 실행했는데 이 오류를 수정하고 Gauge를 설치하는 방법에 도움이 되지 않았습니까? 감사해요

내 버전의 yum:

3.4.3
  Installed: rpm-4.11.3-45.el7.x86_64 at 2021-04-25 11:19
  Built    : CentOS BuildSystem <http://bugs.centos.org> at 2020-09-30 17:30
  Committed: Michal Domonkos <[email protected]> at 2020-06-02

  Installed: yum-3.4.3-168.el7.centos.noarch at 2021-06-21 06:54
  Built    : CentOS BuildSystem <http://bugs.centos.org> at 2020-10-01 17:03
  Committed: CentOS Sources <[email protected]> at 2020-09-29

  Installed: yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch at 2021-06-21 06:54
  Built    : CentOS BuildSystem <http://bugs.centos.org> at 2020-05-12 16:27
  Committed: Michal Domonkos <[email protected]> at 2020-03-12

답변1

yum저장소를 사용하여 패키지를 찾으세요. 기본 저장소(기본 저장소, 추가 저장소, 업데이트 저장소)를 활성화했습니다. 를 실행할 때 yum install gauge" yumgauge"라는 패키지가 있는지 이러한 저장소를 확인하십시오. 해당 패키지를 찾을 수 없으므로 오류를 보고합니다.

다른 타사 도구(예: 이 도구)와 마찬가지로 공급업체의 웹사이트에서 yum 저장소가 있는지 확인해야 합니다. 내가 찾은이 파일간단한 검색을 통해 이것이 설치하려는 도구라고 가정합니다.

설명서의 지침에 따라 /etc/yum.repos.d/gauge-stable.repo다음 콘텐츠가 포함된 새 파일을 만들어야 합니다.

[gauge-stable]
name=gauge-stable
baseurl=http://dl.bintray.com/gauge/gauge-rpm/gauge-stable
gpgcheck=0
enabled=1

yum install gauge이 파일을 추가한 후 실행하면 yum이제 이 저장소에서 패키지를 찾아서 설치합니다.


yum 저장소가 작동하지 않는다는 의견에 대한 후속 조치입니다.

제가 찾은 문서는 2018년에 업데이트된 Gauge 문서 중 유지 관리되지 않은 포크인 것 같습니다.

문서의 현재 버전은 다음 위치에 있습니다.https://docs.gauge.org/. 결과적으로 Gauge에는 더 이상 yum 저장소가 제공되지 않습니다. 현재 방법은 Github에서 ZIP 파일을 다운로드하는 스크립트를 사용하여 설치하는 것입니다. 이러한 지침은 여기에서 찾을 수 있습니다.https://docs.gauge.org/getting_started/installing-gauge.html

관련 정보