How can I install fonts in Wine?

46,601

You can type this in the terminal:

sudo apt-get --reinstall install ttf-mscorefonts-installer

Then you need to accept license when prompted, you use TAB and ENTER to accept the license.

If the above doesn't work try one of these ways to mannually add the fonts:

You can paste Windows fonts to /home/YOURUSERNAME/.wine/drive_c/windows/Fonts.

Or you can paste Windows fonts to /usr/share/fonts/, although to enable paste option in there you need to open Nautilus as root:

gksu nautilus /usr/share/fonts

And then you will be able to paste Windows fonts there.

Share:
46,601

Related videos on Youtube

User 1596
Author by

User 1596

Updated on September 18, 2022

Comments

  • User 1596
    User 1596 over 1 year

    I am using Ubuntu 12.04 and I just installed Wine.

    sudo add-apt-repository ppa:ubuntu-wine/ppa 
    sudo apt-get update 
    sudo apt-get install wine1.5 
    sudo apt-get install winetricks 
    

    The installation was not fully successful because it gave me the error that fonts were not installed.

    Without the fonts I cant open any program. I have tried to copy fonts from Windows to /usr/share/fonts but there is no paste option.

    Also I have googled and saw somewhere that you can install fonts via winetricks. If so, how does it work? Can I open winetricks? How can I do the install?

    Regards

    • RobotHumans
      RobotHumans over 11 years
      You should specify exactly how you are trying to install wine. I usually already have restricted-extras installed in the beginning, but it sounds like that might be the problem. Install from the wine edgers ppa goes fine for me.
    • User 1596
      User 1596 over 11 years
      Yes i installed from that Thats how i did it: sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install wine1.5 sudo apt-get install winetricks But it gave me error it didnt install fonts :(
    • RobotHumans
      RobotHumans over 11 years
      Install the msttcorefonts and see if it works. askubuntu.com/questions/134549/…
    • User 1596
      User 1596 over 11 years
      ttf-mscorefonts-installer is already the newest version.
    • RobotHumans
      RobotHumans over 11 years
      :/ try the full restricted-extras. the install worked here
    • User 1596
      User 1596 over 11 years
      sorry i don't understand What do u mean by try the full restricted-extras
    • RobotHumans
      RobotHumans over 11 years
      ubuntu-restricted-extras
    • User 1596
      User 1596 over 11 years
      still doesnt work i will try reinstalling wine again
  • User 1596
    User 1596 over 11 years
    So in order for wine to work, where i should paste the fonts? On wine folder or /usr/share/fonts/ ?
  • Rodrigo Martins de Oliveira
    Rodrigo Martins de Oliveira over 11 years
    Try wine folder first, if it doesn't work try /usr/share/fonts/
  • User 1596
    User 1596 over 11 years
    Actually there wasnt any fonts folder on .wine/drive_c/windows/Fonts so i created one.Now i can open some .exe but there are some that i can't open.For example when i try to open software called web cruiser in taskbar in ubuntu is says opening webcruiser.exe and then it dissapears
  • Rodrigo Martins de Oliveira
    Rodrigo Martins de Oliveira over 11 years
    So you've successfuly pasted Windows fonts there? If so font's problems may be fixed and possible not oppening webcruiser.exe is another problem? Try pasting fonts in '/usr/share/fonts/' folder too.
  • Rodrigo Martins de Oliveira
    Rodrigo Martins de Oliveira over 11 years
    Hmm, the last thing I can think is to try reinstalling wine: sudo apt-get --reinstall install wine
  • User 1596
    User 1596 over 11 years
    That didn't work again but thanks anyway for helping.