LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 04-26-2008, 07:13 PM   #1
jacatone
Member
 
Registered: Mar 2004
Posts: 284

Rep: Reputation: 30
Need help with a tar.gz file


I'm trying to install a high speed serial port enabler for my motherboard that I downloaded as a tar.gz file. After untaring it, I get a Makefile 2.6 that reads as follows:

ifneq ($(KERNELRELEASE),)
obj-m := viahss.o

else
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
endif

Anyone know how I use this? Is it a script? Doesn't look like something I'd compile. Thanks.
 
Old 04-26-2008, 07:47 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
From a terminal within the un-tarred folder, issue command: make
Normally, in this folder should be a file/document called INSTALL or README or NO!READMEFIRSTDAMNIT, which will tell you how to prepare your system for compiling the necessary modules, and how to compile.
 
Old 04-26-2008, 07:56 PM   #3
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
You need to add kernel module.That file is showing you how to do it.You need to compile it against the kernel source tree if you have 2.6 kernel. So you need a makefile like this.
 
Old 04-27-2008, 02:36 AM   #4
jacatone
Member
 
Registered: Mar 2004
Posts: 284

Original Poster
Rep: Reputation: 30
I'm not that experienced with Linux. How would I add a kernel module? I'm using Kubuntu 7.10 with the 2.6 kernel. Thanks.
 
Old 04-27-2008, 05:27 AM   #5
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Well that is not something to reply in one post.Here's the link you should check http://tldp.org/HOWTO/Module-HOWTO/
 
Old 04-30-2008, 08:00 AM   #6
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
install tar,etc

Slight grumble, if someone is going to give instructions on how to extract and install a tar ball then give them all the details. Everyone must have got instructions from a cheap piece of furniture, got it home and then realised it was writtern (cannot spell) by a jobbing chinese person hoping to earn a crust.

Roy
 
Old 04-30-2008, 09:42 AM   #7
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by Fred Caro View Post
Slight grumble, if someone is going to give instructions on how to extract and install a tar ball then give them all the details. Everyone must have got instructions from a cheap piece of furniture, got it home and then realised it was writtern (cannot spell) by a jobbing chinese person hoping to earn a crust.

Roy
And what are you talking about,I guess it's just something in your mind,but it's not clear.By the way,what instructions have you provided?
 
Old 05-02-2008, 04:18 PM   #8
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
unpacking a tarball

Sorry previous was unhelpful.Take no notice.
 
Old 05-02-2008, 08:06 PM   #9
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
I downloaded the Linux kernel souces in a "tar" file. I think that it was called a "tarball" in this post. You can unpack it with the "tar" command in Linux.

tar -xzf "file.tar.gz"

http://linux.die.net/man/1/tar
 
  


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 04:15 AM
tar -cvzf file.xml file.tar.gz RickHunter_Ve Linux - Software 1 10-06-2004 01:58 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 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