N
N
nihi1ist2020-12-17 07:24:04
CentOS
nihi1ist, 2020-12-17 07:24:04

Is it possible to add repositories manually in CentOS?

I mainly use Debian. There was a bit of free time and decided to start learning CentOS. And the question immediately arose: Is it possible to add repositories and keys manually, as in Debian? For example, the same Zabbix. The documentation on the official website suggests simply installing the package. But I'm interested in the manual way.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
CityCat4, 2020-12-17
@CityCat4

Of course you can.
/etc/yum.repos.d - turnip description files are placed here
/etc/pki/rpm-gpg - keys here
on the epel website, for example, you can find turnip installation instructions and even a ready-made rpm package

S
Sanes, 2020-12-17
@Sanes

Installation from the repository
Everything is there.

A
Alexey Dmitriev, 2020-12-17
@SignFinder

You can manually - but if the repository is intended for rhel\centos - it usually contains a *release*.rpm file. You
can install it and it will pull up the required repository config for you and possibly even install the key.
For zabbix it sounds like
rpm -Uvh https://repo.zabbix.com/zabbix/5.2/rhel/7/x86_64/z...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question