LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-13-2011, 08:50 PM   #1
badmas
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
how to install software package using shell script +property file.....


I have a tar.gz file which I extracted and then installed the software it contained using a property file. now, I need to automate that 2 step process into one. I am new to shell scripting and will be much appreciated if someone can guide me on how to accomplish that. below is my final opjective on this excercise.

1. excecute software_install.sh file which finds install.properties file and invokes the actual shell script that installs the product (odcpkg.sh)

thanks for your time
 
Old 04-14-2011, 01:01 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and Welcome to LinuxQuestions,

This sounds like homework to me and we are not eager to do it for you. As pointed out in the LQ Rules:
Quote:
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
On the other hand, if it's not homework then you should put in the work yourself, start reading and searching (with Google for example) and learn. Then, if you encounter problems or have questions about something in particular, that's when you turn to LQ. It basically comes down to:

Show us what you've got! Tell us where it fails or where you have questions. That's when you'll find LQ users at their best.

Kind regards,

Eric
 
Old 04-15-2011, 08:31 PM   #3
badmas
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Eric,
It is not a homework or work related and I just learned enough to get me started (variable substitutions). I'll post the script if I ran into issues that I can't solve on my own. thanks
 
Old 04-16-2011, 02:12 AM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192
I think what Eric trying to say (not the homework part) is that the idea here is for you to attempt the problem and then let us know where you run into issues so we can help

Looking at what you have said, it appears you already have all that you need to solve this issue. Maybe you would advise us as to where you are stuck?
 
  


Reply



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
Shell script to install list of packages in a file jayasekar Linux - Software 4 01-22-2010 01:56 AM
Hi, i want a shell script which install the software on lan. shreeramabhi Linux - Newbie 1 03-13-2009 03:28 AM
package uninstallation by shell script nik1984 Programming 6 09-19-2007 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:22 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
Open Source Consulting | Domain Registration