General :: Install Software Package Using Shell Script?

Apr 13, 2011

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)

View 3 Replies


ADVERTISEMENT

General :: Generate As Script For A Graphical Package On Fly From With In A Shell Script?

Nov 9, 2010

I am in a situation where I need to generate as script for a graphical package on fly from with in a shell script. I would like to do the below which create a file in which grave accent has to be there However below script do not work I tried different things like

[Code]....

View 5 Replies View Related

Ubuntu :: Zsh Shell And Apt-get - Package Not Found

May 23, 2010

I have just started using the zsh shell to see what its like and so far I like it. However one anoyance is that if I type: Code: sudo apt-get install plymouth-* I get package not found. If I do the same in a bash shell I get the option to install the the packages matching the wildcard.

View 1 Replies View Related

Programming :: Writing A Shell Script For Running A Package From IRAF?

Jan 10, 2011

I want to run gallist pkge from iraf for several times.. The step for running that

is:>xgterm &
>ecl &
ecl>noao
noao>artdata

artdata>epar gallist (I set some parameter) then by writing gallist iraf terminal the pkge is run:

artdata>gallist

I want this pkge is run for 1000 time and all output result are collected in only one file.

View 1 Replies View Related

Ubuntu :: Shell Command For Finding All Packages That Provide A Certain Virtual Package?

Jul 29, 2010

I want to get a list of all packages that provide a certain virtual package. A way of doing this would be to write a shell script that parses all output of Code: apt-cache search -f .* And spits out all packages that have the virtual package in the provides section. The problem with this approach is that it takes an awful long amount of time to execute. I guess that there should be a simple command that does this in an efficient manner, but which I wasn't able to find.

View 1 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

General :: Install Src.rpm Package On Red Hat?

Apr 6, 2010

How can i install src.rpm package on Red hat Linux ?

View 2 Replies View Related

General :: How To Install Package In Tar.bz2?

Feb 16, 2010

i am totally newbie in linux.how to install tar.bz2?? please give me crystal clear command to open this file because a lot of threads regarding to this matter really crack my mind.

View 5 Replies View Related

General :: Is There A Package I Need To Install?

Feb 17, 2011

I have two RHEL conputers that are causing me a bit grief in the user manager gui.One computer is kernel is 2.6.18-194.8.1.el5 and the other is 2.6.18-194.11.1.el5.I don't think that matters much but wanted to give you all the onfo I had.

> All the users on the these two computers do not have root access/rights
> When a standard user access the user manager they are not prompted for the root password and cannot open the User Manager.Is there a package I need to install?

View 14 Replies View Related

General :: Unable To Install Gnome-shell On Ubuntu Maverick 10.10

Aug 9, 2010

mojo@mojo:~/Downloads$ sudo apt-get install gnome-shell
Reading package lists... Done
Building dependency tree
Reading state information... Done

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following packages have unmet dependencies: gnome-shell : Depends: mutter but it is not going to be installed it asks for mutter, yet mutter is already installed. I think it asks for different version of mutter.

View 2 Replies View Related

General :: Boots To Bash Shell After Install Of ATI Graphics Driver?

Mar 23, 2011

After installing the ATI graphics driver that was suggested under System > Devices, ubuntu required a reboot. now it either hangs on boot, or boots into the Bash shell. I tried the option in the Grub boot llist to boot into recovery mode, and then teh option to fix recent update (or something like that), but it did not help.
Assuming the ATI driver is the problem, how can I back it out?

View 2 Replies View Related

General :: Write A Shell Script Instead Of Shell Function?

Apr 27, 2011

I would like know when it is necessary or advisable to write a shell script instead of shell function ?

View 3 Replies View Related

General :: Cannot Install Gcc4.2-c++ Package

May 6, 2011

I am running Mandriva Linux 2010.2 KDE on my Dell Dimension 5150 desktop. Using the software manager, I tried selecting the gcc4.2-c++ package for the compiler but I get the message:

Quote:

the following package cannot be selected:

- gcc4.2-c++-4.2.3-6mnb2.i586

View 14 Replies View Related

General :: Get Public Key For A Package To Install With Yum?

Sep 16, 2010

I understand that I can specify nogpgcheck on the command line, or gpgcheck=0 in the repo file, but if I want to do it "right" how would I get the public key? And where should I have looked to find this without bothering the group? I looked in man yum and don't seem to find it.

View 6 Replies View Related

General :: Install A Package In Puppy 4?

Nov 24, 2009

i am trying to install in my puppy 4 the gxine 0.5.903i already have downloaded it to My-Documents folder.However, each time that i try to install it using the package manager the file does'nt foundedThis is my firt time using Linux and i really like puppy

View 5 Replies View Related

General :: Install Older Package Using Rpm

Nov 17, 2010

I had upgraded from Samba to Samba 3x awhile ago. Which I found out that I didn't need to do because I have to update now 9 large patch releases which I have to install in order. Starting with the first one and I'm having Samba dependencies problems now. The patch releases to install are older than what's currently installed. Hopefully, once I get the conflicts resolved the rest should fall in line.

View 4 Replies View Related

General :: How To Install Ssh2.so Package

May 9, 2011

how to install ssh2.so package. my ssh2.so went missing i think. i already google and search for it and try to install, and they fail at certain part.

View 14 Replies View Related

Ubuntu :: Install A .bin Package With Synaptic Package Manager?

Oct 2, 2010

I want to install CmapTools in my desktop, which runs v.10.04. I have downloaded the .bin file from their site.Is there a way to install it using Synaptic Package Manager?

View 2 Replies View Related

Software :: Compile And Install Xmonad Package By Package?

Jul 28, 2011

I originally attempted to compile and install xmonad package by package, and the end result was this:

Code:
$ xmonad /home/adx/.xmonad/xmonad-x86_64-linux: executeFile: does not exist (No such file or directory)
X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Serial number of failed request: 7 Current serial number in output stream: 8 I figured I left out a flag on the make file or something, so I tried the slackbuild packages next; however, the same error was present at launch.

View 1 Replies View Related

General :: Install All Files Of Package When Compiling?

Jun 19, 2010

Where is the best path to install all files of package when compiling?

For example - I want to install ProFTPd, so there's an option

--prefix=/usr/local/proftpd

, which means, that all files after compilation (including binary and configuration files) will be stored here. As you know, all packages, which are installed via package system (like zypper on SuSE or apt on Ubuntu) usually stores its configuration files in /etc/ and binary files in /sbin/ and also stores a link in my $PATH, so i can run in just by typing proftpd (without /sbin).

The huge advantage of packages installed via package system, i think, is easy uninstall process. I'd like to be able to uninstall compiled packages also easy.

I think i could be able to create some batch file, which I'll be able to use like this:

uninstall --package=proftpd

And my script will find all proftpd files in usuall paths (/etc, /sbin) and remove it using rm.

Is there any best practices, where to store all these files, or are there any (dis)advantages of my first example (--prefix=/usr/local/proftpd)?

I really don't think, that it's nice to have 2 paths with configuration files and binary files, but maybe I'm misunderstanding the basic principals of Linux... :-)

View 4 Replies View Related

General :: Install A Package And Its Dependencies With Dpkg?

Aug 14, 2011

dpkg -i package.deb

Doesn't install package if it has not-installed dependencies.

What parameters do I miss to install that package with its dependencies from repository?

View 2 Replies View Related

General :: How To Extract RPM Package And Install Manually

Mar 10, 2010

I have jdk.rpm.bin package. When I run the command ./jdk.rpm.bin it extracts and automatically installs the package. I want to extract rpm package only and to install rpm myself not automatically.

View 2 Replies View Related

General :: Install Older Version Of Package Using Apt-Get

Mar 28, 2010

