or you could compress them into a tar.gz and then script it as follows
First compress them
tar czf packages.tar.gz *.rpm
Then the script. name it script.sh for our example.
#!/bin/sh
PACKAGE=$1
tar xzf $PACKAGE
sudo rpm -ivh *.rpm
Then when u want to install these just do this
./script.sh packages.tar.gz
**EDIT**
Don't forget to change permissions on the script so it is executable.
chmod u+x script.sh
Last edited by shafty023; 02-09-2008 at 11:33 AM.
|