Creating Installer and/or Package


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Creating Installer and/or Package
# 8  
Old 02-18-2015
He needs a working installation script first anyway.
And given the above script, i see great chances to fail completly on the slightes unexception.
Because each and every linking and copying is dependand that ALL previous commands also ran successfull.

If the first one fails, the last will never be tried to copy.
And i highly recomend to use identifiers that are easier to read/understand than a single letter.
Specialy when making an alias, rather than a file named like the application/script installing.

hth
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

2. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

3. Red Hat

Creating rpm package file

Hi, I have a binary file ans some scripts which copy the binary file to a location and create some files and then add a entry to cron . I want to create a rpm package file for all these.So that if a user run: rpm -i my.rpm the binary is copied and scripts are run. Can anyone help me in... (1 Reply)
Discussion started by: kailash19
1 Replies

4. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

5. AIX

mkinstallp package creation failing "no such file: ./usr/lpp/<package name>/inst_root"

Hello, I'm trying to build a (bff) package from an already installed program (clam antivirus) using mkinstallp. However, mkinstallp fails with "no such file: ./usr/lpp/<package name>/inst_root" I'm not sure why all files get created ok except for these particular ones. Any help would be... (2 Replies)
Discussion started by: omonte
2 Replies

6. Ubuntu

Problem creating Desktop shortcuts through Debian dpkg installer scripts

Hi, I am creating a debian package (*.deb) for my application using the command I am using debian pre/post installer scripts to do certain tasks before/after installation/uninstallation. One such task is to create a shortcut on the user's desktop to launch my application. I am trying to do this... (0 Replies)
Discussion started by: royalibrahim
0 Replies

7. Solaris

Design for development of solaris package (installer)

Hi, I am new to solaris. As I am assigned to a new task to develop a installer for an application on solaris10 machine, I need to prepare the design document for the installer. ( I came to know that in solaris all the instllables will be considered as packages and and are not like .exe's). So... (0 Replies)
Discussion started by: raghu.amilineni
0 Replies

8. Linux

how to restore original package after uninstalling the upgraded package using rpm

have following package installed rpm -qa |grep ADMIN It will give the following package installed: ADMIN-4.0.0.1 Now I will upgrade the ADMIN package using the following command. rpm --upgrade ADMIN-4.1.0.1 It will upgrade the ADMIN packagge to ADMIN-4.1.0.1 Now I want that... (0 Replies)
Discussion started by: amitpansuria
0 Replies
Login or Register to Ask a Question
Package::Constants(3pm) 				 Perl Programmers Reference Guide				   Package::Constants(3pm)

NAME
Package::Constants - List all constants declared in a package SYNOPSIS
use Package::Constants; ### list the names of all constants in a given package; @const = Package::Constants->list( __PACKAGE__ ); @const = Package::Constants->list( 'main' ); ### enable debugging output $Package::Constants::DEBUG = 1; DESCRIPTION
"Package::Constants" lists all the constants defined in a certain package. This can be useful for, among others, setting up an autogenerated "@EXPORT/@EXPORT_OK" for a Constants.pm file. CLASS METHODS
@const = Package::Constants->list( PACKAGE_NAME ); Lists the names of all the constants defined in the provided package. GLOBAL VARIABLES
$Package::Constants::DEBUG When set to true, prints out debug information to STDERR about the package it is inspecting. Helps to identify issues when the results are not as you expect. Defaults to false. BUG REPORTS
Please report bugs or other issues to <bug-package-constants@rt.cpan.org<gt>. AUTHOR
This module by Jos Boumans <kane@cpan.org>. COPYRIGHT
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself. perl v5.16.3 2013-02-26 Package::Constants(3pm)