- 论坛徽章:
- 0
|
Optional software packages on your ReelBox are maintained by ipkg, the Itsy Package Manager. From the
ipkg wiki
:
ipkg - the Itsy Package Management System
iPKG is a very lightweight package management system. It was designed for Linux installations with severe storage limitations such as handheld computers. iPKG is more than just an embedded Linux flash image builder, (although it does that fairly well). It also allows for dynamic installation/removal of packages on a running system.
Contents[
hide
]
[
edit
] ipkg Description
ipkg
is a simple package management tool. It may be used to create, install and maintain packages and dependencies.
ipkg comes as a command line tool. To use it on your ReelBox, you have to telnet to your ReelBox and issue some commands.
[
edit
] Configuring Package Feeds
To be able to access and install packages with ipkg, you first have to install the file /etc/ipkg/ipkg.conf on your ReelBox. Every package feed gets its own line in this configuration file. The feed is a http server, where ipgk will download the packages available from. There is a file named Packages in the directory of the webserver which lists all packages available from this feed. Go and create an ipgk.conf file containing the known feeds:
File: /etc/ipkg/ipkg.conf
src harruh http://www.onlinelaufwerk.de/download/reelbox/pakete
[
edit
] Getting a List of Packages Available
Using the command
Code: ipkg commands
ipkg-cl update
you will get a list of available packages at each feed configured. These lists are stored on your ReelBox. You may look them up issuing
Code: ipkg commands
ipkg-cl list
A list of packages you may install will be displayed.
[
edit
] Installing Pacakges
Using the command
Code: ipkg commands
ipkg-cl install
(f.e. use apache as )
you may now install a package of your choice. Alternatively, if you are interested in more information about what going on, you may issue
Code: ipkg commands
ipkg-cl -verbose_wget install
This way, you will get some information on the download status and you won't have to wonder about, if downloading got stuck.
[
edit
] Uninstalling Packages
Using the command
Code: ipkg commands
ipkg-cl remove
you may uninstall a package.
Retrieved from "
http://en.wiki.reelbox-maniacs.org/index.php/Optional_Software_Packages_-_Installation_and_Maintenance
"
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/32610/showart_402644.html |
|