30

Monaco is the default font in the iTerm terminal for Mac OS X. How can I install it on Ubuntu?

3 Answers 3

38

Github user cstrap has a repository with a simple install script that will download and install the font.

Just run the command

curl -kL https://raw.github.com/cstrap/monaco-font/master/install-font-ubuntu.sh | bash
6
  • 14
    And why should we trust this script? Commented May 26, 2014 at 7:18
  • 5
    @moose, I understand what you meant but it came off a bit snarky. We may be able to trust this script because we can view it ourselves and decide if it is safe. Commented Aug 5, 2014 at 16:57
  • 4
    @KevinHerrera: I think a solution that does not need reading (and understanding!) a bash script from a non-official source is always better. That's what I wanted to express. Commented Aug 5, 2014 at 17:40
  • 2
    This is why I dislike ubuntu, because people giving irresponsible actions like this. You need to write actual solution in the comments not just have reference to someone's script in the web.
    – holms
    Commented Mar 12, 2018 at 6:03
  • 1
    I do agree with @holms, that's why I upvoted greuze solution, nevertheless this script could be added as an alternative, but the best answer is the one that also explains you how to do it, and the risks involved in sudoing stuff from the internet, of course...
    – opensas
    Commented Apr 17, 2018 at 3:35
29
  1. Download it from http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf
  2. Double click on the file. A font manager opens.
  3. Click on "Install Font"
1
  • 4
    Actually, you only need to move the downloaded file to ~/.fonts/, and command sudo fc-cache -fv from the Bash command line, in order to rebuild the font cache. (No font manager opened when I clicked the downloaded file, but I'm using Xubuntu, which might account for that.) Commented Feb 25, 2017 at 17:13
10

I installed the Monaco font in Ubuntu 16.04 by doing:

  1. Download it from https://github.com/hbin/top-programming-fonts/raw/master/Monaco-Linux.ttf
  2. Copy the downloaded font into ~/.fonts/
  3. Run sudo fc-cache -fv
3
  • no need to run mysterious scripts from the web, just two simple commands...
    – opensas
    Commented Apr 17, 2018 at 3:37
  • As system-wide fonts are stored under /usr/share/fonts, symmetrically the XDG-standard directory to place user fonts is: ~/.local/share/fonts (you just replace /usr with ~/.local) Commented Jun 30, 2018 at 21:16
  • sudo fc-cache -fv ~/.fonts worked.
    – Luca
    Commented Feb 5, 2022 at 0:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .