From 211b35c18cfa2a797f4e3a85801594cea7cd708a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerardo=20Marx=20Ch=C3=A1vez-Campos?= Date: Sat, 14 Nov 2020 14:57:37 +0000 Subject: [PATCH] Update 'Readme.md' --- Readme.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/Readme.md b/Readme.md index d4d17bb..14ac0b6 100644 --- a/Readme.md +++ b/Readme.md @@ -12,3 +12,39 @@ ln -s /home/gmarx/emacs-configuration/.emacs /home/gmarx/.emacs ``` `gmarx` folder is the user's folder, **change for your user's name** + +## Source Code Pro installation + +Put this Bash script in your home folder and run it to install Source Code Pro. Make it executable with: +``` +chmod +x install-source-code-pro +``` + +From your home folder, launch it with: + +``` +./install-source-code-pro.sh +``` + +This file removes all installation files from the ~/Downloads folder when it's done. + +``` + #!/usr/bin/env bash + cd Downloads + wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip + if [ ! -d "~/.fonts" ] ; then + mkdir ~/.fonts + fi + unzip 1.050R-it.zip + cp source-code-pro-*-it/OTF/*.otf ~/.fonts/ + rm -rf source-code-pro* + rm 1.050R-it.zip + cd ~/ + fc-cache -f -v +``` + +## PDF-Tools installation +``` +udo apt-get update -y +sudo apt-get install -y elpa-pdf-tools +``` \ No newline at end of file