Pages

Friday, May 20, 2011

Basic X-terminal Commands

Basic X-terminal Commands

** X-terminal is like command prompt in windows. Its the best way to install apps and do other stuff.



**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

20 comments:

  1. Hi,
    Is there a command to show a list of all application which are installed? I am trying to remove as many unused apps as possible to give me longer battery life.

    Thanks

    ReplyDelete
  2. iinstall faster application manager. Its easy ;)

    ReplyDelete
  3. Hi,
    Faster applications manager?

    is this in the standard catalogues?
    Which one would you recommend?

    Thanks for your help.

    ReplyDelete
  4. Got It.

    Trying it now.

    Will let you know how i get on

    Thank You :@)

    ReplyDelete
  5. WHAT AN AMAZING APP.

    Having problems with an error message saying unable to update all catalogues check connection or something but this is exactly what i was looking for.

    Thanks a Million

    ReplyDelete
  6. Hi Again.......
    When it tries to update catalogues i get an error message
    "Failed to update some or all of the catalogues. Check your network connection and /or repository configuration"

    I know the connection is fine but I have no idea whrere to check the repository configuration or even what it should be.... :(

    Can you help me please?

    ReplyDelete
  7. Hi,

    Got it sorted.

    One of the catalogues was a US thing which I simply deleted and it all updated fine.

    Thanks for everything!!!

    ReplyDelete
  8. @muzaffar_d - Please visit these links and use power search option.. You can find a complete answer for your question from there..

    wiki.maemo.org
    talk.maemo.org

    ReplyDelete
  9. Hi Feel Free
    I have read your tips and I find them very interesting. I am a newbie to xterminal could you help by giving a tutorial on how to get the cursor to the next line to complete a line of codes or should I press enter after every line.
    Help!

    ReplyDelete
  10. Hey everyone. I have one question, have many mini adapters rj45-to-usb, but i think that adapters need a driver to be installed. Its possible to this devices can be work on N900??

    ReplyDelete
  11. How to watch live TV on a Nokia N900 using DVB-T USB adapter

    ReplyDelete
  12. How to use Ethernet via USB-RJ45 adapter in nokia n900

    ReplyDelete
  13. when i enter apt-get ....it says enter password..installed rootsh...very much new to n900 actually..almost a week ago..

    ReplyDelete
  14. hi please tel me the easy way to install Android please

    ReplyDelete
  15. Hello, when I want to erase the game supertx 2 I enter the commands apt-get remove "supertux 2" But write to me
    "E:could not open lock file/var/lib/dpkg/lock - open (13 per mission denied"
    E:unable to lock the administration derectory (/var/lib/dpkg/) are you root ?"
    so What should I do ??

    ReplyDelete
  16. when l enter cd/home/user/Mydocs it says "not found" what do l do to get through this

    ReplyDelete
  17. i want to flash my N900 with this new firmware RX-51_2009SE_21.2011.38-1_PR_COMBINED_MR0_ARM.bin , and install android on it after i finish , can anyone help me i forget alittle , write me back ,or use my facebook https://www.facebook.com/sid.nowhere

    ReplyDelete
  18. Hi is there any still save nokia n900 ?

    ReplyDelete