The yum repos are described in files which are stored in /etc/yum.repos.d/ . So if you want to remove a yum repo you just gotta go to that dir and remove the file in question. It’s more or less obvious why one would want to add a new repo (to get stuff from it!) but […]
package managers
How to uninstall the old kernels in Ubuntu (and grub)
How can we remove the unused linux kernels and at the same time have our boot configuration (grub’s entries in the grub cfg menu) updated? First we want to list all the kernel-related packages, like linux-image and linux-headers, linux-generic, etc: $ dpkg -l linux-* On my 10.04 Ubuntu system the above command results in the […]
How do I add a new RPM/yum repo in Fedora
To enable a new RPM (yum) repository add a new .repo file for it under /etc/yum.repos.d. For example, to add a repository to install google’s Chrome browser add a file (e.g. google.repo) in the /etc/yum.repos.d directory and copy the following into it: [google-chrome] name=google-chrome – 64-bit baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub You may also append the […]
What files comprise an RPM package? Which package a file belongs to?
If you want to find the relationship between files on your system and RPM packages (which one owns/belongs-to which) then this page will be of help to you. 1. Contents of an RPM package 1.1.1. This RPM command will show you the contents of a package which is already installed on your system: rpm -ql […]