Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

List installed reposoitories:

sudo dnf repolist

Edit repo files: either use dnf config-manager, or manually edit/delete repo files located in /etc/yum.repos.d/

List installed reposoitories:

sudo dnf repolist

Edit repo files: either files:

  • use dnf config-manager, or i.e. to delete: sudo dnf config-manager --set-disabled <reponame>

or

  • manually edit/delete repo files located in /etc/yum.repos.d/

I also recommend you reading this article from Fedora Magazine, it explains pretty well the most common functions

List installed reposoitories:

sudo dnf repolist

Edit repo files:Activate/deactivate repositories:

  • use dnf config-manager, i.e. to delete: disable: sudo dnf config-manager --set-disabled <reponame>

or

  • manually edit/delete repo files located in /etc/yum.repos.d/ (open them as root in your favorite text editor)

I also recommend you reading this article from Fedora Magazine, it explains pretty well the most common functions