Visit Our UNIX and Linux User Community


Convert collection of scripts into a software package


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Convert collection of scripts into a software package
# 1  
Old 08-19-2009
Convert collection of scripts into a software package

Hi,

I have a "package" of BASH shell scripts. This package consists of a master script (where users specify processing variables), and sub-scripts (the master script determines which of these are called, and in which order).

These scripts are used to process data related to my field (oceanography), and have proven useful enough that I have started to distribute them. Now that other people are using my scripts I would really like to improve the user interface and convert them into a more professional software package.

This is likely a very broad question, but does anyone have any suggestions on how to go about doing this? I am not sure what options I have. One of my main goals is to make it so users just type the name of the software at the prompt to run it (like "firefox", etc.) instead of the current method, which is to type the name of the master script ("master_script.sh").

Any help with this is really appreciated!

Mike
# 2  
Old 08-19-2009
You can always create an alias or a link

Code:
alias startsoftware=/path/to/master_script.sh

or a link
Code:
ln -s /path/to/master_script.sh /usr/bin/startsoftware

Padow

Previous Thread | Next Thread
Test Your Knowledge in Computers #69
Difficulty: Easy
Grep stands for 'global regular expression process'.
True or False?

10 More Discussions You Might Find Interesting

1. Ubuntu

Ubuntu software package compatibility

I don't have internet connection in my Ubuntu server, so package download directly from internet is not possible. So if I download package from Index of /ubuntu How do I find which version of package is compatible with my Release of Ubuntu server ( 15.10 ) user01@ubuntu01:~$ lsb_release -a... (0 Replies)
Discussion started by: hiten.r.chauhan
0 Replies

2. Windows & DOS: Issues & Discussions

Automating an UNIX Based Software Package on Windows

The company I am with is using Oracle Supply Chain Planing 8.12.1 with JDE 8.12. This is a Unix based system running on Windows Servers using Hummingbird Exceed Version 14 for interactive processing We are currently attempting to automate the Advance Planning Agent flows on a couple of... (2 Replies)
Discussion started by: pfaloney
2 Replies

3. Red Hat

How to Customize/install software package after?

Hi Team While installation of RHEL, By mistake I have selected "Customize Later". RHEL has installed with basic software. NOw I need to install the other package which is available in DVD, How Can I get the same package selection window to install the software ? (0 Replies)
Discussion started by: atul9806
0 Replies

4. Solaris

Liveupgrade. Exclude software package

Hello. Im about to upgrade 6 solaris 10u7 x86 servers with live upgrade. I have done this before succesfully, but this time i would prefer to keep the current java versions from the u7 release. Is there any way to block luupgrde from installing newer packages of java? I looked at the -P... (0 Replies)
Discussion started by: vettec3
0 Replies

5. SuSE

update package/software questions

Hi, In SUSE linux, it looks like that I can update the package using YAST or install the package from source. So, which way works better? Also, if i install the package of new version. Do i need to remove/delete the old version package, or I just need to change my environments and keep the old... (0 Replies)
Discussion started by: jianma
0 Replies

6. High Performance Computing

problem installing software package with MPI support

So I have been struggling for the past few days to install a simulation package lammps (http://lammps.sandia.gov/) on my Mac OS X. I am well aware that this is a Ubuntu forum, but you guys seem to know a lot of UNIX stuff, so I was hoping someone might have a solution to my problem... To run... (1 Reply)
Discussion started by: oscar78
1 Replies

7. UNIX for Dummies Questions & Answers

Question on install software package on Linux

Hello ALL, I am not very sure about the following two questions, I have install some packages on my Linux system, though. Q1. Should I log in as root to install a software package on a Linux system? Q2. If I log in as a common user, say 'Mike', and install a software on Mike's home... (1 Reply)
Discussion started by: cy163
1 Replies

8. HP-UX

license of software package

Hi when i do a swlist on my HP-UX machine it displays the software packages ..How do i know whether those packages are licensed or freeware can any 1 help me best Regards vasanth (0 Replies)
Discussion started by: vasanthan
0 Replies

9. Solaris

Solaris 10 Software Package Manager

Hi there, maybe one of you knows the software package tool during the installation of solaris 10. You are able to choose an installtion and customize it with pressing F4 .... a very nice list occurs where you can select packages like apache, ssh and so on ... Is it possible to start this... (0 Replies)
Discussion started by: drexler76
0 Replies

10. UNIX for Advanced & Expert Users

looking for SSL software package (AIX 5.1)

When i install SSH on AIX 5.1 I get the following message { A prerequisite package has not been installed. Open SSH requires Open SSL (Secure Sockets Layer). Please install Open SSL from the AIX Toolbox for Linux CD or Toolbox website: } I cannot find the AIX toolbox for linux CD, also on... (1 Reply)
Discussion started by: janr
1 Replies

Featured Tech Videos