[ubuntu-za] Installing Freetype

David Rubin davidrub at gmail.com
Tue Jun 2 17:49:47 BST 2009


Hi David

On Tue, Jun 2, 2009 at 6:22 PM, David Robert Lewis
<ethnopunk at telkomsa.net> wrote:
> Hi everybody,
>
> I need to install Freetype in order to get my Wine working again. I have
> downloaded the freetype-2.3.9.tar.gz file which contains a makefile. I
> ran make and then make install, but got this
>
> mkdir: cannot create directory `/usr/local/lib/pkgconfig': Permission denied
> mkdir: cannot create directory `/usr/local/include/freetype2':
> Permission denied
> mkdir: cannot create directory `/usr/local/include/freetype2':
> Permission denied
> mkdir: cannot create directory `/usr/local/share/aclocal': Permission denied
> make: *** [install] Error 1
>
> Should I run it again as root? Or do I have to make the directories with
> mkdir?

I would not recommend downloading fonts and trying to install them
using a makefile like you have done. I would rather try to use the
package manager. There is a package called msttcorefonts this package
contains the "Installer for Microsoft TrueType core font" to quote the
description.

If you want to install this from the command line do
sudo aptitude install msttcorefonts

Just for your information and understanding the reason you got that
error message above is because your normal user doesn't have
permisions to write files to `/usr/local/share/' and so on. Basically
you need to be root in order for this to work. (I don't recommend it)
but it would be something like "sudo make install"

Hope this helps
-- 
David Rubin
Email : davidrub[ at ]gmail[ dot ]com
cell    : +27(0)720405455



More information about the ubuntu-za mailing list