maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   untar files (https://talk.maemo.org/showthread.php?t=29879)

echuchee 2009-06-26 04:31

untar files
 
im very new to the nokia n810 and a lot of apps i want are in a .tgz format. i looked around and people keep talking about untarring, can someone please explain this process to me?

jperez2009 2009-06-26 04:44

Re: untar files
 
Welcome to the Maemo Talk forums and to the mobile Maemo Linux community.

Unlike Windows/Mac systems, untarring won't give you directly executable files. To untar, you'll need an untar program from the Application Manager. Once you have that, this open up the Terminal (X-Term). If you downloaded the tar files to one of your local directories (in this case, the Nokia N810 folder), then just type in the terminal:

Code:

tar xvzf <filename>.tgz <name of folder you want to extract to>
Now, if you are familiar with Linux, then you should know what to do. If you are also new to Linux, then programs that come form tar files are usually either source code and have to be compiled (which is generally not recommended on the tablet) or programs that need to be configured to run using intermediate/advanced Unix Command-Line skills.

If that doesn't sound like something you want to do, head over to Downloads and see if they have some programs you want. Also keep in mind that standard Linux apps won't work on the tablet as they are made for x86 PC's and not for a tablet using an ARM processor. It just won't work.

If you have any other questions, just ask!

Jesse~

echuchee 2009-06-26 04:51

Re: untar files
 
i got a few more questions, what are some untar program names? and what would the code look like if my .tgz started in a different directory other than the nokia n810 folder(is it like /folder name/file name?)

jperez2009 2009-06-26 05:06

Re: untar files
 
I'm personally using gnutar and gnuzip (both found in the Application Manager using search).

Quote:

Originally Posted by echuchee
what would the code look like if my .tgz started in a different directory other than the nokia n810 folder(is it like /folder name/file name?)

Easy!

Code:

tar xvzf /<folder>/<filename>.tgz <folder you want to extract to>
Jesse~

echuchee 2009-06-26 05:15

Re: untar files
 
thanks, ill try that tomorrow after some sleep :)

Andre Klapper 2009-06-26 09:29

Re: untar files
 
If you talk about *installing* applications here I recommend to install .deb files (simplified speaking these are the .tgz/.tar.gz files compiled as a runnable program instead of the sourcecode, but still that does not necessarily mean that they have been ported to Maemo, e.g. when it comes to the screen size).
With apps from http://maemo.org/downloads/ you should be on the safe side.

echuchee 2009-06-26 17:04

Re: untar files
 
how can i untar files in the internal memory card or any memory card? i can't find the right directory to put in

and even after i move the .tgz onto the nokia regular directory it still says it can't find the directory, i typed it in exactly how u said it in the code : tar xvzf /games/(file).tgz /games

ive installed gnutar and gnuzip

jperez2009 2009-06-26 17:20

Re: untar files
 
You'd have to navigate from there. Simple way of doing this:

1.) Go into the Terminal (X-Term) and type these commands

Code:

cd /
cd media/mmc*

* - type mmc1 for the external (removable) card and mmc2 for the internal card.

After that, use the code above and you'll untar the files!

Jesse~

echuchee 2009-06-28 03:13

Re: untar files
 
thanks that worked :)

jperez2009 2009-06-28 03:17

Re: untar files
 
No problem! :D

Jesse~


All times are GMT. The time now is 01:40.

vBulletin® Version 3.8.8