I am getting this when I build a project in JBoss Seam:
Code:
asookazian@asookazian-desktop:/opt/jboss-seam-2.2.1.CR1/examples/booking:10:30 PM:$ant clean explode
Buildfile: build.xml
clean:
initcopy:
initpoms:
[echo] Setting up dependencies

Build Failed
/opt/jboss-seam-2.2.1.CR1/build/common.build.xml:95: The following error occurred while executing this line:
/opt/jboss-seam-2.2.1.CR1/build/utilities.build.xml:18: Directory /opt/jboss-seam-2.2.1.CR1/classes/poms creation was not successful for an unknown reason
Total time: 0 seconds
How can I install Ant 1.7.0 (i.e. an older version of an existing package)?

Code:
asookazian@asookazian-desktop:/opt/jboss-seam-2.2.1.CR1/examples/booking:10:31 PM:$sudo apt-get install ant=1.7.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.7.0' for 'ant' was not found
I downloaded the zip file for 1.7.0 but I need to redo all the symbolic link stuff, no?

Code:
asookazian@asookazian-desktop:/usr/bin:10:34 PM:$ls -la ant | less
Code:
lrwxrwxrwx 1 root root 20 2010-03-23 06:15 ant -> ../share/ant/bin/ant

I'd like to keep both versions of the ant package in my Ubuntu 9.10 system if possible...

View 1 Replies View Related

General :: Adding Package For GCC On RedHat Install

Jul 6, 2010

I just installed Redhat Enterprise Linux version 5.1.x on my computer and need to install/add the package for gcc.

View 1 Replies View Related

General :: Open A New Shell From A Shell And Switch Between Them?

Jan 18, 2011

I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?

View 3 Replies View Related

Fedora :: Download And Install A Package (zip Package)

Mar 15, 2009

Sometimes i have on some magazines or Internet Zip packages that are the answer of what i am looking for.


Wich tool and how can i do it? c Well, i am in position to say that i had downloaded from Internet or located the package in the Cd or DVD that comes with the magazine.

But now comes the big question. How can i put this package ( install) on my distro ???

Do i have to be a normal user or should it be root or su (superuser) ?

The packages that come with the distro is easy, because i select them and everything is done

As i told before, maybe this is a silly question, but i simple don't know how to install them and i need some of them to leave MS for good.

View 13 Replies View Related

Fedora :: Install *.tar.gz Package Package After Extraction?

Feb 6, 2010

Fedora 12 64bit. Is there an easy and reliable way to install *.tar.gz package after extraction? Instead of going through ./configure etc.

View 6 Replies View Related

General :: Can't Install Back A Purged Package In Ubuntu?

May 12, 2010

i've just migrated my desktop machine to Ubuntu 10.04. My problem is that i've purged a package and can't install this package back. Because I can't see it in the aptitude or apt-get's package list. I think I have play with some configurations. How can i fix this issue?

Edit: The problematic packages are sun-java6* . I installed sun-java6-jdk from oracle's web page and installed other ones using APT.

View 1 Replies View Related

General :: Install Package Dependencies Separately Over Network

Aug 16, 2010

I am working on a project that sets up packages on the cloud.

For example, If i want to setup Drupal, i need seperate machines to maintain separate tasks, like mysql in one machine(cloud instance/node 1), apache server in another machine(cloud instance/node 2), etc.

So if drupal.rpm has dependencies apache.rpm(has deps too) and mysql.rpm(has deps too)

Is it possible in rpm package manager(yum) to handle such customizations & above requirement?

View 4 Replies View Related

General :: Specifying The Install Path Of A Python Package On Server?

Jun 23, 2010

I have been trying to install the NumPy package for Python on to my home directory, as I run as part of a server and do not have permissions to install new packages in the Linux server.

I have set up Python in my home directory, and have configured ~/.bash_profile to find my local Python (which works, confirmed by testing).

However, when I attempt to install the NumPy package, I get the message error: could not create '/usr/local/lib/python2.6': Permission denied Which I find strange because I do not see why it would need to install files anywhere except my local Python directory.

how I might be able to specify the directory in which files are installed?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved