wiki:WikiStart

Version 5 (modified by Yuri Dario, 14 years ago) (diff)

Added Documentation section.

RPM&YUM for eComStation (OS/2)

RPM Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. Each software package consists of an archive of files along with information about the package like its version, a description, and the like. There is also a library API, permitting advanced developers to manage such transactions from programming languages such as C or Python. RPM is free software, released under the GNU GPL.

YUM is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm. Yum has a plugin interface for adding simple features. Yum can also be used from other python programs via its module interface.

Current Status

The current code is providing most of the features of RPM and YUM. While RPM can be run from any drive, the YUM code still needs to be executed from your UNIXROOT disk (python requires more fixes).

Documentation

Some basic documentation is available in this wiki; documentation is written to provide some basic information's about RPM and YUM, and to document OS/2 specific features/problems.

  • RPM How-To document for [RPMHowToEndUsers end users].
  • RPM How-To document for [RPMHowToPackagers packagers].
  • RPM How-To document for [RPMHowToDevelopers developers].

If you want to read more about RPM, you can look at this document from Fedora project. Google is your friend if it is not enough :-)

Releases

Testers only: The bootstrap installation is available in zip format from

*http://rpm.netlabs.org/bootstrap/rpm-yum-bootstrap-0.1.zip

Unpack the zip file somewhere and start the install.cmd script. It will install RPM and YUM code into your UNIXROOT drive.

Requirements:

  • UNIXROOT variable defined
  • x:\usr\bin added to PATH
  • x:\usr\lib added to LIBPATH

Be aware that current script does not check environment, it is only meant to be used for testing the code. Also RPM will overwrite all required files into your x:\usr and x:\var trees, so please backup your data before installing.

Python 2.6.5, libxml2, glib2, sqlite3 will also be installed as part of YUM requirements.

Repository

A test repository is being setup at http://rpm.netlabs.org, at the following URL

http://rpm.netlabs.org/experimental/00/i386/

We will provide a package to automatically install this repository, meanwhile create a file x:/etc/yum/repos.d/netlabs-exp.repo with following content:

[netlabs-exp-00]
name=Netlabs experimental repository $releasever - $basearch
baseurl=http://rpm.netlabs.org/experimental/00/$basearch/
enabled=1

or download this file.

While the packages are supposed to work, do not expect them to be free from bugs, also the layout is not final.

Reporting bugs

Reporting bugs and requesting new features is done through the ticket system. You can view existing tickets, add comments to them and create new tickets using the corresponding buttons at the top of every page. If you want to submit a new bug or request a feature, please use the Search function first to make sure there is no ticket for this task already created.

Anonymous access to the ticket system has been restricted due to multiple attacks of stupid spammers we've been suffering from lately. In order to create a new ticket or comment the existing one, you need to login with your Netlabs login id. If you do not have a login id, you can request one at http://www.netlabs.org/en/site/member/member.xml. We are sorry for inconvenience, but at the present time this is the only way to avoid extremely annoying spam.