December 2000
Intermediate to advanced
800 pages
22h 41m
English
In this project, you'll actually modify an existing package. The modifications will be trivial (and not very useful), but this will take you through the steps required to make minor modifications. The examples are given for an OpenLinux system so that specific directories can be listed, but other RPM-based distributions are very similar.
Install the sources for ed:
# rpm -i /mnt/cdrom/Packages/RPMS/ed-0.2-5.src.rpm
Extract the sources so you can work on them:
# cd /usr/src/OpenLinux; rpm -bp SPECS/ed.spec
Make a copy to work on (you don't want to work on the sources in the BUILD directory):
# cd BUILD; cp -a ed-0.2 /usr/local/src
Make main.c writable:
# cd /usr/local/src/ed-0.2; chmod u+w main.c; vi main.c
Add a line to ...
Read now
Unlock full access