7. mkdir -p -- /usr/local/share/xmorph/pixmaps
8. cd example; for i in * ;
9. do /usr/bin/install -c -d /usr/local/share/xmorph/example/$i ;
10. for j in $i/* ;
11. do /usr/bin/install -c -m 644 $j
12. /usr/local/share/xmorph/example/$i; done;
13. done
14. make[2]: Leaving directory Q/tmp/xmorph-current'
15. make[1]: Leaving directory Q/tmp/xmorph-current'
At this point, the software should be ready to use.
5.6.2. How Does It Work?
A
Since the 1980s, source packages have often contained a script named
The output of
The disadvantage of installing software from source is that you lose the benefits of the RPM database. It can be hard to uninstall the software, and you have no record of which version was installed, when it was installed, what dependencies it requires or satisfies, and which files are associated with it. Any updates must be performed manually, and any conflicts that other updates may cause will not be known in advance.
5.6.3. What About...
5.6.3.1. ...packages that are not written in a compiled language?
These packages may still need processing. For example, the manpages may be in a raw format that needs preprocessing, and scripts may need to be adjusted according to where the language interpreter is installed. In most cases, these packages will have a
5.6.3.2. ...packages that don't have a configure script?
The
5.6.4. Where Can I Learn More?
? The manpages and info pages for
5.7. Making Your Own RPM Packages
While it's fairly easy to install software from source, it's not much more work to build an RPM package, especially if the original source code is well-written and in a traditional tarball. The extra work will make it much easier to track, update, and remove the software installed on your system.
5.7.1. How Do I Do That?
In order to build an RPM, you need to have the original source tarball plus a
5.7.1.1. Preparing to build RPMs
RPMs are digitally signed by the packager. Although this is an optional step, it indicates that the package is from a trusted source and provides a way of verifying that no one has tampered with it.
RPM signatures are generated using GNU Privacy Guard (
$ gpg --gen-key
gpg (GnuPG) 1.4.1; Copyright (C) 2005 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.