Reply
Thread Tools
Posts: 5 | Thanked: 2 times | Joined on Oct 2010
#1
hi friends
i need to how intall tar format by x terminal n900
i need precedure installation and x terminal codes to install tar/ tar.bz/ tar.gz
thanks
 
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#2
Quick reply...
*.tar.gz is standard format for source code of application, usually.
To install an application, you should get .deb, and the command (if the deb cannot be installed by Hildon Application Manager, after opening the deb from File Manager) is
dpkg -i /path/file.deb
(as root?)

file.tar.gz should be:
1. uncompressed to a directory;
2. compiled to a deb, like:
cd to the directory and run command
dpkg-buildpackage
it will create a deb to be installed

What file.tar.gz are you trying to install?
 

The Following User Says Thank You to Wikiwide For This Useful Post:
azizija's Avatar
Posts: 30 | Thanked: 11 times | Joined on Oct 2010 @ malaysia
#3
here some basic x terminal command for new user and for unexperienced user non-linux base..hope its can help..
other experiences user hope you can share another command here..

2. Basic X-Terminal Commands
Be sure you install rootsh in order to use most all of these commands, and to install/remove applications FIRST. You can download the rootsh from your appmanager.

Root – takes you to the MAIN root folder (like c:/ in windows)

Sudo gainroot – takes you to the user root folder: /home/user and allows you to use commands to control processes

Cd MyDocs – takes you to the folder that is named “N900” or whatever you name your device.

This is the same place that you see when you open the file manager and choose your N900 or Memory Card. When you Choose N900, this is the “MyDocs” you just cd’ed to.

apt-get install [application name] - to install application from the repositories activated

apt-get update = updates local metadata detailing what apps are available in the repositories

apt-get upgrade -y = upgrades any installed apps with newer versions (the -y is optional and just avoids it prompting you as to whether or not to proceed)

apt-get remove “file name” – uninstalls a program/application

apt-get clean = will remove any downloaded package archives. Once the package is installed the downloaded file is no longer needed. The App Man does this automatically but if you're using "apt-get" you'll have to do it manually

apt-get autoclean = same as "apt-get clean" but only removes package archives which are obsolete (no longer in repositories). Having run "apt-get clean it's pointless to run this command.

apt-get autoremove = removes any packages which are no longer needed. These are applications/libraries which were automatically installed because of dependencies but are no longer required

ls = (lower-case “L”)will list all docs and folders in the “folder” that you are in.

apt-get -f install = installs any missing dependencies (which should fix the broken packages issue I had)

free - shows memory detail
__________________
Sharing is caring..be supportive to others
 

The Following 2 Users Say Thank You to azizija For This Useful Post:
Posts: 5 | Thanked: 2 times | Joined on Oct 2010
#4
please say me how can uncompressed and compile tar.gz file
pleas introduce me compile and uncompress software
thanks a lot
 
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#5
Originally Posted by hossein59322 View Post
please say me how can uncompressed and compile tar.gz file
pleas introduce me compile and uncompress software
thanks a lot
As described here
http://talk.maemo.org/showpost.php?p=48970&postcount=5
tar ztvf filename.tar.gz - to list content of .tar.gz file
tar zxvf filename.tar.gz - to extract content of .tar.gz file
I would be thankful if you described what files you see inside the file.tar.gz, so that its function could be understood better.

As mentioned there, .tar.gz might sometimes contain not the source, but the ready to use software.
http://talk.maemo.org/showpost.php?p=805261&postcount=7
Instead of downloading the .deb file you can try to use the tar.gz one. Download the file and unpack it. So, you don't need use dpkg :-)

If the archive does contain some source code, there is (most likely) a Makefile in each directory, without any file extension.

Last edited by Wikiwide; 2010-10-22 at 10:44. Reason: edit
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#6
please people use the f wiki....

http://wiki.maemo.org/Terminal#Basics

e: I am being a medio now:
this thread will be buried in under 2 weeks so deeply here that no-one will find it. but what about wiki? it is still there...
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
 

The Following User Says Thank You to ossipena For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#7
the f wiki hey... as that the specific wiki for grumpy old farts?

Sound advice though
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 5 | Thanked: 2 times | Joined on Oct 2010
#8
when i perform this command : tar zxvf filename.tar in x terminal
error has gived : can't open filename.tar: no such file or directory
i m sure this file exist but i donot know why has happened error
 

The Following User Says Thank You to hossein59322 For This Useful Post:
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#9
Originally Posted by hossein59322 View Post
when i perform this command : tar zxvf filename.tar in x terminal
error has gived : can't open filename.tar: no such file or directory
i m sure this file exist but i donot know why has happened error
To be really sure type ls -l in xterm to list the directory contents.
If the filename is filename.tar, then it isn't compressed
and you don't need the option "z" for uncompressing:
tar xvf filename.tar

And for the tips from azizija
Originally Posted by azizija View Post
2. Basic X-Terminal Commands
Be sure you install rootsh in order to use most all of these commands, and to install/remove applications FIRST. You can download the rootsh from your appmanager.

Root – takes you to the MAIN root folder (like c:/ in windows)
all this commands are lowercase "root" not "Root"
And no, root does not change to the MAIN root folder.
The root folder is "/". This commands enables the root access, which can be dangerous
if you don't know what you do.

Originally Posted by azizija View Post
Sudo gainroot – takes you to the user root folder: /home/user and allows you to use commands to control processes
The same as above

Originally Posted by azizija View Post
Cd MyDocs – takes you to the folder that is named “N900” or whatever you name your device.
This only works if you are already in the users home folde
/home/user
and the right command is cd MyDocs
The change directory arguments can be
relative paths (cd MyDocs) or absolute (cd /home/user/MyDocs)

nicolai
 
Posts: 5 | Thanked: 2 times | Joined on Oct 2010
#10
i m sure, my filname is icedtea6.tar.gz
i can,t install it because has error wheb i perform tar zxvf command
error is : can't open icedtea6.tar: no such file or directory
 

The Following User Says Thank You to hossein59322 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 07:06.