Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Introduction

The commands specified in the answers to this question and this documentation have been applied to install NCDU on Scientific using EPEL without success.

According to this documentation it should be possible to install ncdu using EPEL.

setup EPEL repo

$ sudo wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ sudo rpm -ivh epel-release-6-8.noarch.rpm
warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 060
8b895: NOKEY
Preparing...                ########################################### [100%]
        package epel-release-6-8.noarch is already installed

install ncdu

$ sudo yum install ncdu -y
Loaded plugins: security
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

Question: How to install NCDU on Scientific from EPEL?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Your approach looks correct in terms of setting up the EPEL repository and attempting to intsall NCDU. I even confirmed that hte NCDU RPM is in fact in that repository:

So this particular issue looks like it has little to do with the RPM, and more to do with the setup of the EPEL repository on your system.

The quick answer

If you just want to install NCDU you can simply do this to manually install the RPM from that repository:

$ sudo yum localinstall \
    http://ftp.linux.ncsu.edu/pub/epel/6/x86_64/ncdu-1.7-1.el6.x86_64.rpm

The long answer

If you'd like to figure out what's wrong with your YUM setup I'd first start with running the command yum clean all.

After that I'd double check that the .repo files for the EPEL repo are in fact setup correctly undre /etc/yum.repo.d/.

I'd also remove and re-install the EPEL RPM file:

$ sudo yum remove epel-release
$ sudo yum localinstall epel-release-6-8.noarch.rpm
share|improve this answer
    
Executing ncdu after installing http://ftp.linux.ncsu.edu/pub/epel/6/x86_64/ncdu-1.7-1.el6.x86_64.rpm results in ncdu 1.7 ~ Use the arrow keys to navigate, press ? for help. Thank you. Now it works. I will accept the answer. I also would like to upvote, but a reputation of at least 15 is required. –  utrecht Jun 8 at 9:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.