Sponsored Content
Operating Systems Linux Ubuntu Installing Commercial Linux Programs Post 302521865 by BrandonShw on Thursday 12th of May 2011 01:18:15 PM
Old 05-12-2011
Thank you for considering my question. First of all, I know who my clients will be and many of them will not be or have anything like system administrators. Many of them will be able to run a script and follow simple instructions, but do little else. The script + instructions is going to have to be as close to foolproof as possible.

My current experiment at writing an install script is simply a shell script and nothing else, because I have heard of package manager scripts, but don't know anything about them (yet). Since I am linking in libraries at compile time, I will have to have some method of automatically downloading these things accross a variety of Linux flavors.

At this point, the responses are a little over my head. It sounds from one of the responses like I could create a script of the .src.rpm type, which I could Google and learn about if it is a good idea. What I am trying to find out is whether I should continue with my shell script and within it make calls to Yum or Apt to install the required libraries, or whether a shell script is basically the wrong way to go. If I did use a package manager script, or some other type of script, where would I go to learn how to do it?

I am just an applications developer and Linux installation is a mystery to me.

Thanks again.

Brandon
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installing Programs In Linux

I am not sure how to install a program in linux. I have Java 2 on a CD the CD Mounts but then I'm lost. What do I need to do so that the programm will install on my system? Thank you, Monkette (6 Replies)
Discussion started by: kdelph
6 Replies

2. Linux

Linux-programs

I have installed Red Hat Linux 9.0 recently on my computer. Im wondering if there are any good sites for downloading linux programs besides the site of Red Hat. Thank you in advance!:D (4 Replies)
Discussion started by: SolidSnake
4 Replies

3. Shell Programming and Scripting

i need c programs for linux commands

hi i am doing a small project on linux shell so if anyone can provide me some programs which can ipmlement commands like copy,date,calendar ....thank u (1 Reply)
Discussion started by: lit_joel
1 Replies

4. UNIX for Dummies Questions & Answers

installing/running programs.

Hey folks, i'm a total newbie at linux (only installed it yesterday) so don't be mad at me for querying this. I downloaded firefox, and unpacked the library files and binaries into /usr/lib/firefox. Now, am I correct in thinking that to run it, I need to enter the 'sh /usr/lib/firefox' command into... (4 Replies)
Discussion started by: shep
4 Replies

5. UNIX for Dummies Questions & Answers

Installing Programs

Hello, I have a simple question. How do make it so i can lauch a program from the shell. For instance I want to install firefox 2 and I wanna launch it with ff2 in the terminal, so i tried this to my .bashrc file: alias ff2='/path/./firefox' and its not working as I would hope. anywho,... (2 Replies)
Discussion started by: SeamusHC
2 Replies

6. UNIX for Dummies Questions & Answers

installing unix programs

hi everyone, I'm new to the forums. I am in the process of learning unix. I have a problem installing a unix program. The program at question is Links. It is an internet browser. I have the INSTALL notes, but I'm not having much luck at all. Any ideas on how to install? (3 Replies)
Discussion started by: fissm
3 Replies

7. UNIX for Dummies Questions & Answers

Installing programs in Unix

I have installed a software called GMT, then writing a script that call the new programs ./example02.sh but I am getting ./example02.sh: line 20: gmtset: command not found I have done ./configure make make install (1 Reply)
Discussion started by: kristinu
1 Replies

8. AIX

Installing programs on AIX

G'day all. Thanks to everyone for helping me getting my h50 rs/6000 server going Now i need just a bit more help. Can anyone tell me how i install other software using remote console? (2 Replies)
Discussion started by: ADS2459
2 Replies

9. What is on Your Mind?

Linux & UNIX in commercial appliances

Hi All, I was wondering how come major router vendors (e.g C**CO ) use a custom linux/unix in their appliance but do not publish this custom code. Isn't it a disobedience to the GPL licence ? Please share your thoughts. (0 Replies)
Discussion started by: coolatt
0 Replies
DH_INSTALLDEBCONF(1)						     Debhelper						      DH_INSTALLDEBCONF(1)

NAME
dh_installdebconf - install files used by debconf in package build directories SYNOPSIS
dh_installdebconf [debhelperoptions] [-n] [--params] DESCRIPTION
dh_installdebconf is a debhelper program that is responsible for installing files used by debconf into package build directories. It also automatically generates the postrm commands needed to interface with debconf. The commands are added to the maintainer scripts by dh_installdeb. See dh_installdeb(1) for an explanation of how that works. Note that if you use debconf, your package probably needs to depend on it (it will be added to ${misc:Depends} by this program). Note that for your config script to be called by dpkg, your postinst needs to source debconf's confmodule. dh_installdebconf does not install this statement into the postinst automatically as it is too hard to do it right. FILES
debian/package.config This is the debconf config script, and is installed into the DEBIAN directory in the package build directory. Inside the script, the token #DEBHELPER# is replaced with shell script snippets generated by other debhelper commands. debian/package.templates This is the debconf templates file, and is installed into the DEBIAN directory in the package build directory. debian/po/ If this directory is present, this program will automatically use po2debconf(1) to generate merged templates files that include the translations from there. For this to work, your package should build-depend on po-debconf. OPTIONS
-n, --no-scripts Do not modify postrm script. -- params Pass the params to po2debconf. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_INSTALLDEBCONF(1)
All times are GMT -4. The time now is 04:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy