How to use the Adobe Source Code Pro font?












84















Adobe released an open source font family called "Source Code Pro" (download here, Slashdot article here). How do I install it?










share|improve this question





























    84















    Adobe released an open source font family called "Source Code Pro" (download here, Slashdot article here). How do I install it?










    share|improve this question



























      84












      84








      84


      44






      Adobe released an open source font family called "Source Code Pro" (download here, Slashdot article here). How do I install it?










      share|improve this question
















      Adobe released an open source font family called "Source Code Pro" (download here, Slashdot article here). How do I install it?







      software-installation fonts






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 17 at 4:57









      Boris

      30238




      30238










      asked Sep 26 '12 at 7:13









      JanuaryJanuary

      25.7k116788




      25.7k116788






















          7 Answers
          7






          active

          oldest

          votes


















          141
















          1. Download the archive from the Source Code Pro homepage. You can do it also using wget: Open a terminal (ctrl-alt-t or press the win key and type "terminal") and type



            wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip



          2. Unzip the archive (you can use Nautilus for that, or use the following command).



            unzip 1.050R-it.zip



          3. Create a directory in your home directory called ".fonts" (either go to home in Nautilus and create a new folder, or type the following from the terminal)



            mkdir -p ~/.fonts


            If you already have that directory, don't worry.




          4. Move the Open Type fonts (*.otf) to the newly created .fonts directory. In command line, that would be



            cp source-code-pro-*-it/OTF/*.otf ~/.fonts/



          5. If you haven't done it yet, open a terminal, and type



            fc-cache -f -v



          Your font is now ready to use and the applications should be able to see it.



          All in one script for those who simply want to copy/paste the answer



          #!/bin/bash
          set -euo pipefail
          I1FS=$'nt'
          mkdir -p /tmp/adodefont
          cd /tmp/adodefont
          wget -q --show-progress -O source-code-pro.zip https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
          unzip -q source-code-pro.zip -d source-code-pro
          mkdir -p ~/.fonts
          cp -v source-code-pro/*/OTF/*.otf ~/.fonts/
          fc-cache -f
          rm -rf source-code-pro{,.zip}


          If you want to install system wide instead of per user, copy the files to /usr/local/share/fonts/ instead of ~/.fonts/.






          share|improve this answer





















          • 1





            This doesn't let me use this font on Terminal. What should I do to apply this font on the Terminal?

            – user1261084
            Sep 5 '14 at 19:07











          • @SSchneid I've seen your edit proposal and rejected it. Please, either correct the whole answer and replace the dead links with working ones or submit a new answer.

            – MadMike
            Mar 15 '17 at 12:10



















          35














          In order to install Source Code Pro, you can:




          1. Go to Google Fonts

          2. Type source code in the search box (the only match should be Source Code Pro)

          3. Click "Add to collection"

          4. Click on the text sample (this should present all the font styles)

          5. Tick all the check boxes

          6. Click the download icon (a down arrow on the top right) and download as Zip file


          Now you just need to decompress the Zip file into your ~/.fonts folder:



          mkdir -p ~/.fonts/Source_Code_Pro
          unzip Source_Code_Pro.zip -d ~/.fonts/Source_Code_Pro


          You may need to run



          fc-cache -f


          to make the fonts available (no need to log out).






          share|improve this answer



















          • 3





            This is probably the answer that will age the best.

            – user459652
            Sep 2 '17 at 14:23



















          12














          Thanks for the answer, just a modified script to get the latest file



          #!/bin/bash
          FONT_NAME="SourceCodePro"
          URL="https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip"

          mkdir /tmp/adodefont
          cd /tmp/adodefont
          wget ${URL} -O ${FONT_NAME}.zip
          unzip -o -j ${FONT_NAME}.zip
          mkdir -p ~/.fonts
          cp *.otf ~/.fonts
          fc-cache -f -v





          share|improve this answer





















          • 2





            It seems that the project has moved to github at github.com/adobe-fonts/source-code-pro

            – Rudiger Wolf
            Sep 18 '14 at 8:47



















          7














          My answer is similar to the others just updating the URL'S as it seems those are removed. Source code pro's new home seems to be on github. Source code pro on github.



          #!/bin/bash
          mkdir /tmp/adodefont
          cd /tmp/adodefont
          wget https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip
          unzip 1.017R.zip
          mkdir -p ~/.fonts
          cp source-code-pro-1.017R/OTF/*.otf ~/.fonts/
          fc-cache -f -v





          share|improve this answer































            2














            There is also a working third-party debian package on github.



            To install:



            git clone https://github.com/hainp/source-code-pro-deb
            cd source-code-pro-deb
            sudo apt-get install debhelper
            dpkg-buildpackage -rfakeroot -b -uc -us
            sudo dpkg -i ../fonts-source-code-pro_1.017_all.deb






            share|improve this answer































              1














              Based on a GitHub post, this script worked for me. I had to modify the folder names to get it to work.



              version=1.050

              echo "n* Downloading version $version of source code pro font"
              rm -f SourceCodePro_FontsOnly-$version.zip
              rm -rf SourceCodePro_FontsOnly-$version
              font_folder=source-code-pro-2.030R-ro-${version}R-it
              zip_file=${version}R-it.zip
              wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/$zip_file

              echo "n* Unziping package"
              unzip $zip_file
              mkdir -p ~/.fonts

              echo "n* Copying fonts to ~/fonts"
              cp $font_folder/OTF/*.otf ~/.fonts/

              echo "n* Updating font cache"
              sudo fc-cache -f -v

              echo "n* Looking for 'Source Code Pro' in installed fonts"
              fc-list | grep "Source Code Pro"

              echo "n* Now, you can use the 'Source Code Pro' fonts, ** for sublime text ** just add the lines bellow to 'Preferences > Settings':"
              echo 'n "font_face": "Source Code Pro",'
              echo ' "font_size": 10'

              echo "n* Finished :)n"





              share|improve this answer

































                1














                Not exactly what the OP is asking for, but this might be easier.



                You can install the powerline fonts which include slightly modified versions of a bunch of mono fonts which work with powerline for the prompt and Vim with the vim-airline plugin. It kind of gives you an 'awesome' list of source code mono fonts to try out, including "Source Code Pro". To install all the fonts:



                $ git clone https://github.com/powerline/fonts.git --depth=1
                $ cd fonts
                $ ./install.sh





                share|improve this answer





















                • 1





                  If you install it this way, the font is called Source Code Pro for Powerline

                  – Boris
                  Feb 17 at 4:03













                Your Answer








                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "89"
                };
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function() {
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled) {
                StackExchange.using("snippets", function() {
                createEditor();
                });
                }
                else {
                createEditor();
                }
                });

                function createEditor() {
                StackExchange.prepareEditor({
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: true,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                imageUploader: {
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                },
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                });


                }
                });














                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f193072%2fhow-to-use-the-adobe-source-code-pro-font%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                7 Answers
                7






                active

                oldest

                votes








                7 Answers
                7






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                141
















                1. Download the archive from the Source Code Pro homepage. You can do it also using wget: Open a terminal (ctrl-alt-t or press the win key and type "terminal") and type



                  wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip



                2. Unzip the archive (you can use Nautilus for that, or use the following command).



                  unzip 1.050R-it.zip



                3. Create a directory in your home directory called ".fonts" (either go to home in Nautilus and create a new folder, or type the following from the terminal)



                  mkdir -p ~/.fonts


                  If you already have that directory, don't worry.




                4. Move the Open Type fonts (*.otf) to the newly created .fonts directory. In command line, that would be



                  cp source-code-pro-*-it/OTF/*.otf ~/.fonts/



                5. If you haven't done it yet, open a terminal, and type



                  fc-cache -f -v



                Your font is now ready to use and the applications should be able to see it.



                All in one script for those who simply want to copy/paste the answer



                #!/bin/bash
                set -euo pipefail
                I1FS=$'nt'
                mkdir -p /tmp/adodefont
                cd /tmp/adodefont
                wget -q --show-progress -O source-code-pro.zip https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
                unzip -q source-code-pro.zip -d source-code-pro
                mkdir -p ~/.fonts
                cp -v source-code-pro/*/OTF/*.otf ~/.fonts/
                fc-cache -f
                rm -rf source-code-pro{,.zip}


                If you want to install system wide instead of per user, copy the files to /usr/local/share/fonts/ instead of ~/.fonts/.






                share|improve this answer





















                • 1





                  This doesn't let me use this font on Terminal. What should I do to apply this font on the Terminal?

                  – user1261084
                  Sep 5 '14 at 19:07











                • @SSchneid I've seen your edit proposal and rejected it. Please, either correct the whole answer and replace the dead links with working ones or submit a new answer.

                  – MadMike
                  Mar 15 '17 at 12:10
















                141
















                1. Download the archive from the Source Code Pro homepage. You can do it also using wget: Open a terminal (ctrl-alt-t or press the win key and type "terminal") and type



                  wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip



                2. Unzip the archive (you can use Nautilus for that, or use the following command).



                  unzip 1.050R-it.zip



                3. Create a directory in your home directory called ".fonts" (either go to home in Nautilus and create a new folder, or type the following from the terminal)



                  mkdir -p ~/.fonts


                  If you already have that directory, don't worry.




                4. Move the Open Type fonts (*.otf) to the newly created .fonts directory. In command line, that would be



                  cp source-code-pro-*-it/OTF/*.otf ~/.fonts/



                5. If you haven't done it yet, open a terminal, and type



                  fc-cache -f -v



                Your font is now ready to use and the applications should be able to see it.



                All in one script for those who simply want to copy/paste the answer



                #!/bin/bash
                set -euo pipefail
                I1FS=$'nt'
                mkdir -p /tmp/adodefont
                cd /tmp/adodefont
                wget -q --show-progress -O source-code-pro.zip https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
                unzip -q source-code-pro.zip -d source-code-pro
                mkdir -p ~/.fonts
                cp -v source-code-pro/*/OTF/*.otf ~/.fonts/
                fc-cache -f
                rm -rf source-code-pro{,.zip}


                If you want to install system wide instead of per user, copy the files to /usr/local/share/fonts/ instead of ~/.fonts/.






                share|improve this answer





















                • 1





                  This doesn't let me use this font on Terminal. What should I do to apply this font on the Terminal?

                  – user1261084
                  Sep 5 '14 at 19:07











                • @SSchneid I've seen your edit proposal and rejected it. Please, either correct the whole answer and replace the dead links with working ones or submit a new answer.

                  – MadMike
                  Mar 15 '17 at 12:10














                141












                141








                141









                1. Download the archive from the Source Code Pro homepage. You can do it also using wget: Open a terminal (ctrl-alt-t or press the win key and type "terminal") and type



                  wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip



                2. Unzip the archive (you can use Nautilus for that, or use the following command).



                  unzip 1.050R-it.zip



                3. Create a directory in your home directory called ".fonts" (either go to home in Nautilus and create a new folder, or type the following from the terminal)



                  mkdir -p ~/.fonts


                  If you already have that directory, don't worry.




                4. Move the Open Type fonts (*.otf) to the newly created .fonts directory. In command line, that would be



                  cp source-code-pro-*-it/OTF/*.otf ~/.fonts/



                5. If you haven't done it yet, open a terminal, and type



                  fc-cache -f -v



                Your font is now ready to use and the applications should be able to see it.



                All in one script for those who simply want to copy/paste the answer



                #!/bin/bash
                set -euo pipefail
                I1FS=$'nt'
                mkdir -p /tmp/adodefont
                cd /tmp/adodefont
                wget -q --show-progress -O source-code-pro.zip https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
                unzip -q source-code-pro.zip -d source-code-pro
                mkdir -p ~/.fonts
                cp -v source-code-pro/*/OTF/*.otf ~/.fonts/
                fc-cache -f
                rm -rf source-code-pro{,.zip}


                If you want to install system wide instead of per user, copy the files to /usr/local/share/fonts/ instead of ~/.fonts/.






                share|improve this answer

















                1. Download the archive from the Source Code Pro homepage. You can do it also using wget: Open a terminal (ctrl-alt-t or press the win key and type "terminal") and type



                  wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip



                2. Unzip the archive (you can use Nautilus for that, or use the following command).



                  unzip 1.050R-it.zip



                3. Create a directory in your home directory called ".fonts" (either go to home in Nautilus and create a new folder, or type the following from the terminal)



                  mkdir -p ~/.fonts


                  If you already have that directory, don't worry.




                4. Move the Open Type fonts (*.otf) to the newly created .fonts directory. In command line, that would be



                  cp source-code-pro-*-it/OTF/*.otf ~/.fonts/



                5. If you haven't done it yet, open a terminal, and type



                  fc-cache -f -v



                Your font is now ready to use and the applications should be able to see it.



                All in one script for those who simply want to copy/paste the answer



                #!/bin/bash
                set -euo pipefail
                I1FS=$'nt'
                mkdir -p /tmp/adodefont
                cd /tmp/adodefont
                wget -q --show-progress -O source-code-pro.zip https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
                unzip -q source-code-pro.zip -d source-code-pro
                mkdir -p ~/.fonts
                cp -v source-code-pro/*/OTF/*.otf ~/.fonts/
                fc-cache -f
                rm -rf source-code-pro{,.zip}


                If you want to install system wide instead of per user, copy the files to /usr/local/share/fonts/ instead of ~/.fonts/.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jun 1 '17 at 11:23


























                community wiki





                14 revs, 10 users 44%
                January









                • 1





                  This doesn't let me use this font on Terminal. What should I do to apply this font on the Terminal?

                  – user1261084
                  Sep 5 '14 at 19:07











                • @SSchneid I've seen your edit proposal and rejected it. Please, either correct the whole answer and replace the dead links with working ones or submit a new answer.

                  – MadMike
                  Mar 15 '17 at 12:10














                • 1





                  This doesn't let me use this font on Terminal. What should I do to apply this font on the Terminal?

                  – user1261084
                  Sep 5 '14 at 19:07











                • @SSchneid I've seen your edit proposal and rejected it. Please, either correct the whole answer and replace the dead links with working ones or submit a new answer.

                  – MadMike
                  Mar 15 '17 at 12:10








                1




                1





                This doesn't let me use this font on Terminal. What should I do to apply this font on the Terminal?

                – user1261084
                Sep 5 '14 at 19:07





                This doesn't let me use this font on Terminal. What should I do to apply this font on the Terminal?

                – user1261084
                Sep 5 '14 at 19:07













                @SSchneid I've seen your edit proposal and rejected it. Please, either correct the whole answer and replace the dead links with working ones or submit a new answer.

                – MadMike
                Mar 15 '17 at 12:10





                @SSchneid I've seen your edit proposal and rejected it. Please, either correct the whole answer and replace the dead links with working ones or submit a new answer.

                – MadMike
                Mar 15 '17 at 12:10













                35














                In order to install Source Code Pro, you can:




                1. Go to Google Fonts

                2. Type source code in the search box (the only match should be Source Code Pro)

                3. Click "Add to collection"

                4. Click on the text sample (this should present all the font styles)

                5. Tick all the check boxes

                6. Click the download icon (a down arrow on the top right) and download as Zip file


                Now you just need to decompress the Zip file into your ~/.fonts folder:



                mkdir -p ~/.fonts/Source_Code_Pro
                unzip Source_Code_Pro.zip -d ~/.fonts/Source_Code_Pro


                You may need to run



                fc-cache -f


                to make the fonts available (no need to log out).






                share|improve this answer



















                • 3





                  This is probably the answer that will age the best.

                  – user459652
                  Sep 2 '17 at 14:23
















                35














                In order to install Source Code Pro, you can:




                1. Go to Google Fonts

                2. Type source code in the search box (the only match should be Source Code Pro)

                3. Click "Add to collection"

                4. Click on the text sample (this should present all the font styles)

                5. Tick all the check boxes

                6. Click the download icon (a down arrow on the top right) and download as Zip file


                Now you just need to decompress the Zip file into your ~/.fonts folder:



                mkdir -p ~/.fonts/Source_Code_Pro
                unzip Source_Code_Pro.zip -d ~/.fonts/Source_Code_Pro


                You may need to run



                fc-cache -f


                to make the fonts available (no need to log out).






                share|improve this answer



















                • 3





                  This is probably the answer that will age the best.

                  – user459652
                  Sep 2 '17 at 14:23














                35












                35








                35







                In order to install Source Code Pro, you can:




                1. Go to Google Fonts

                2. Type source code in the search box (the only match should be Source Code Pro)

                3. Click "Add to collection"

                4. Click on the text sample (this should present all the font styles)

                5. Tick all the check boxes

                6. Click the download icon (a down arrow on the top right) and download as Zip file


                Now you just need to decompress the Zip file into your ~/.fonts folder:



                mkdir -p ~/.fonts/Source_Code_Pro
                unzip Source_Code_Pro.zip -d ~/.fonts/Source_Code_Pro


                You may need to run



                fc-cache -f


                to make the fonts available (no need to log out).






                share|improve this answer













                In order to install Source Code Pro, you can:




                1. Go to Google Fonts

                2. Type source code in the search box (the only match should be Source Code Pro)

                3. Click "Add to collection"

                4. Click on the text sample (this should present all the font styles)

                5. Tick all the check boxes

                6. Click the download icon (a down arrow on the top right) and download as Zip file


                Now you just need to decompress the Zip file into your ~/.fonts folder:



                mkdir -p ~/.fonts/Source_Code_Pro
                unzip Source_Code_Pro.zip -d ~/.fonts/Source_Code_Pro


                You may need to run



                fc-cache -f


                to make the fonts available (no need to log out).







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 21 '14 at 4:36









                edwinedwin

                3,3101430




                3,3101430








                • 3





                  This is probably the answer that will age the best.

                  – user459652
                  Sep 2 '17 at 14:23














                • 3





                  This is probably the answer that will age the best.

                  – user459652
                  Sep 2 '17 at 14:23








                3




                3





                This is probably the answer that will age the best.

                – user459652
                Sep 2 '17 at 14:23





                This is probably the answer that will age the best.

                – user459652
                Sep 2 '17 at 14:23











                12














                Thanks for the answer, just a modified script to get the latest file



                #!/bin/bash
                FONT_NAME="SourceCodePro"
                URL="https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip"

                mkdir /tmp/adodefont
                cd /tmp/adodefont
                wget ${URL} -O ${FONT_NAME}.zip
                unzip -o -j ${FONT_NAME}.zip
                mkdir -p ~/.fonts
                cp *.otf ~/.fonts
                fc-cache -f -v





                share|improve this answer





















                • 2





                  It seems that the project has moved to github at github.com/adobe-fonts/source-code-pro

                  – Rudiger Wolf
                  Sep 18 '14 at 8:47
















                12














                Thanks for the answer, just a modified script to get the latest file



                #!/bin/bash
                FONT_NAME="SourceCodePro"
                URL="https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip"

                mkdir /tmp/adodefont
                cd /tmp/adodefont
                wget ${URL} -O ${FONT_NAME}.zip
                unzip -o -j ${FONT_NAME}.zip
                mkdir -p ~/.fonts
                cp *.otf ~/.fonts
                fc-cache -f -v





                share|improve this answer





















                • 2





                  It seems that the project has moved to github at github.com/adobe-fonts/source-code-pro

                  – Rudiger Wolf
                  Sep 18 '14 at 8:47














                12












                12








                12







                Thanks for the answer, just a modified script to get the latest file



                #!/bin/bash
                FONT_NAME="SourceCodePro"
                URL="https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip"

                mkdir /tmp/adodefont
                cd /tmp/adodefont
                wget ${URL} -O ${FONT_NAME}.zip
                unzip -o -j ${FONT_NAME}.zip
                mkdir -p ~/.fonts
                cp *.otf ~/.fonts
                fc-cache -f -v





                share|improve this answer















                Thanks for the answer, just a modified script to get the latest file



                #!/bin/bash
                FONT_NAME="SourceCodePro"
                URL="https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip"

                mkdir /tmp/adodefont
                cd /tmp/adodefont
                wget ${URL} -O ${FONT_NAME}.zip
                unzip -o -j ${FONT_NAME}.zip
                mkdir -p ~/.fonts
                cp *.otf ~/.fonts
                fc-cache -f -v






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 11 '17 at 6:29









                Community

                1




                1










                answered Oct 17 '12 at 20:33









                Enze ChiEnze Chi

                3631313




                3631313








                • 2





                  It seems that the project has moved to github at github.com/adobe-fonts/source-code-pro

                  – Rudiger Wolf
                  Sep 18 '14 at 8:47














                • 2





                  It seems that the project has moved to github at github.com/adobe-fonts/source-code-pro

                  – Rudiger Wolf
                  Sep 18 '14 at 8:47








                2




                2





                It seems that the project has moved to github at github.com/adobe-fonts/source-code-pro

                – Rudiger Wolf
                Sep 18 '14 at 8:47





                It seems that the project has moved to github at github.com/adobe-fonts/source-code-pro

                – Rudiger Wolf
                Sep 18 '14 at 8:47











                7














                My answer is similar to the others just updating the URL'S as it seems those are removed. Source code pro's new home seems to be on github. Source code pro on github.



                #!/bin/bash
                mkdir /tmp/adodefont
                cd /tmp/adodefont
                wget https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip
                unzip 1.017R.zip
                mkdir -p ~/.fonts
                cp source-code-pro-1.017R/OTF/*.otf ~/.fonts/
                fc-cache -f -v





                share|improve this answer




























                  7














                  My answer is similar to the others just updating the URL'S as it seems those are removed. Source code pro's new home seems to be on github. Source code pro on github.



                  #!/bin/bash
                  mkdir /tmp/adodefont
                  cd /tmp/adodefont
                  wget https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip
                  unzip 1.017R.zip
                  mkdir -p ~/.fonts
                  cp source-code-pro-1.017R/OTF/*.otf ~/.fonts/
                  fc-cache -f -v





                  share|improve this answer


























                    7












                    7








                    7







                    My answer is similar to the others just updating the URL'S as it seems those are removed. Source code pro's new home seems to be on github. Source code pro on github.



                    #!/bin/bash
                    mkdir /tmp/adodefont
                    cd /tmp/adodefont
                    wget https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip
                    unzip 1.017R.zip
                    mkdir -p ~/.fonts
                    cp source-code-pro-1.017R/OTF/*.otf ~/.fonts/
                    fc-cache -f -v





                    share|improve this answer













                    My answer is similar to the others just updating the URL'S as it seems those are removed. Source code pro's new home seems to be on github. Source code pro on github.



                    #!/bin/bash
                    mkdir /tmp/adodefont
                    cd /tmp/adodefont
                    wget https://github.com/adobe-fonts/source-code-pro/archive/1.017R.zip
                    unzip 1.017R.zip
                    mkdir -p ~/.fonts
                    cp source-code-pro-1.017R/OTF/*.otf ~/.fonts/
                    fc-cache -f -v






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jan 21 '15 at 19:25









                    briankipbriankip

                    17113




                    17113























                        2














                        There is also a working third-party debian package on github.



                        To install:



                        git clone https://github.com/hainp/source-code-pro-deb
                        cd source-code-pro-deb
                        sudo apt-get install debhelper
                        dpkg-buildpackage -rfakeroot -b -uc -us
                        sudo dpkg -i ../fonts-source-code-pro_1.017_all.deb






                        share|improve this answer




























                          2














                          There is also a working third-party debian package on github.



                          To install:



                          git clone https://github.com/hainp/source-code-pro-deb
                          cd source-code-pro-deb
                          sudo apt-get install debhelper
                          dpkg-buildpackage -rfakeroot -b -uc -us
                          sudo dpkg -i ../fonts-source-code-pro_1.017_all.deb






                          share|improve this answer


























                            2












                            2








                            2







                            There is also a working third-party debian package on github.



                            To install:



                            git clone https://github.com/hainp/source-code-pro-deb
                            cd source-code-pro-deb
                            sudo apt-get install debhelper
                            dpkg-buildpackage -rfakeroot -b -uc -us
                            sudo dpkg -i ../fonts-source-code-pro_1.017_all.deb






                            share|improve this answer













                            There is also a working third-party debian package on github.



                            To install:



                            git clone https://github.com/hainp/source-code-pro-deb
                            cd source-code-pro-deb
                            sudo apt-get install debhelper
                            dpkg-buildpackage -rfakeroot -b -uc -us
                            sudo dpkg -i ../fonts-source-code-pro_1.017_all.deb







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Jan 7 '18 at 2:30









                            Giacomo LacavaGiacomo Lacava

                            1213




                            1213























                                1














                                Based on a GitHub post, this script worked for me. I had to modify the folder names to get it to work.



                                version=1.050

                                echo "n* Downloading version $version of source code pro font"
                                rm -f SourceCodePro_FontsOnly-$version.zip
                                rm -rf SourceCodePro_FontsOnly-$version
                                font_folder=source-code-pro-2.030R-ro-${version}R-it
                                zip_file=${version}R-it.zip
                                wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/$zip_file

                                echo "n* Unziping package"
                                unzip $zip_file
                                mkdir -p ~/.fonts

                                echo "n* Copying fonts to ~/fonts"
                                cp $font_folder/OTF/*.otf ~/.fonts/

                                echo "n* Updating font cache"
                                sudo fc-cache -f -v

                                echo "n* Looking for 'Source Code Pro' in installed fonts"
                                fc-list | grep "Source Code Pro"

                                echo "n* Now, you can use the 'Source Code Pro' fonts, ** for sublime text ** just add the lines bellow to 'Preferences > Settings':"
                                echo 'n "font_face": "Source Code Pro",'
                                echo ' "font_size": 10'

                                echo "n* Finished :)n"





                                share|improve this answer






























                                  1














                                  Based on a GitHub post, this script worked for me. I had to modify the folder names to get it to work.



                                  version=1.050

                                  echo "n* Downloading version $version of source code pro font"
                                  rm -f SourceCodePro_FontsOnly-$version.zip
                                  rm -rf SourceCodePro_FontsOnly-$version
                                  font_folder=source-code-pro-2.030R-ro-${version}R-it
                                  zip_file=${version}R-it.zip
                                  wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/$zip_file

                                  echo "n* Unziping package"
                                  unzip $zip_file
                                  mkdir -p ~/.fonts

                                  echo "n* Copying fonts to ~/fonts"
                                  cp $font_folder/OTF/*.otf ~/.fonts/

                                  echo "n* Updating font cache"
                                  sudo fc-cache -f -v

                                  echo "n* Looking for 'Source Code Pro' in installed fonts"
                                  fc-list | grep "Source Code Pro"

                                  echo "n* Now, you can use the 'Source Code Pro' fonts, ** for sublime text ** just add the lines bellow to 'Preferences > Settings':"
                                  echo 'n "font_face": "Source Code Pro",'
                                  echo ' "font_size": 10'

                                  echo "n* Finished :)n"





                                  share|improve this answer




























                                    1












                                    1








                                    1







                                    Based on a GitHub post, this script worked for me. I had to modify the folder names to get it to work.



                                    version=1.050

                                    echo "n* Downloading version $version of source code pro font"
                                    rm -f SourceCodePro_FontsOnly-$version.zip
                                    rm -rf SourceCodePro_FontsOnly-$version
                                    font_folder=source-code-pro-2.030R-ro-${version}R-it
                                    zip_file=${version}R-it.zip
                                    wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/$zip_file

                                    echo "n* Unziping package"
                                    unzip $zip_file
                                    mkdir -p ~/.fonts

                                    echo "n* Copying fonts to ~/fonts"
                                    cp $font_folder/OTF/*.otf ~/.fonts/

                                    echo "n* Updating font cache"
                                    sudo fc-cache -f -v

                                    echo "n* Looking for 'Source Code Pro' in installed fonts"
                                    fc-list | grep "Source Code Pro"

                                    echo "n* Now, you can use the 'Source Code Pro' fonts, ** for sublime text ** just add the lines bellow to 'Preferences > Settings':"
                                    echo 'n "font_face": "Source Code Pro",'
                                    echo ' "font_size": 10'

                                    echo "n* Finished :)n"





                                    share|improve this answer















                                    Based on a GitHub post, this script worked for me. I had to modify the folder names to get it to work.



                                    version=1.050

                                    echo "n* Downloading version $version of source code pro font"
                                    rm -f SourceCodePro_FontsOnly-$version.zip
                                    rm -rf SourceCodePro_FontsOnly-$version
                                    font_folder=source-code-pro-2.030R-ro-${version}R-it
                                    zip_file=${version}R-it.zip
                                    wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/$zip_file

                                    echo "n* Unziping package"
                                    unzip $zip_file
                                    mkdir -p ~/.fonts

                                    echo "n* Copying fonts to ~/fonts"
                                    cp $font_folder/OTF/*.otf ~/.fonts/

                                    echo "n* Updating font cache"
                                    sudo fc-cache -f -v

                                    echo "n* Looking for 'Source Code Pro' in installed fonts"
                                    fc-list | grep "Source Code Pro"

                                    echo "n* Now, you can use the 'Source Code Pro' fonts, ** for sublime text ** just add the lines bellow to 'Preferences > Settings':"
                                    echo 'n "font_face": "Source Code Pro",'
                                    echo ' "font_size": 10'

                                    echo "n* Finished :)n"






                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Aug 23 '17 at 17:27

























                                    answered Aug 23 '17 at 0:46









                                    ArtBArtB

                                    1136




                                    1136























                                        1














                                        Not exactly what the OP is asking for, but this might be easier.



                                        You can install the powerline fonts which include slightly modified versions of a bunch of mono fonts which work with powerline for the prompt and Vim with the vim-airline plugin. It kind of gives you an 'awesome' list of source code mono fonts to try out, including "Source Code Pro". To install all the fonts:



                                        $ git clone https://github.com/powerline/fonts.git --depth=1
                                        $ cd fonts
                                        $ ./install.sh





                                        share|improve this answer





















                                        • 1





                                          If you install it this way, the font is called Source Code Pro for Powerline

                                          – Boris
                                          Feb 17 at 4:03


















                                        1














                                        Not exactly what the OP is asking for, but this might be easier.



                                        You can install the powerline fonts which include slightly modified versions of a bunch of mono fonts which work with powerline for the prompt and Vim with the vim-airline plugin. It kind of gives you an 'awesome' list of source code mono fonts to try out, including "Source Code Pro". To install all the fonts:



                                        $ git clone https://github.com/powerline/fonts.git --depth=1
                                        $ cd fonts
                                        $ ./install.sh





                                        share|improve this answer





















                                        • 1





                                          If you install it this way, the font is called Source Code Pro for Powerline

                                          – Boris
                                          Feb 17 at 4:03
















                                        1












                                        1








                                        1







                                        Not exactly what the OP is asking for, but this might be easier.



                                        You can install the powerline fonts which include slightly modified versions of a bunch of mono fonts which work with powerline for the prompt and Vim with the vim-airline plugin. It kind of gives you an 'awesome' list of source code mono fonts to try out, including "Source Code Pro". To install all the fonts:



                                        $ git clone https://github.com/powerline/fonts.git --depth=1
                                        $ cd fonts
                                        $ ./install.sh





                                        share|improve this answer















                                        Not exactly what the OP is asking for, but this might be easier.



                                        You can install the powerline fonts which include slightly modified versions of a bunch of mono fonts which work with powerline for the prompt and Vim with the vim-airline plugin. It kind of gives you an 'awesome' list of source code mono fonts to try out, including "Source Code Pro". To install all the fonts:



                                        $ git clone https://github.com/powerline/fonts.git --depth=1
                                        $ cd fonts
                                        $ ./install.sh






                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Sep 19 '18 at 19:37

























                                        answered Jun 18 '18 at 0:52









                                        icc97icc97

                                        219310




                                        219310








                                        • 1





                                          If you install it this way, the font is called Source Code Pro for Powerline

                                          – Boris
                                          Feb 17 at 4:03
















                                        • 1





                                          If you install it this way, the font is called Source Code Pro for Powerline

                                          – Boris
                                          Feb 17 at 4:03










                                        1




                                        1





                                        If you install it this way, the font is called Source Code Pro for Powerline

                                        – Boris
                                        Feb 17 at 4:03







                                        If you install it this way, the font is called Source Code Pro for Powerline

                                        – Boris
                                        Feb 17 at 4:03




















                                        draft saved

                                        draft discarded




















































                                        Thanks for contributing an answer to Ask Ubuntu!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid



                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f193072%2fhow-to-use-the-adobe-source-code-pro-font%23new-answer', 'question_page');
                                        }
                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                                        Mangá

                                        Eduardo VII do Reino Unido