rpm command not working
i use the following rpm command to convert a tar.gz file in to a
rpm -ta slmdm-2.X.X.tar.gz but this says option not found and i append below the instructions given in the smart link USB modem driver installation read me file 1. Build SRPM and RPM from tar.gz package: In order to build RPM and SRPM run command: # rpm -ta slmdm-2.X.X.tar.gz It will build in your RPM directory: - slmdm-2.X.X-Y.src.rpm - Source SRPM package - slmdm-2.X.X-Y.i386.rpm - Core Modem RPM package - slmdm-amr-2.X.X-Y.i386.rpm - AMR/CNR/PCI Modem driver - slmdm-usb-2.X.X-Y.i386.rpm - USB Modem driver 2. Install To install Modem core package run: # rpm -i /path/to/slmdm-2.X.X-Y.i386.rpm To install Modem hw driver run: # rpm -i /path/to/slmdm-amr-2.X.X-Y.i386.rpm if you are going to use AMR/CNR/PCI Modem, or # rpm -i /path/to/slmdm-usb-2.X.X-Y.i386.rpm if you are going to use SmartUSB56 Modem. Note: currently you cannot install and use both AMR/CNR/PCI and USB Modems. what is wrong with this |
i assume it is complaining about the -t
so try : rpm -a --tarbuild filename.tar.gz |
first off, not all tarballs have the rpm spec for you to build rpms from tarballs. so just to let you know, you won't always be able to build rpms from tarballs. anyway, if that's the readme file, then it looks like this particular package will let you build an rpm from the tarball. my only guess is that you're not running the command as root since by default that command will place the output into /usr/src where only root has write access to.
|
do i have to sign in as root and copy this file in to /usr/src to run this command ?
|
thanks megaspaz my xine player is now working
|
Quote:
if you're in your home directory (/home/sanjaya) and you're tarball is in there. just su into root and use the rpm command: rpm -ta slmdm-2.X.X.tar.gz you do not need to move the tarball into /usr/src. |
are you sure the rpm -ta xxxxxxx ( the ta option ) will work in my red hat linux 9
|
Quote:
|
All times are GMT -5. The time now is 12:25 PM. |