how to install tar.gz or convert to rpm
how to install tar.gz
or how to convert them to rpm and install |
have a look at this
http://www.linuxquestions.org/questi...threadid=45094 i would suggest searching for an rpm first though http://rpmfind.net/ good luck. |
usually:
- use checkinstall or stow - tar zxvf foo.tar.gz - cd foo - ./configure --prefix /usr/local/stow/foo - make - #make install - #mkdir /usr/local/stow/foo - #stow foo |
thanks peacedog
jago please add more details i do not know where to write these commands etc |
In a terminal window...konsole, gnome-terminal, xterm, aterm, eterm...the list goes on....
|
ok, i open console and i type:
tar zxvf foo.tar.gz but i get some error msg or like that can ANYONE tell me 5-10 simple steps to follow? for example: 1. open internet explorer 2. File > open > browse to My documents > select the picture you want > open ? i am so disappointed, that i am thinking to delete the linux partition just because i cannot the f4kin winmodem drivers so i can connect to internet. i have been asking here and there 3 days now :( there is not 1 person to give a nice, simple explanation to somebody that is not a linux expert! i still thank all the people who try to help thanks for your time and info |
What winmodem drivers are you trying to install? I agree with PEACEDOG and find a rpm to install if you can. It will make everything much easier: as root
Code:
rpm -vhi foo.rpm Code:
tar xfz foo.tar.gz (if it doesn't work here, try getting that source again) |
what specific error message does tar return? i know that some versions of tar require that the operation comes first, ie. the order of the parameters would be xzvf and not zxvf. i would have to know the error message that you got to know for sure, but it's worth a try.
hope this helps. |
It is ok with me to stub some files until
the modem is ready to work, but some ppl with good intensions, cannot always offer proper support-help Thank you for replying Nis and Lyceum. My frustration is obvious. I downloaded the linux driver from http://members.driverguide.com/ums/i...5564479v674491 login (user id): driver pass: all the modem is internal (notebook) the name of the driver file is: slmdm-2.6.16.tar.gz the kernel version of my Mandrake 9.2 is: 2.6.22 I know that I must login as ROOT to install I know that I will type some commands at “console” the READ file of the driver has the following information about installation. Installation ============ 1. Unpack tar.gz package file: $ gzip -dc slmdm-2.6.X.tar.gz | tar xf - 2. 'cd' to package directory: $ cd slmdm-2.6.X 3. Review and edit (if need) 'Makefile'. Note: Probably you will want to correct in Makefile path to your local linux kernel header files: KERNEL_INCLUDES=/path/to/linux/include Another way is to pass command line the parameter while running 'make': $ make KERNEL_INCLUDES=/path/to/linux/include ... 4. Run 'make' command to compile package: $ make 5. Install. If you are going to use AMR/CNR/PCI modem type (as superuser): # make install-amr , or # make install-usb 6. Config modem country. You can configure you current country by using module parameters 'country' or 'country_code'. Add 'options' directive line to file '/etc/modules.conf': options slmdm country=<MyCountry> , for example options slmdm country=USA , or use module parameter while module loading: # modprobe slmdm country=<MyCountry> Use 'slver -c' to see list of all supported countries and their codes (utility 'slver' may be found in package directory). Note: Command ATI7 shows installed country setting. 7. Using the modem. Installation will automatically create character tty device entry '/dev/ttySL0' with major number 212 and symbolic link '/dev/modem'. Use one of them as modem device for your dialing application. 8. Uninstallation. In package directory just type: # make uninstall Using RPM ========= 1. Build SRPM and RPM from tar.gz package: In order to build RPM and SRPM run command: # rpm -ta slmdm-2.6.X.tar.gz It will build in your RPM directory: - slmdm-2.6.X-Y.src.rpm - Source SRPM package - slmdm-2.6.X-Y.i386.rpm - Core Modem RPM package - slmdm-amr-2.6.X-Y.i386.rpm - AMR/CNR/PCI Modem driver - slmdm-usb-2.6.X-Y.i386.rpm - USB Modem driver 2. Install To install Modem core package run: # rpm -i /path/to/slmdm-2.6.X-Y.i386.rpm To install Modem hw driver run: # rpm -i /path/to/slmdm-amr-2.6.X-Y.i386.rpm if you are going to use AMR/CNR/PCI Modem, or # rpm -i /path/to/slmdm-usb-2.6.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. 3. Uninstall. # rpm -e slmdm slmdm-<amr|usb> Getting Started =============== After successful installation and configuration modules will be loaded on demand if you are using 'kmod' in linux kernel. Also you can load modules by hand: # modprobe slamrmo if you are using AMR/CNR/PCI modem, or # modprobe slusb if you are using SmartUSB56 Modem. Troubleshooting =============== If you get an error message during installation/configuration or loading the modules like 'slmdm.o: unresolve symbols ...' it may mean that package was prepared for different linux kernel version that you have. Run command 'slver -k' (may be found in package directory) to see what version of linux kernel was used for preparing package. Unfortunately it is no so flexible currently (we are working about it) to support all versions of linux kernel. So try to obtain appropriate release of the modem package or upgrade kernel. =============== =============== =============== =============== |
I would suggest going the route of building a rpm. It looks like they've took pains to make that process easy. Good luck. :)
|
If you get any error message, copy them from the terminal into a text file and then paste them here.
|
All times are GMT -5. The time now is 01:28 PM. |