Can yum tell me which of my repositories provide a particular package?

yum list packagename That will show from which repository the package is in the third column of the output. For already installed packages, that won’t work, as the third column shows just installed. In that case you can do e.g. rpm -qi packagename, typically the Vendor, Packager and Build Host tags will give an indication … Read more

Duplicate Package – update / upgrade – Centos

For me it looks like you rebooted your computer (or it crashed) while you where in the process of upgrading packages. So new packages where installed, but old packages where not removed. First look if you have any uncomplete transactions with: yum-complete-transaction If this doesn’t help then take a look at the package-cleanup tool which … Read more

YumRepo Error: All mirror URLs are not using ftp, http[s] or file

Be sure that you can ping vault.centos.org. Then edit /etc/yum.repos.d/CentOS-Base.repo Comment out mirrorlist and uncomment baseurl Change all baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ to baseurl=http://vault.centos.org/$releasever/centosplus/$basearch/ And enjoy your yum update!!! 😉

How to install maven on redhat linux

Go to mirror.olnevhost.net/pub/apache/maven/binaries/ and check what is the latest tar.gz file Supposing it is e.g. apache-maven-3.2.1-bin.tar.gz, from the command line; you should be able to simply do: wget http://mirror.olnevhost.net/pub/apache/maven/binaries/apache-maven-3.2.1-bin.tar.gz And then proceed to install it. UPDATE: Adding complete instructions (copied from the comment below) Run command above from the dir you want to extract maven … Read more