User:DanielDrake/Notes: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: install git, fedora-rpmdevtools run rpmdev-setuptree install custom kernel: http://fedoraproject.org/wiki/Docs/CustomKernel)
 
No edit summary
Line 1: Line 1:
= RPM dev =
install git, fedora-rpmdevtools
== initial setup ==
* install packages: fedora-rpmdevtools yum-utils
* run rpmdev-setuptree to create ~/rpmbuild hierarchy and .rpmmacros settings


== obtaining source RPMS ==
run rpmdev-setuptree
* F9: http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/source/SRPMS/
* or: <tt>yumdownloader --source <package></tt>


== unpacking source RPM ==
install custom kernel: http://fedoraproject.org/wiki/Docs/CustomKernel
* as your user: <tt>rpm -ivh foo.src.rpm</tt>

= links =
* install custom kernel: http://fedoraproject.org/wiki/Docs/CustomKernel
** includes some of the above
* how to use rpm: http://www.rpm.org/max-rpm/
* fedora packager's handbook: http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html

= misc =
* query installed sofware version: rpm -q <package>

= additional notes for XO devel =
* other packages needed: git

Revision as of 13:03, 13 June 2008

RPM dev

initial setup

  • install packages: fedora-rpmdevtools yum-utils
  • run rpmdev-setuptree to create ~/rpmbuild hierarchy and .rpmmacros settings

obtaining source RPMS

unpacking source RPM

  • as your user: rpm -ivh foo.src.rpm

links

misc

  • query installed sofware version: rpm -q <package>

additional notes for XO devel

  • other packages needed: git