•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 427,378 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,042 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser: Programming Forums
Views: 662 | Replies: 7
![]() |
•
•
Join Date: Jan 2008
Posts: 55
Reputation:
Rep Power: 1
Solved Threads: 5
•
•
•
•
Thanks
i wanted to know whether python installed as default package in all flavors of linux.
Well, then time for you to do a little data collection and research. =)
I'm sporting Ubuntu Gutsy Gibbon, and it came with Python pre-installed (although I had to install the mysqlDB package myself).
- Walkere
•
•
Join Date: Oct 2007
Location: Cherry Hill, NJ
Posts: 1,876
Reputation:
Rep Power: 11
Solved Threads: 193
The answer is no.
Not even Tcl is installed by default on all flavors of linux. About the only thing you can guarantee is that either /usr/bin/sh or /bin/sh is available. (And on most linuxes it is actually bash.)
You can, of course, make your install and/or start script(s) test for python and complain with a user-friendly "please install python" message if not found.
Not even Tcl is installed by default on all flavors of linux. About the only thing you can guarantee is that either /usr/bin/sh or /bin/sh is available. (And on most linuxes it is actually bash.)
You can, of course, make your install and/or start script(s) test for python and complain with a user-friendly "please install python" message if not found.
Last edited by Duoas : Feb 8th, 2008 at 10:39 pm.
•
•
Join Date: Oct 2007
Location: Cherry Hill, NJ
Posts: 1,876
Reputation:
Rep Power: 11
Solved Threads: 193
A better approach might be to create a package installer (such as a .deb or .rpm) which lists python as a dependency.
If you plan to support more linux variants than just RedHat and Debian and those that work with their package systems (which are quite a few!), you can roll your own using a program like makeself.
Hope this helps.
If you plan to support more linux variants than just RedHat and Debian and those that work with their package systems (which are quite a few!), you can roll your own using a program like makeself.
Hope this helps.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Python Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
advice apple bbc cd cellphone cheating computer core debian dell desktop development enterprise fedora games gentoo google gpl hardware ibm install kernel laptop linux microsoft mobile news novell olpc open open source openoffice operating os red hat robot security server software source sun support system ubuntu unix vista vmware web windows x86
- Programming FAQ - Updated 1/March/2005 (Computer Science and Software Design)
- MarbleHost.com: Safe web host providing daily data backup (Web Hosting Deals)
- Gentoo vs Ubuntu (Getting Started and Choosing a Distro)
- Which scripting language to start with? (IT Careers and Business)
- Object Oriented Programming (Computer Science and Software Design)
- MSSQL connection strings (MS SQL)
- Looking for Reseller Hosting (Web Hosting Deals)
- Unmetered Web space for Reseller Web Hosting from WebHostingWith.us (Web Hosting Deals)
- My yahoo client. Not receiving data in real time :(( Just need a bit of advice (Perl)
- internet form handling (Python)
Other Threads in the Python Forum
- Previous Thread: Python script to save telnet sesion output in a local file
- Next Thread: Images Not Painting



Linear Mode