LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-25-2004, 12:26 PM   #1
vzzt!
Member
 
Registered: Feb 2003
Distribution: MDK 9.2
Posts: 31

Rep: Reputation: 15
how to install tar.gz or convert to rpm


how to install tar.gz
or how to convert them to rpm and install
 
Old 05-25-2004, 12:28 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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.
 
Old 05-25-2004, 12:30 PM   #3
jago25_98
Member
 
Registered: Jun 2001
Posts: 296

Rep: Reputation: 30
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
 
Old 05-25-2004, 01:47 PM   #4
vzzt!
Member
 
Registered: Feb 2003
Distribution: MDK 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
thanks peacedog

jago
please add more details
i do not know where to write these commands etc
 
Old 05-25-2004, 02:49 PM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
In a terminal window...konsole, gnome-terminal, xterm, aterm, eterm...the list goes on....
 
Old 05-25-2004, 03:53 PM   #6
vzzt!
Member
 
Registered: Feb 2003
Distribution: MDK 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
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

Last edited by vzzt!; 05-25-2004 at 03:57 PM.
 
Old 05-25-2004, 04:01 PM   #7
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
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
If you cannot find a rpm, or the rpm complains of dependencies and won't install, try this in a terminal (xterm, konsole, gnome-terminal, etc) (comments are in parens):
Code:
tar xfz foo.tar.gz (if it doesn't work here, try getting that source again)
cd foo/ (or similar)
less README (read any instructions here)
less INSTALL (read any instructions here as well)
./configure (notice the . 'period' before the / important!)
make (wait for the stuff to fly by, could take awhile)
(if not error messages do below, otherwise return here and post error messages)
make install (as root, otherwise will not work)
(follow any more instructions placed out in README and/or INSTALL)
I wish you luck and less frustration. Stick to it and we'll work through it together.
 
Old 05-25-2004, 04:22 PM   #8
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
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.
 
Old 05-26-2004, 05:57 AM   #9
vzzt!
Member
 
Registered: Feb 2003
Distribution: MDK 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
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.
=============== =============== =============== ===============
 
Old 05-26-2004, 08:28 AM   #10
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
I would suggest going the route of building a rpm. It looks like they've took pains to make that process easy. Good luck.
 
Old 05-26-2004, 08:57 AM   #11
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 711

Rep: Reputation: 32
If you get any error message, copy them from the terminal into a text file and then paste them here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
create an RPM install file from tar? Siljrath Linux - Newbie 8 01-07-2005 02:33 PM
How do i install a program (rpm or tar.gz) scripts Linux - Newbie 15 12-26-2004 05:25 AM
How to Install tar, zip, rpm file? AskMe Linux - Newbie 5 09-25-2003 04:13 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 07:30 AM
convert .tar to rpm ? qwijibow Linux - Newbie 1 07-25-2003 01:47 PM


All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration