Answer the question
In order to leave comments, you need to log in
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
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
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 questionAsk a Question
731 491 924 answers to any question