Author Topic: Problem installing .tgz file (SOLVED)  (Read 1272 times)

bobestes

  • Guest
Problem installing .tgz file (SOLVED)
« on: August 01, 2010, 10:18:32 AM »
I have downloaded wiring-0026.tgz, but I'm having trouble installing it.  Here's what I've done.

I opened a Konsole window.
Using the command 'tar zxf wiring-0026.tgz' I extracted the files into a directory called wiring-0026.
I changed to that directory and tried to use the ./configure command, and here is the result.

[bob@localhost wiring-0026]$ ./configure
bash: ./configure: No such file or directory

I'm new at this, so I did a search and found the instructions at

http://www.cyberciti.biz/faq/install-tarballs/

Is there a problem with these instructions, or is it something else?

Thanks in advance.

Bob
« Last Edit: August 04, 2010, 07:28:46 AM by bobestes »

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Problem installing .tgz file
« Reply #1 on: August 01, 2010, 10:34:53 AM »
pclinux uses synaptic to install apps, if the app you want is not there you can do a package request so this app can be added to synaptic

if that is not possible(add the app to synaptic) and you decide to install it by hand this is a risk for your installation(security and stability)

this kind of files can come as a installer/binary file but the general rule on linux is give you the files, compile them and create a binary file on your system using libraries and other resources required that are available on your installation

this procedure is complicated if you never done any compilation or programing, another reason to ask the app in package requests

the tgz file is just a type of compressed file similar to .zip so when you extract it what you do is create a folder and extract the contents of the compressed file

you mention a ./configure but you haven't mentioned what files you can find there, the contents of the folder or if when you open the files in a file explorer the icons of any of those files looks like a binary file that doesn't need to be build/compiled

there should be a manual inside the folder that can let you know how to proceed, what does it say, what system requirements/resources ask?  any specific version of a app to compile, a library?

the link you posted is exclusively to use in console but to decompress a file you don't have to use cli only

ark or any other app can handle tgz files and create a folder, to call konsole when you are in dolphin you can press F4 key and it will load a konsole in the bottom of the screen in the same folder you are
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline bitzbox

  • Full Member
  • ***
  • Posts: 197
  • Bradford, England
Re: Problem installing .tgz file
« Reply #2 on: August 01, 2010, 10:35:22 AM »
Do a "ls -la" to see if configure actually exists.
If it does, check the permissions - you may not have the necessary rights to execute it or it may not even be executable.
If it doesn't exist, check to see if Makefile exists. If that exists, type make followed by <Enter> and see what happens.

And yes, the instructions are incorrect because make install should normally be executed as root.

Regards .....
Martin
#357086

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6208
Re: Problem installing .tgz file
« Reply #3 on: August 01, 2010, 10:42:53 AM »

The easiest thing to do is to provide a link to where you downloaded the file and have people look at it to see what you will have to do to compile the program, the best we can do without knowing what is in the archive is speculate and why do that when the info can easily be found?


.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

bobestes

  • Guest
Re: Problem installing .tgz file
« Reply #4 on: August 01, 2010, 04:39:01 PM »
Do a "ls -la" to see if configure actually exists.
If it does, check the permissions - you may not have the necessary rights to execute it or it may not even be executable.
If it doesn't exist, check to see if Makefile exists. If that exists, type make followed by <Enter> and see what happens.

And yes, the instructions are incorrect because make install should normally be executed as root.

Regards .....

Apparently, configure doesn't exist.  I have used this procedure with PCLOS 2009, and it worked fine.  I'm attaching a snapshot of my terminal window.  Maybe that will tell you something.

Bob

bobestes

  • Guest
Re: Problem installing .tgz file
« Reply #5 on: August 01, 2010, 04:54:25 PM »

The easiest thing to do is to provide a link to where you downloaded the file and have people look at it to see what you will have to do to compile the program, the best we can do without knowing what is in the archive is speculate and why do that when the info can easily be found?




How would I go about doing this?

Bob

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Problem installing .tgz file
« Reply #6 on: August 01, 2010, 05:03:15 PM »
share with us the internet address of that file you downloaded

