当前位置:网站首页>Software download method

Software download method

2022-06-21 07:29:00 redhat_ xi

epel Warehouse provides additional software packages , But in rhel The default package repository is not available , Need to install epel rpm package , build epel Warehouse .

So download one epel

Baidu search :epel for rhel8 Find the web address corresponding to this package

wget download :

[[email protected] ~]# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
--2022-02-16 10:50:02--  https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 38.145.60.24, 38.145.60.23, 38.145.60.22
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|38.145.60.24|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23000 (22K) [application/x-rpm]
Saving to: ‘epel-release-latest-8.noarch.rpm’

epel-release-latest-8.noarch.rpm                     100%[=====================================================================================================================>]  22.46K  73.5KB/s    in 0.3s    

2022-02-16 10:50:05 (73.5 KB/s) - ‘epel-release-latest-8.noarch.rpm’ saved [23000/23000]

rpm -ivh install

After installation , see

[[email protected] ~]# cd /etc/yum.repos.d/
[[email protected] yum.repos.d]# ls
epel-modular.repo  epel-testing-modular.repo  xizi.repo
epel.repo          epel-testing.repo
[[email protected] yum.repos.d]# cat epel-modular.repo

direct dnf When searching and installing , Will not be saved in the system , If you want to save it now , The marked plug-in needs to be installed :

Installing a plug-in :

[[email protected] yum.repos.d]# dnf install yum-utils.noarch -y

After installation , There is... In the system yumdownloader This command , You can download

[[email protected] yum.repos.d]# yumdownloader kolourpaint.x86_64

see

[[email protected] yum.repos.d]# ls
epel-modular.repo          epel-testing.repo
epel.repo                  kolourpaint-21.08.3-1.el8.x86_64.rpm
epel-testing-modular.repo  xizi.repo

( Under what to download , Just somewhere )

Do not want to download to the current , The following instruction means to download the installation package of the specified software in the warehouse to the specified /mnt Catalog

yumdownloader --destdir=/mnt

  Download the software installation package and software dependencies specified in the repository to /mnt Catalog

yumdownloader --destdir=/mnt kolourpaint.x86_64 --resolve

原网站

版权声明
本文为[redhat_ xi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202221515083010.html