installing python on shared remote linux server

Hi:
I'm on a remote, shared linux-apache server. I currently use PHP/MySQL/HTML/CSS and need to be able to program in python. I talked with support and they said it was not installed and that I should do it.
I researched python and need advice on installing it. I see version 3.4.3 is the current stable one, and there are two source releases that can be downloaded from python.org: gzipped source tarball and XZ compressed source tarball.

Which should I download?
And can I download it to my private folder or should it be the cgi-bin folder (where PHP also resides)?
Torquil BeavisBusinessAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
I think you've been given bad advice.  You need to have root access to installs things like the Python interpreter and that is not normally available on a shared server.  Downloading it to any of your own folders will not allow you to install anyway.  And usually you need to get the package that is supported by that version of Linux.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rindiCommented:
Usually you'd install software like python using the distro's package manager and it's repositories, you don't download it manually and install it manually. That way dependencies are handled properly and installed, and you get a supported version. On debian based system you would use apt-get for example.
0
Torquil BeavisBusinessAuthor Commented:
Is that also true of PHP?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Dave BaldwinFixer of ProblemsCommented:
Yes.  Who is the hosting company?
0
rindiCommented:
It is true for any software that is available via the distro's repositories, and the large distro's like debian, ubuntu, redhat (centos), suse etc have huge repo's with thousands of software packages included. So unless you want to install something really exotic, it is very likely that it is available directly via the repo.
0
Torquil BeavisBusinessAuthor Commented:
NetNation.ca (Hostway). Debian.
I need python, access from python to my MySQL dbs, and access from python to by public and private folders.
0
rindiCommented:
Python alone would be installed this way in a terminal as root:

apt-get update
apt-get install python3

If you need addons for python, you'd install them the same way, you just need to know their names. As for the configuration and setup for your needs, I can't help there.
0
Torquil BeavisBusinessAuthor Commented:
Waiting for input from web hosting company .. thanks for your patience :)
0
Torquil BeavisBusinessAuthor Commented:
The web hosting company confirmed that for my requirements I need managed hosting ie a dedicated server.
Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Python

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.