top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Best way to install mock package on CentOS?

+3 votes
1,562 views

What would be the best way to install mock on my Centos server? yum install mock does not recognize the
package. Have already installed 'Developer tools' using yum groupinstall.

posted Dec 1, 2013 by Deepak Dasgupta

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote
 
Best answer

It looks like it's available in the EPEL repository. Assuming CentOS 6:

# wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -i epel-release-6-8.noarch.rpm

Then re-run your yum search or install.

For CentOS 5 use this URL instead:

http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
answer Dec 1, 2013 by Kumar Mitrasen
+1 vote

Use mock from the EPEL repo for CentOS 6.

Please see http://wiki.centos.org/AdditionalResources/Repositories for more information.

answer Dec 1, 2013 by Luv Kumar
Similar Questions
+1 vote

I want to install path.py in my Python 3.4 environment on a Centos 5 box. My /usr/local/bin/ contains:

easy_install-3.4 
python3.4  
etc. 

We are behind a proxy server and I tried this:

# /usr/local/bin/easy_install-3.4 path.py 

Searching for path.py 
Reading https://pypi.python.org/simple/path.py/ 
Download error on https://pypi.python.org/simple/path.py/: hostname '172.29.68.1  
' doesn't match either of 'www.python.org', 'python.org', 'pypi.python.org',  
'docs.python.org', 'testpypi.python.org', 'bugs.python.org', 'wiki.python.org',  
'hg.python.org', 'mail.python.org', 'packaging.python.org', 'pythonhosted.org',  
'www.pythonhosted.org', 'test.pythonhosted.org', 'us.pycon.org', 'id.python.org' --  
Some packages may not be found! 

Couldn't find index page for 'path.py' (maybe misspelled?), Am I best to use pip or easy_install? also if easy_install, how can I fix the above error?

0 votes

Installed Fedora 26 on recommendation of a Scribus developer. Installed about 30 packages per his advice.

But when I try to compile a program the machine can't find C++. So what is the package I need to install to compile C++ programs?.

Another question. On Slackware (yes I am one of those) I can use kdm to get to a window function ( I preferXFCE). How do I set up a window manager in Fedora and how do I access it?

+3 votes

I have cloned someone's repository on my local drive using git command: git clone http://github.com/xxx.git

But I don't find any setup.py file. How do I install the package xxx? So that I can 'import xxx' in my python script.

+1 vote

I'd like to install ALL Python packages on my machine. Even if it takes up 4-5GB, or more, I'd like to get everything, and then use it when I need it. Now, I'd like to import packages, like numpy and pandas, but nothing will install. I figure, if I can just install everything, I can simply use it when I need it, and if I don't need it, then I just won't use it.

I know R offers this as an option. I figure Python must allow it too.

Any idea how to grab everything?

+1 vote

How to install openvpn on centos 5.7 32 bit and client will be used windows xp, 7, 8 and ubuntu desktop.
Please help me any one on this.

...