Monaco is the default font in the iTerm terminal for Mac OS X. How can I install it on Ubuntu?
3 Answers
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
-
14
-
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
-
2This 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.– holmsCommented Mar 12, 2018 at 6:03
-
1I 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...– opensasCommented Apr 17, 2018 at 3:35
- Download it from http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf
- Double click on the file. A font manager opens.
- Click on "Install Font"
-
4Actually, you only need to move the downloaded file to
~/.fonts/
, and commandsudo 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
I installed the Monaco font in Ubuntu 16.04 by doing:
- Download it from https://github.com/hbin/top-programming-fonts/raw/master/Monaco-Linux.ttf
- Copy the downloaded font into
~/.fonts/
- Run
sudo fc-cache -fv
-
no need to run mysterious scripts from the web, just two simple commands...– opensasCommented 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
-