This site tells you where to find lots of binaries and source files,
but how do you install them? Binaries are pretty easy.
If the file ends in .rpm, you type:
rpm -i filename.rpm
If you get an error about "not an rpm file," first make sure you
downloaded the file in binary mode. (In ftp, type 'bin', in Fetch,
make sure it's 'raw data', and make sure to use the -r option with the
hfsutils.) Barring that, make sure you have the latest rpm from
mklinux.apple.com. You may have to install each version on the site
incrementally to get all the way up to the latest. (WHY can't they
release the rpm program in a format other than rpm!? SHEESH!)
[Addendum: If you use rpm -ivh, you'll get in addition a nice progress
bar consisting of #-signs. -- Kenneth Lu, kenlu@mit.edu]
If the file ends in .tar, .tgz, or .tar.gz, you
do one of these:
tar -xvpf filename.tar if the file is .tar
or tar -xvzpf filename.tar if the file is .tgz or .tar.gz
If you get an error about "not a tar file" or "not a gzipped archive,"
see the comments above about downloading in binary mode.
[Addendum: If you find a file that just ends in .gz, no "t" or "tar"
anywhere, use: gunzip filename (this will work on .tar.gz's, too and
will convert those to .tar's). If the file is supposed to be an
executable, try "chmod 755 filename" and running it. -- kenlu]
For sources, you should already have enough experience to install the
package, read the README or INSTALL file, and follow the directions,
which may include modifying a C header file or a Makefile. Often,
though, just "make install" is enough.
jonh@cs.dartmouth.edu
See also, /Applications/RPM. "How do I compile a package that I
downloaded as a source RPM?"
sjohnson@datadungeon.com
There's a webpage with the descriptions of what many RPM packages do:
http://www.duke.edu/~wj/linux/rpmdesc.html
wj@acpub.duke.edu kenlu@mit.edu, jonh@cs.dartmouth.edu, sjohnson@datadungeon.com, wj@acpub.duke.edu, ddkilzer@earthlink.net |