Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6230501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:45:36+00:00 2026-05-24T09:45:36+00:00

In writing an install script, I quickly found that I’d have cross-platform issues, and

  • 0

In writing an install script, I quickly found that I’d have cross-platform issues, and bash scripts are hard to maintain. I decided to look for a cleaner solution that’s more cross-platform.

The goal is to have an intelligent script sniff out components of the user’s system and have as little user interaction as possible. That being stated, I thought about these languages:

  • Python- cross-platform, and many other programs rely on it, so it may already be present
  • Javascript- nodejs is required by part of my application, but it’s a little clunky for exec calls

Are there any languages that would be a better fit for this application?

Requirements:

  • Available on all platforms
    • May be distributed as part of my application if small enough
    • Little to no version variation, so Ruby is out
    • *nix only for now, but eventually will be run on Windows
  • Maintainable
    • Clear syntax (Perl is out)
    • Modular (if I sniff the OS, I can include separate OS-specific code)
  • Capable of downloading files (unmet dependencies)
  • Capable of relatively complex scripting tasks
    • Testing for used HTTP ports
    • Reading and parsing files for configuration data
    • Checking for permissions and changing directories of insufficient privileges
  • Open source
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:45:36+00:00Added an answer on May 24, 2026 at 9:45 am

    Python can do all of those things:

    • Available on all platforms (Mac, Linux, Windows, and more)
      • May be distributed as part of my application if small enough (You can make binaries with cx_freeze, if needed)
      • Little to no version variation, so Ruby is out (Python is pretty static when it comes to version changes)
      • *nix only for now, but eventually will be run on Windows (It comes pre-installed on Mac, and ships with just about any Linux distro. Binaries don’t need the interpreter to run)
    • Maintainable
      • Clear syntax (Perl is out) (Python is very easy to read, but that’s up to you to decide)
      • Modular (if I sniff the OS, I can include separate OS-specific code) (Modules are just files in Python)
    • Capable of downloading files (unmet dependencies) (Urllib2 takes care of that, and it’s pre-installed)
    • Open source (Yep)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing an install script that installs all tables, stored procedures, views, full
I am writing a Bash shell script for Mac that sends an email notification
I am currently writing a script that will basically ‘install’ a codeigniter installation automatically.
I'm writing a batch script that needs to install Microsoft Lync if the user
I'm writing a Bash script that sets up a Drupal development environment for people
I'm writing a small app that needs to have a super easy install process.
I'm writing an install script utilizing the NSIS installer scripting language. I have a
currently I'm making a forum software, and I'm writing the install script, that sets
I'm writing an install script in bash for an application on Linux. This script
I am writing a little install script for some software. All it does is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.