User:DanielDrake/Notes: Difference between revisions
Jump to navigation
Jump to search
(New page: install git, fedora-rpmdevtools run rpmdev-setuptree install custom kernel: http://fedoraproject.org/wiki/Docs/CustomKernel) |
DanielDrake (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
= RPM dev = |
|||
⚫ | |||
== initial setup == |
|||
⚫ | |||
* 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 == |
|||
⚫ | |||
* as your user: <tt>rpm -ivh foo.src.rpm</tt> |
|||
= links = |
|||
⚫ | |||
** 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
- F9: http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/source/SRPMS/
- or: yumdownloader --source <package>
unpacking source RPM
- as your user: rpm -ivh foo.src.rpm
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