View Single Post
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#14
How to use apt-get:

Note and WARNING:
You should only do this if you are very comfortable hacking on your 770… Messing this up will disable the application installer at the very least. Or even brick your N770.

To use apt-get you will need the following installed in your N770:

xterm


you must also have root acces. ( https://maemo.org/maemowiki/HowDoiBecomeRoot2 )

once xterm is installed you can call on xterm once xterm is up gain root acces.

Code:
login as: user
user@10.30.2.115's password:


BusyBox v1.01 (Debian 3:1.01-4.osso10-ipv6.etc1) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo su -
Password:


BusyBox v1.01 (Debian 3:1.01-4.osso10-ipv6.etc1) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia770-26:~#
Once you gain root you can call on apt-get.
Code:
Nokia770-26:~# apt-get update
By default apt-get is installed on OS2006 there is no further step required.
Here are a few commands that you will use in apt-get often.

apt-get -u update (Will look for all updates available to maemo in verbose mode)
apt-get --reinstall install packege.deb (Will reinstall the packegealready installed from the sources)
apt-get remove packege (Will remove the packege)
dpkg --install /path/to/package_name.deb (Will install a local packege)

Not that removing pkgs from the command line can be very dangerous and can cause your N770 to be very unstable.
TIP: When removing a pkg watch for the dependencies that are going out with it. Is very dangerous that you do as some dependencies are use by other packeges or system files and if remove you can brick your device.
TIP: I do not recommend to use apt-get (From CLI) to install a file from the souces.list but you can if you want too. If you are going too you are going to be required to transfer the GPG keys to the trusted keyrings for apt-get. Not all repos are required to have the GPG but maemo-hackers requires the GPG key if you want to use CLI. For more info please read http://wiki.debian.org/SecureApt#hea...a4bbe3ff6bb9dc

Note: if you are going to install regular packeges you dont have to worry about a GPG key you can just call on apt-get like so:

Code:
apt-get install kismet
The only repo that reuires a key is maemo-hackers.

Last edited by SeRi@lDiE; 2007-01-08 at 06:27.