
.txt 파일에 모든 Fedora 패키지 목록이 있고 이러한 모든 패키지의 프로젝트 URL과 프로젝트 다운로드 URL을 검색하고 싶습니다.
이 명령은 dnf info <package>
최신 버전의 패키지를 다운로드하는 데 사용할 수 있는 다운로드 URL을 생성합니다. 예는 다음과 같습니다:
Last metadata expiration check: 1:33:08 ago on Tue Aug 9 12:58:18 2022.
Installed Packages
Name : alternatives
Version : 1.19
Release : 2.fc36
Architecture : x86_64
Size : 62 k
Source : chkconfig-1.19-2.fc36.src.rpm
Repository : @System
From repo : anaconda
Summary : A tool to maintain symbolic links determining default commands
URL : https://github.com/fedora-sysv/chkconfig
License : GPLv2
Description : alternatives creates, removes, maintains and displays information about the
: symbolic links comprising the alternatives system. It is possible for several
: programs fulfilling the same or similar functions to be installed on a single
: system at the same time.
하지만 실제 진행 중인 프로젝트 자체의 URL을 얻고 싶습니다. 이를 수행하는 쉬운 방법이 있습니까? 도움을 주시면 대단히 감사하겠습니다!
다른 예시:
Name : audit-libs
Version : 3.0.8
Release : 1.fc36
Architecture : x86_64
Size : 299 k
Source : audit-3.0.8-1.fc36.src.rpm
Repository : @System
From repo : anaconda
Summary : Dynamic library for libaudit
URL : http://people.redhat.com/sgrubb/audit/
License : LGPLv2+
Description : The audit-libs package contains the dynamic libraries needed for
: applications to use the audit framework.
답변1
URL
필드에 제공된 URL예"진행 중인 프로젝트"의 URL:https://github.com/fedora-sysv/chkconfigchkconfig
호스팅 위치 이며http://people.redhat.com/sgrubb/audit/감사가 진행되는 곳입니다. URL에는 각각 Fedora 전용 페이지와 Red Hat 전용 페이지가 표시되어 있지만 실제로는 프로젝트 페이지입니다. 예를 들어 URL을 다른 프로젝트의 참조와 비교할 수 있습니다.데비안 감사 패키지도 지적했다http://people.redhat.com/sgrubb/audit/("홈" 링크를 찾으세요).
다른 패키지에서는 이를 더욱 명확하게 고려할 수 있습니다.
$ dnf info libevdev
Available Packages
Name : libevdev
Version : 1.10.0
Release : 1.el8
Architecture : i686
Size : 43 k
Source : libevdev-1.10.0-1.el8.src.rpm
Repository : rhel-8-for-x86_64-appstream-rpms
Summary : Kernel Evdev Device Wrapper Library
URL : http://www.freedesktop.org/wiki/Software/libevdev
License : MIT
Description : libevdev is a library to wrap kernel evdev devices and provide a proper API
: to interact with those devices.
이는 다음을 가리킨다.libevdev
FDO 페이지, 또는
$ dnf info gcc
Installed Packages
Name : gcc
Version : 8.5.0
Release : 10.1.el8_6
Architecture : x86_64
Size : 59 M
Source : gcc-8.5.0-10.1.el8_6.src.rpm
Repository : @System
From repo : rhel-8-for-x86_64-appstream-rpms
Summary : Various compilers (C, C++, Objective-C, ...)
URL : http://gcc.gnu.org
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Description : The gcc package contains the GNU Compiler Collection version 8.
: You'll need this package in order to compile C code.
이는 다음을 가리킨다.GCC 프로젝트 페이지.