Random Wisdom

Tag: rpmbuild

Installing MS TrueType core fonts on Linux

by on May.31, 2006, under How To ..., Linux, Software

Instructions obtained from:
http://corefonts.sourceforge.net/

  1. Install cabextract and fedora-rpmdevtools:
    $ sudo yum install cabextract fedora-rpmdevtools
  2. Create the build tree:
     $ fedora-buildrpmtree 
  3. Get the SPEC file:
    $ cd ~/rpmbuild/SPEC && \
      wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
  4. Get the fonts and create the RPM package:
     $ rpmbuild -bb msttcorefonts-2.0-1.spec 
  5. Install the fonts package:
     $ sudo rpm -ivh ../RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm 

Restart any running application to use the new fonts.

Leave a Comment :, , more...

FC kernel rebuild HOWTO

by on Apr.20, 2006, under How To ..., Linux

Paul Howarth has a very nice article here:

http://www.city-fan.org/tips/TweakKernelPackage

The main benefit is that you can use rpmbuild to generate kernel RPMs using the same SPEC file as the distribution itself — resulting in packages that are as easy to handle as those from FC itself.

Leave a Comment :, , , more...