How to Install .deb Files on Nokia N900 Using X Terminal

I previously shared an easy guide to install .deb files on the Nokia N900 using Red Pill mode, but that functionality has been removed on the latest firmware updates. Another method to install .deb files requires using X Terminal, but it could be overwhelming at first. I think I understand it better now, so here’s a guide to help you install those files on the Nokia N900, too.

Before you continue, use common sense and only install .deb files from trusted sources! Some developers provide these type of files for users to test their applications. In this guide, coder Chris Burris allowed me to use his upcoming FourSquare app dubbed BarrioSquare as an example. Check out the BarrioSquare group page to join the testing.

The Download

Let me first show you how I downloaded the .deb files. I simply clicked on the download link from a webpage and the browser asked where I want to save it to. I chose the default, which says, Location: Nokia N900.

Nokia N900 Download
Browser asks to download the .deb file

Nokia N900 Barriosquare
Browser asks where to save the file

The Installation

1. First, install rootsh to enable root access.

2. Open X Terminal on the Nokia N900, type sudo gainroot and press enter. This will not work if you skipped the first step.

Nokia N900 Gainroot

3. I find it easier to go into the same folder where the .deb is located. The cd TheNameOfDirectoryHere command changes your location to that directory. Therefore, if you downloaded the file in the default folder, type cd MyDocs

Nokia N900 x Terminal

4. Check if the .deb file is in your current folder by typing ls. This command lists the contents of your current folder. You know you’re in the right folder if you see the .deb file on the list.

Nokia N900 Xterminal

5. Now that we’re in the same folder as the .deb file, we can install it using the command dpkg -i TheNameOfFileHere.deb

Nokia N900 x Term

6. That’s it! That’s how you install .deb files on the Nokia N900. You should also note that some .deb files (like BarrioSquare) will not install without other files preinstalled. These are called dependencies. Read developers’ full instructions to see whether dependencies are needed.

Nokia N900 BarrioSquare 1

  • Shell Prompt

    Some hints that save typing:

    1. “sudo gainroot” can be shortened to just “root” if package rootsh is installed. The difference is that “root” places you in “/root” instead of “/home/user”.

    2. You don't want to be typing long filenames and directory names. It's tedious and you risk mistyping them. Just type the first few characters and press “Tab” under the terminal window.

    An example. “$” and “#” are the shell prompts. Don't type them.

    $ root<Enter>
    # cd /h<Tab>u<Tab>M<Tab><Enter>
    # dp<Tab> -i ba<Tab><Enter>

    • http://twitter.com/thilinapr Thilina

      thanks for the tip!

    • Assaf

      how do I find the tab key?

  • http://thenokiablog.com Mark Guim

    Whoa, thanks for the tip! Tab makes it MUCH faster to type filenames!

  • http://viqsi.livejournal.com/ Viqsi

    I'd also suggest looking at some documentation on APT, which is the tool that sits between dpkg and the Application Manager. There's a useful guide here: http://newbiedoc.sourceforge.net/system/apt-get… – just ignore anything talking about apt-setup, as Application Manager takes care of those steps itself (and you don't want to interfere with it). Section 3 is especially useful because you can search to see if dependencies for packages you install manually happen to be available (Application Manager normally doesn't list everything so as to simplify the experience).

  • http://twitter.com/Alphamax Alphamax

    battery died in the middle of installation. how do I uninstal? app is not showing via app manager.

  • jow91

    When you install debian files with xterminal. Do they use root memory or only the 2GB. And does is effect the speed of the device. Thanks!

  • macdea

    You'll also want to be sure the application manager is not running because that will stop the .deb package from being installed.

  • reo

    plz plz help it says “status database locked by another process”

    • http://twitter.com/thilinapr Thilina

      close Application Manager and try again

      if not try restarting the device and try again

  • reo

    plz plz help it says “status database locked by another process”

  • Manzoor Obiady

    how to solves pqy pynthon in n900

  • Qiuzux

    Excellent! It is very easy for others to study with such pictures.

  • Qiuzux

    Would you please tell me what commands i should use for running .jar file under X-Terminal in Nokia N900? Thanks.

  • Hossein59322

    please help me fot install tar file in nokia n900 by x terminal
    i need operation codes to install tar or tar.gz or tar.bz by x terminal

  • Khalilrezai

    every time i try to install “chromium” it says “unable to install “amsn” some application packages required for this installation are missing”
    how can i fix this problem?
    plzz help me
    any answer

  • http://twitter.com/bokiju_ Bojan Mitrovic

    need help… my said can´t cd to NameOfFolder…
    whole line :
    /bin/sh: cd: can´t cd to Instalacije
    can you help???

  • Jesindee

    plz help me ….how to work usb on n900
    can any 1 show me the full process plz……………..

  • Vonpants

    plz help what do i write if i have download the file into download folder
    not MyDocs

    as i write in x terminal cd downloads or N900/downloads and it does not find the folder

    thx

    • Gamgigo

      cd MyDocs/downloads

  • Obiblue

    thankz a lot for this …

  • Mindeasd

    I have entered but why not open it for me bariosquare? it is a constant close. as installed applications? Thanks

  • Munzimsm

    some videos not working

  • http://www.facebook.com/navas.vadakkangara Navas Vadakkangara

    thank you.. bro…

  • noji

    how to open x terminal

    • Subscribe to RSSSubscribe to the Nokia blog
    • Receive new posts by email

  • Sponsored Links

      • Nokia Samsung iPhone LG LCD Display Flex Cable Back cover digitizer like mobile phone parts supplier.
      • Mobile Phone Insurance, great cover & low excess from £6.99 a month
      
  • Sponsors

  • Price Checks