-
Open Terminal:
- Press
Ctrl + Alt + Tto open a terminal window.
- Press
-
Navigate to the Font Directory:
- Use the
cdcommand to navigate to the directory where your font files are located. In your case:
cd /home/asif/Downloads/JetBrainsMono-2.304/fonts/ttf - Use the
-
Copy Font Files to System Fonts Directory:
- Copy the font files to your system's TrueType fonts directory using the
sudo cpcommand:
sudo cp *.ttf /usr/share/fonts/truetype/ - Copy the font files to your system's TrueType fonts directory using the
-
Update Font Cache:
- Update the font cache so that Ubuntu recognizes the new fonts:
sudo fc-cache -f -v -
Verify Installation:
- Open a text editor or any application where you can select fonts.
- Look for "JetBrains Mono" in the font selection list. If you see it, then the font has been successfully installed.
After completing these steps, you should have JetBrains Mono font installed and ready to use on your Ubuntu system.
Top comments (2)
I think you should add that
*.ttffiles can be placed in~/.fontsdirectory if you want to install it for your user only.Also to avoid the clutter in the
usr/share/fonts/truetypeyou can better create a folder for JetBrains fonts before moving the*.ttffiles over there.It works great,Thanks.