the image of the file list in that cli just shows folders, none make, makefile, readme or configure, it looks like a list of folders that will require or copy paste on multiple places or lots of compilation

it mentions some jave files and i know nothing about java
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

bobestes

  • Guest
Re: Problem installing .tgz file
« Reply #7 on: August 01, 2010, 05:15:45 PM »
share with us the internet address of that file you downloaded

the image of the file list in that cli just shows folders, none make, makefile, readme or configure, it looks like a list of folders that will require or copy paste on multiple places or lots of compilation

it mentions some jave files and i know nothing about java


Here's where I downloaded the file from.

http://wiring.org.co/download/index.html


You will notice that there are versions for Linux, Windows, & Mac.

Thanks for your help.

Bob


genomega

  • Guest
Re: Problem installing .tgz file
« Reply #8 on: August 01, 2010, 05:18:32 PM »
Try this   ./wiring


bobestes

  • Guest
Re: Problem installing .tgz file
« Reply #9 on: August 01, 2010, 05:31:13 PM »
Try this   ./wiring



That worked, Thanks.

The program is not what I thought it was.  Will deleting the files and directory properly delete the program, or is there some uninstall routing that I must use?

Bob

bobestes

  • Guest
Re: Problem installing .tgz file
« Reply #10 on: August 04, 2010, 12:29:17 AM »
pclinux uses synaptic to install apps, if the app you want is not there you can do a package request so this app can be added to synaptic

if that is not possible(add the app to synaptic) and you decide to install it by hand this is a risk for your installation(security and stability)

this kind of files can come as a installer/binary file but the general rule on linux is give you the files, compile them and create a binary file on your system using libraries and other resources required that are available on your installation

this procedure is complicated if you never done any compilation or programing, another reason to ask the app in package requests

the tgz file is just a type of compressed file similar to .zip so when you extract it what you do is create a folder and extract the contents of the compressed file

you mention a ./configure but you haven't mentioned what files you can find there, the contents of the folder or if when you open the files in a file explorer the icons of any of those files looks like a binary file that doesn't need to be build/compiled

there should be a manual inside the folder that can let you know how to proceed, what does it say, what system requirements/resources ask?  any specific version of a app to compile, a library?

the link you posted is exclusively to use in console but to decompress a file you don't have to use cli only

ark or any other app can handle tgz files and create a folder, to call konsole when you are in dolphin you can press F4 key and it will load a konsole in the bottom of the screen in the same folder you are

I much prefer to use synaptic, but sometimes I run across an interesting program that is not in synaptic.  If I check it out and like it, I can request it be added to the repository.  If I don't like it, there is no need to have Tex jump through the hoops required to add it to the repository.  Also, just like in Windows, If I screw up the system too badly, I can format the hard drive and reinstall everything.  This procedure also helps me to learn the system.

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5324
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Problem installing .tgz file
« Reply #11 on: August 04, 2010, 04:57:00 AM »

The easiest thing to do is to provide a link to where you downloaded the file and have people look at it to see what you will have to do to compile the program, the best we can do without knowing what is in the archive is speculate and why do that when the info can easily be found?




How would I go about doing this?

Bob


From you console window the executable file is called wiring, to run it in your console window enter the following

./wiring  and than press return




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5324
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Problem installing .tgz file
« Reply #12 on: August 04, 2010, 04:59:50 AM »
Try this   ./wiring



That worked, Thanks.

The program is not what I thought it was.  Will deleting the files and directory properly delete the program, or is there some uninstall routing that I must use?

Bob


Just delete the folder.  You never built anything it was already a binary file within a .tgz file.  All you did was uncompressed the files that were already built.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

bobestes

  • Guest
Re: Problem installing .tgz file
« Reply #13 on: August 04, 2010, 07:27:54 AM »
Try this   ./wiring



That worked, Thanks.

The program is not what I thought it was.  Will deleting the files and directory properly delete the program, or is there some uninstall routing that I must use?

Bob


Just delete the folder.  You never built anything it was already a binary file within a .tgz file.  All you did was uncompressed the files that were already built.

Thanks, I appreciate the info.

Bob