Thread: install depend
View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#4
Originally Posted by ha-ab View Post
hi
I'm looking for how to install an app on n900 having no need for me to find it's prerequisites one by one and install them myself, the what i want is to get the app and it's prerequisites all together installed automatically.

thanks
The search for the dependencies is a real pain! The simple list of dependencies of a package you have on your system and want to have installed gives you
Code:
dpkg --list Package_Name_Here
The list of dependencies might also be queried about dependencies themselves and so on ...

That is why a tool like apt-get takes over from the simple package installer dpkg.It is necessary to have rootsh installed to use apt-get via the command line interface (CLI). apt-get knows about repositories, preferences and dependencies. It has a list of all the packages available, which might be queried by apt-cache. This list must be refreshed from time to time over the web
Code:
apt-get update
After retrieving that list, you could start installing
Code:
apt-get install Package_Name_Here
or erasing
Code:
apt-get purge Package_Name_Here
or upgrade all of the system to the newest versions, if feature updates or security fixes were supplied by newer versions of the packages you have installed
Code:
apt-get upgrade
You could also query the list. There are no root rights necessary to use 'apt-cache', you might search for a feeds-reader
Code:
apt-cache search feed reader
reads the package list for names and descriptions containing feed and reader and gives you the list of the package names. You could also browse the list for the dependencies of each package
Code:
apt-cache depends Package_Name_Here
The applications 'Faster Application Manager (FAM)' or 'Hildon Application Manager' (HAM)', are GUIs for the 'apt-get' package management.
 

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