Reply
Thread Tools
Posts: 22 | Thanked: 1 time | Joined on Apr 2008
#1
ive done several searches on how install .tgz file on my n800 and i have not found anything that helps me. could somebody give a link or instructions on how to install .tgz files.
Also, what other types of files are you able to install? and is it the same procedure as installing .tgz files?
Thanks!
 
krisse's Avatar
Posts: 1,540 | Thanked: 1,045 times | Joined on Feb 2007
#2
I assume you've already tried the much easier method of installing apps from maemo.org/downloads?
 
Posts: 22 | Thanked: 1 time | Joined on Apr 2008
#3
yes i have, but but this app is from another source.
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#4
Originally Posted by flappy89 View Post
could somebody give a link or instructions on how to install .tgz files.
Files with a ".tgz" extension are commonly called tarballs. They're the ".zip" files of the Unix world. In other words, they're compressed archives of files, not installable packages.* These compressed archives more often contain source code than compiled applications.

You'll need to launch X Terminal and use "gunzip" and "tar" to extract the contents of your tarball:
Code:
$ gunzip filename.tgz
$ tar -xvf filename.tar
Are you sure you have an application for your tablet inside your .tgz file though? You may want to make sure you didn't download the source code to an application by mistake.


* Exception: Slackware Linux uses .tgz files for installable packages. Those packages won't work on your tablet though.
 

The Following 3 Users Say Thank You to sjgadsby For This Useful Post:
Posts: 22 | Thanked: 1 time | Joined on Apr 2008
#5
thank for the instructions sjgadsby. i am pretty sure that the file is not the source code. I did try and do the commands in Xterminal but it said that “there is no such such file or directory.” is that because it is a source file or what?
Thanks
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#6
Pasting the exact error message really helps.

The short way (1 command) is
Code:
tar xvzf filename.tgz
The -z flag for tar makes it decompress a gzipped tar first.
(Note that the z flag is a GNU extension.)

Of course, you must be in the same location as the .tgz, or specify the path as well.
It will extract the files in the current directory.

Last edited by Benson; 2008-05-10 at 22:06. Reason: sjgadsby reminded me it's a GNU extension...
 

The Following 3 Users Say Thank You to Benson For This Useful Post:
Posts: 22 | Thanked: 1 time | Joined on Apr 2008
#7
i cant figure out how to specify the files path. how would i go about that?
Thanks
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#8
/path/to/file
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#9
Originally Posted by flappy89 View Post
i cant figure out how to specify the files path. how would i go about that?
Possibly
Code:
MyDocs/filename.tgz
or
Code:
MyDocs/.documents/filename.tgz
depending upon where you saved the file.

Where did you save the file? (Where does the file appear in the File Manager?)
 

The Following User Says Thank You to sjgadsby For This Useful Post:
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#10
Originally Posted by Benson View Post
The -z flag for tar makes it decompress a gzipped tar first.
Thanks. I'm still not used to tar having that ability, obviously.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:38.