30

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

karel
  • 114,770
sjakobi
  • 869
  • 1
  • 8
  • 15

3 Answers3

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
sjakobi
  • 869
  • 1
  • 8
  • 15
  • 14
    And why should we trust this script? – Martin Thoma May 26 '14 at 07: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. – Kevin Herrera Aug 05 '14 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. – Martin Thoma Aug 05 '14 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 Mar 12 '18 at 06: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 Apr 17 '18 at 03:35
  • People, the script is hardly 10 lines of brain-dead easy bash. You probably shouldn't use Ubuntu/Linux unless you are willing to make a small effort for some less important things (like a random font). So yes, read the script and then decide whether to trust/run it or not. You can get it with wget https://raw.github.com/cstrap/monaco-font/master/install-font-ubuntu.sh. – Edward Garson Mar 27 '20 at 14:24
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"
Martin Thoma
  • 19,277
  • 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.) – Teemu Leisti Feb 25 '17 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
greuze
  • 219