LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-22-2006, 08:41 AM   #1
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Rep: Reputation: 30
How do you install a (tar.gz)file?


I need to install "kdcpi-0.0.3.taz.gz". I extracted the files. but thats all. No config file is listed in the extracted files. I'd like to run the digital camera program. Thanks
 
Old 03-22-2006, 08:42 AM   #2
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Original Poster
Rep: Reputation: 30
CORRECTION: NOT taz.gz>>>>tar.gz

I wanted to clarify that.
 
Old 03-22-2006, 09:17 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
This software is ready to use once extracted. All you need is an installation of perl. Change to the kdcpi directory and type './kdcpi-gtk'.
 
Old 03-22-2006, 10:52 AM   #4
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Original Poster
Rep: Reputation: 30
I don't know what I'm doing wrong??

I clicked open the tar.gz file. The archive manager opened all the files. The list has kdcpi & kdcpi-gtk in it, but the file type is listed as unknown. What do I do? I'd like to run this program, I don't know why they make it soo difficult to run a program. Suse 10 has all those Perl programs installed, I checked. Thanks
 
Old 03-22-2006, 11:04 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
First, the archive needs to be extracted. Right-click the file and select "Extract..." -> "Here". In my case, I could run the program from command-line with the above mentioned command (./kdcpi-gtk). It probably doesn't run by clicking because it's actually the perl interpreter that has to be run. I am not on Linux right now, but usually the first line of the program needs to contain an identifier like '#!/path/to/perl'.
 
Old 03-22-2006, 12:30 PM   #6
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Original Poster
Rep: Reputation: 30
I selected and rt clicked the tar.gz file.

I then clicked "extract here". Nothing happened??? Now what do I do...LOL.....PS>>>>Thanks for helping me out...:-)
 
Old 03-22-2006, 12:58 PM   #7
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Original Poster
Rep: Reputation: 30
OK, I extracted the file, I now have the same program listed with a manilla folder

above it. I clicked open in terminal and typed the following: doug@linux:~/kdcpi-0.0.3> kdcpi
usage:
./kdcpi camera port speed command [ command arguments ]
doug@linux:~/kdcpi-0.0.3> kdcpi-gtk
Can't locate Gtk.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i586-linux-thread-multi /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl .) at ./kdcpi-gtk line 31.
BEGIN failed--compilation aborted at ./kdcpi-gtk line 31.
 
Old 03-22-2006, 01:13 PM   #8
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
You are asking a question that has been addressed here thousands of times. A forum search before you ever posted would have been sensible. The program in a .tar file needs to be compliled before being used. You need to do enough studying on it to at least grasp the essentials. Start here.
 
Old 03-22-2006, 04:52 PM   #9
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Original Poster
Rep: Reputation: 30
I give up on that. Read it all, Tried it. No good.

I guess I will have to wait for newer/better versions of Gphoto2 that supports my DC210 that are easy to install. Really lousy. So much for using a digital camera. There is a new version out DEC 2005 which supports my camera, but no one told me how to update my version. Can I just update the camlib???? If so, how?
 
Old 03-23-2006, 12:30 PM   #10
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Rickh: This is not a classical 'compiling' problem. He needs perl and some extra perl packages.

Balarabay1: Yes, I admit it's tricky for a beginner. But you can see from the above output that perl is missing gtk.pm. Open YaST Software mamagment and search for perl-gtk. This will provide what's needed (maybe there'll be more, but we see this step-by-step). I haven't tested the other executable (kdcpi), which I assumed to have no graphical interface (this is what gtk provides).
 
Old 03-23-2006, 12:39 PM   #11
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
This is not a classical 'compiling' problem. He needs perl
Instructions for getting perl are included in the Howto linked above.
 
Old 03-23-2006, 01:13 PM   #12
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Fortunately, SUSE has rpm packages of perl. Much easier for a beginner!
 
  


Reply



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 02:48 AM
tar.gz file did not include install file |Spec-ops Linux - Newbie 12 11-17-2005 08:25 AM
How do I install a .tar.gz file? yourwar Linux - Newbie 13 08-11-2005 10:16 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
How to install a .tar file OldSarge Linux - Software 5 04-29-2004 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:07 AM.

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
Open Source Consulting | Domain Registration