How can I download and install the Roboto Mono font on Ubuntu?

This is the font I am referring to:


It is a monospaced version of the Roboto fonts.

The above page does not have a download link, and the fonts-roboto package only contains the proportional Roboto fonts, so I cannot use this duplicate here...

  • 2
    That's two questions: How to use the Google Fonts website (which seems off-topic here and easy enough to learn from Google), and How to Install Fonts (which is already answered).
    – user535733
    Dec 9 '17 at 2:41
  • @user535733, you answered my question. (I thought there might be a ppa or deb package I could use, but I can download and install manually).
    – PJ Singh
    Dec 9 '17 at 4:34
  • 1
    If you want to install Roboto and not Roboto Mono, see this question
    – Boris
    Sep 7 '19 at 3:16

You can download the .ttf files from the Roboto Mono git repo and put them in /usr/share/fonts/truetype/robotomono with this command:

sudo wget --content-disposition -P /usr/share/fonts/truetype/robotomono https://github.com/googlefonts/RobotoMono/tree/main/fonts/ttf/RobotoMono-{Bold,BoldItalic,Italic,Light,LightItalic,Medium,MediumItalic,Regular,Thin,ThinItalic}.ttf?raw=true

--content-disposition is to accept the file name from github.com (otherwise the files would have .ttf?raw=true at the end, instead of just .ttf) and -P is to tell wget which directory to save the results (the directory and any sub-directories you need to create will be created automatically)

  • 1
    it's a good one - I can see the font with fc-cache , but XFCE-terminal4 doesn't want to see it ! :D
    – wuxmedia
    Oct 12 '19 at 18:31
  • the answer is somekind beginer-friendly but I really like your answer, so fast (Y)
    – Luke
    Sep 24 '20 at 3:23
  • 1
    @Luke the real answer would be to contribute an install script to Debian, so then people could just do sudo apt install fonts-roboto-mono
    – Boris
    Sep 24 '20 at 4:20
  • @balupton thanks, I fixed it.
    – Boris
    Aug 21 at 3:08

Go to this link and click on SELECT THIS FONT. Then a dialog box appears from bottom of the page. Click on that dialog box and then hover on Download icon in the top-right corner of that dialog box. It will open a small dialog box in which you get the following options(links) :-

Use SkyFonts and Download

enter image description here

Click on Download option. It downloads a file named Roboto_Mono.zip. Go to your Downloads folder and extract that zip file. It will create a folder named Roboto_Mono. Open this folder. Inside it, you will find different .ttf files.

enter image description here

Click on each of them(one-by-one) to open it in Font Viewer and then click on Install button in the top-right corner.

Following this procedure, you will have Roboto Mono installed on your Ubuntu system.

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.