LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2015, 12:45 AM   #1
Kamal Luthra
LQ Newbie
 
Registered: Jun 2015
Posts: 14

Rep: Reputation: Disabled
Post How to install python-gasp and what are prerequisite?


Dear Friends,

I am novice to python programming language. I simply installed Centos6.5 and working on python that is be default installed with the operating system. I am following below link to expertise in python:

http://www.openbookproject.net/think...h2e/index.html

Now after trying various links and surfing a lot i am not able to install "gasp" program on my workstation. Please anyone can guide regarding this?

Earliest response is appreciated!

Regards,
Kamal
 
Old 09-16-2015, 01:43 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,019

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
first
Quote:
I simply installed Centos6.5
WHY???

why the old and not supported 6.5 ?

the current in the older 6 series is 6.7
and Cent ONLY!!!! supports the current minor versions
so
5.11
6.7
7.1
ate the only three versions that are supported


UPGRADE the older 6 to 6.7
or reinstall using the current 7.1

Last edited by John VV; 09-16-2015 at 01:45 PM.
 
Old 09-18-2015, 03:59 AM   #3
Kamal Luthra
LQ Newbie
 
Registered: Jun 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
Smile Inspite of using CentOS ver 6.5 I have managed to install gasp on it.

John,

Firstly, please note the advancement in upper version(s) does not refuse to install and operate python with gasp. Secondly, i am running kvm so cent OS ver 7.1 is not possible. Lastly, my concern is with application not with OS.

Below are the steps to install "python with gasp":

Installing Python with “Gasp”

In Cent Os ver 6.5-
STEPS:
yum install gcc
yum install pygame
python ez_setup.py
easy_install python-gasp
tar setuptools-18.3.1.zip
cd setuptools-18.3.1
python setup.py install
cd /usr/lib/python2.6/site-packages
cp -pvr /home/script/Documents/python-gasp-0.2.0beta1 /home/script/documents/setuptools-18.3.1
python setup.py install
cd python-gasp-0.2.0beta1/
python setup.py install

In Win8-
STEPS:
install msi package of “python2.7” via http://www.howtogeek.com/197947/how-...on-on-windows/
install msi of pygame via http://www.pygame.org/download.shtml
download gasp via http://dev.laptop.org/pub/gasp/relea...0beta1.tar.bz2
extract gasp to c:/python27/lib/site-packages
change directory to gasp in cmd
python setup.py install
python prompt gui
from gasp import *


prerequisites:
pygame, ez_setup, gasp

links:
https://answers.launchpad.net/gasp-core/+question/17174

https://answers.launchpad.net/gasp-core/+question/41180

https://pypi.python.org/pypi/setuptools

http://dev.laptop.org/pub/gasp/downloads/
 
Old 09-18-2015, 07:37 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,019

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
there are NO repos for 6.5
The out of date mirrors are no more ( well there might be 2 or 3 that have not been deleted yet)


if you run these on 6.5 you will get an error of "unable to connect to mirror"
Code:
yum install gcc
yum install pygame
for those to work on 6.5 you have to edit ( manually) the files in "/etc/yum.repos.d " to point the repos to "The VAULT"
( the historical archive )

also if you try to install "gcc" by ONLY!!!! installing ONLY "gcc" you will have major problems
Things like packageconfig and automake will be missing

on cent you have to install the development group
Code:
su -
yum groupinstall "Development Tools" "Development Librarys"
double check the spelling from the output of
" yum grouplist "
 
Old 09-18-2015, 11:16 PM   #5
Kamal Luthra
LQ Newbie
 
Registered: Jun 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
Post In my case all working well!

Dear John,

Please check your network architecture as there must be somewhere blockage or breakage to connect you with repos because in my case there is no such issue. I easily installed gcc & pygame thrice today without any error. you may refer the snapshot attached with the post.
And for your information, automake has to be installed separately in 6.5.
So please check your network once. Either you would have modified your repos which may be denying you to connect to yum server.

Coming to conclusion: Its good that you are using 6.6 or 7 but i am comfortable in using 6.5. Also my requirements getting fulfilled through it. Will continue with version until i feel big flaw in it or if i get stuck at a point.

Thanking You
Regards,
Kamal

Quote:
Originally Posted by John VV View Post
there are NO repos for 6.5
The out of date mirrors are no more ( well there might be 2 or 3 that have not been deleted yet)


if you run these on 6.5 you will get an error of "unable to connect to mirror"
Code:
yum install gcc
yum install pygame
for those to work on 6.5 you have to edit ( manually) the files in "/etc/yum.repos.d " to point the repos to "The VAULT"
( the historical archive )

also if you try to install "gcc" by ONLY!!!! installing ONLY "gcc" you will have major problems
Things like packageconfig and automake will be missing

on cent you have to install the development group
Code:
su -
yum groupinstall "Development Tools" "Development Librarys"
double check the spelling from the output of
" yum grouplist "
Attached Thumbnails
Click image for larger version

Name:	gcc.png
Views:	12
Size:	212.8 KB
ID:	19614   Click image for larger version

Name:	gcc2.png
Views:	9
Size:	243.0 KB
ID:	19615   Click image for larger version

Name:	automake.png
Views:	9
Size:	213.4 KB
ID:	19616  
 
Old 09-19-2015, 09:45 AM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,396

Rep: Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017
Quote:
Originally Posted by Kamal Luthra View Post
Coming to conclusion: Its good that you are using 6.6 or 7 but i am comfortable in using 6.5. Also my requirements getting fulfilled through it. Will continue with version until i feel big flaw in it or if i get stuck at a point.
Do you regularly run a "yum update" or update through the GUI package manager? If so, you're already running 6.7, CentOS automatically updates through minor version numbers. If not, why on earth would you purposely NOT keep your system updated?
 
Old 09-21-2015, 11:29 PM   #7
Kamal Luthra
LQ Newbie
 
Registered: Jun 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
Solved

Dear,

As already informed my requirements are getting fulfilled with this version so I am not doing any update to my OS. And please stop pointing the issue which is irrelevant to my query!
My concern was installing python-with-gasp which has been SOLVED that too on Cent OS ver 6.5. I also mentioned the steps to do that which is irrelevant to version. So issue of updating the versions of OS does not exist. Also I nowhere discussed about the problem in updating the OS or in regard to yum. You all have totally distracted from the topic.
THEREFORE, I am closing this ticket now. And hope you may try to understand my concern!!



Quote:
Originally Posted by suicidaleggroll View Post
Do you regularly run a "yum update" or update through the GUI package manager? If so, you're already running 6.7, CentOS automatically updates through minor version numbers. If not, why on earth would you purposely NOT keep your system updated?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what the prerequisite for install gedit on centos 7 cepasisoft Linux - Newbie 4 01-02-2015 07:30 AM
[SOLVED] oracle 11g install prerequisite fails for valid rhel 4 kernel parameter value clozarks Linux - Enterprise 5 12-21-2010 04:19 PM
How can I uninstall a python package installed with python setup.py install? milomak Linux - Software 1 11-16-2009 09:22 PM
ndiswrapper install prerequisite 83K5 Linux - Laptop and Netbook 3 04-04-2004 03:10 PM
install python 2.3 ,necssary to remove python 2.2 ngan_yine Linux - Newbie 7 12-28-2003 04:07 PM


All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration