28

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

36

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
  • 10
    And why should we trust this script? – Martin Thoma May 26 '14 at 7:18
  • 4
    @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 5 '14 at 16:57
  • 3
    @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 5 '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 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 Apr 17 '18 at 3:35
24
  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"
  • 3
    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
7

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
  • no need to run mysterious scripts from the web, just two simple commands... – opensas Apr 17 '18 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) – Paulo Marcel Coelho Aragão Jun 30 '18 at 21:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.