PDA

View Full Version : [ubuntu] How do I execute programs with tar.gz



teslman98
November 24th, 2012, 10:06 PM
Hello!!!
I was wondering if anyone out there would be so kind as to help me figure this out.
I am new to Ubuntu and REALLY like it, but there is one program that I must have in order to use this great OS.

Thanks a lot,
N00b

qamelian
November 24th, 2012, 10:12 PM
File names ending in tar.gz are just archives, like zip files. They can contain executables, source code, or just about anything. If you tell us what you're trying to install, you are more likely to get useful assistance.

mlentink
November 24th, 2012, 10:13 PM
It depends...

.tar.gz is basically a compressed file format, that can either contain binaries with an installer (usually a '.bin' or somesuch), but could also be source code that would need to be compiled. Take a look here:
http://www.psychocats.net/ubuntu/installingsoftware
and maybe here:
https://help.ubuntu.com/community/CompilingEasyHowTo

papibe
November 24th, 2012, 10:14 PM
Hi teslman98. Welcome to the forums ):P

You can't, but...

A tar.gz file is equivalent to rar file. You first uncompress it, and then you see what was inside. Right click on the file and select 'Extract here'.

After that, there's no rule, but usually there's a README file with instructions on how to proceed further.

I hope that helps. Let us know how it goes.
Regards.

teslman98
November 25th, 2012, 12:30 AM
Ok, so I am trying to download a program called ZoneMinder.
When I open it up I see this:

teslman98
November 25th, 2012, 12:34 AM
that was supposed to be a screen shot...
Does the forum allow pictures?

teslman98
November 25th, 2012, 12:37 AM
I think it is in an attachment.

snowpine
November 25th, 2012, 12:38 AM
Zoneminder is in the Ubuntu repositories, so you can easily install it with a few mouse clicks in the Software Center. :)

http://packages.ubuntu.com/quantal/zoneminder

If you must install it from the tar.gz for whatever reason, then start by reading the README as was already suggested to you. ;)

monkeybrain2012
November 25th, 2012, 12:40 AM
zoneminder is in the respository. Just install it with the software centre.


If you get a tarball the instructions to install is in a file called Install if it exists (or Readme if it doesn't)

teslman98
November 25th, 2012, 12:44 AM
Snowpine,

I went to the link and then to ubuntu software center,
it gave me this error message:

snowpine
November 25th, 2012, 12:47 AM
A properly configured Ubuntu system should not show that error. Please copy & paste the results of the following Terminal commands:


sudo apt-get update
sudo apt-get install zoneminder

teslman98
November 25th, 2012, 12:54 AM
There was another link and when I installed I got another error message.

snowpine
November 25th, 2012, 12:58 AM
A properly configured Ubuntu system should not show that error. Please copy & paste the results of the following Terminal commands:


sudo apt-get update
sudo apt-get install zoneminder

.

teslman98
November 25th, 2012, 12:58 AM
So now on the terminal it says :

snowpine
November 25th, 2012, 01:00 AM
So now on the terminal it says :

Recommend to do what it suggests, then try my suggestion above.

teslman98
November 25th, 2012, 01:09 AM
Ok snowpine,
when I manually ran it, it gave me this message.

snowpine
November 25th, 2012, 01:13 AM
You can fix the CD-ROM error by commenting that line out in your /etc/apt/sources.list file (type a # symbol at the beginning of the line).

I have no idea what the I/O error is all about, sorry. One explanation might be the hardware failure of your drive.

monkeybrain2012
November 25th, 2012, 01:22 AM
Apparently there is a bug.

https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/940632

There are some workarounds on the page you can try.

teslman98
November 25th, 2012, 01:22 AM
Can we go back to post number 12 and see if we can fix that prob?
And by the way pinetree, thank you so much for being so responsive!

monkeybrain2012
November 25th, 2012, 01:25 AM
Can we go back to post number 12 and see if we can fix that prob?
And by the way pinetree, thank you so much for being so responsive!

Not really, as you can see there is a bug in the repository package, you may want to try the tarball route.

Read Install and see what it says.

snowpine
November 25th, 2012, 01:27 AM
Recommend you read either the bug report (https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/940632) (if you wish to install from the repos) or the README (if you wish to install from the tarball).