Command Line Way of enabling Ubuntu software Repositories For 12.10 and above: To enable main repository, sudo add-apt-repository main To enable universe repository, sudo add-apt-repository universe To enable multiverse repository, sudo add-apt-repository multiverse To enable restricted repository, sudo add-apt-repository restricted NOTE:
Ubuntu natively uses deb packages, not rpm. yum is for the redhat rpm variant. You have to add the repo by terminal or create the repo file in the directory /etc/yum/repos.d as we find /etc/yum.repos.d/ in RHEL or CentOS but in Ubuntu it will be path /etc/yum/repos.d/ How To Install Software From The Arch Linux User Repository Sep 01, 2017 How to enable/disable Universe,Multiverse and Restricted Apr 29, 2020 How to Install PHP (7, 7.2 or 7.3) on Ubuntu – ThisHosting
Repositories/CommandLine - Community Help Wiki - Ubuntu
For the purpose of this tutorial we are only mirroring packages or repositories from archive.ubuntu.com; of course you can add other unofficial repositories in the mirror.list file in the server, but then you have to re-run apt-mirror there and edit on any client the sources.list file accordingly. Update local repository index.
Mar 13, 2017
How to list and remove PPA repository on Ubuntu 18.04 May 26, 2020 How to Add Repos to Yum in Linux - LinOxide May 15, 2011 Install EPEL Repository | Liquid Web Oct 10, 2019