How can I build `ungoogled-chromium` from source on Ubuntu 18.04?












1














I've put in about an hour at this point, and I'm starting to feel a bit dead inside.



I started by downloading ungoogled-chromium version 71.0.3578.98-2 from GitHub. I extracted the tar.gz file into my home folder. Then, using the instructions from the "Any Linux Distribution" section of the build instructions. I followed the instructions to the point of adding the LLVM APT repo. I added the specified lines for Bionic (18.04) to my /etc/apt/sources.list file, retrieved the key with:



wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-get update


This output these errors which look like this:



E: The repository 'https:/dl.winehq.org/wine-builds/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://apt.llvm.org/bionic llvm-toolchain-bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 15CF4D18AF4F7421


I then, (though I knew it wouldn't work), ran:



sudo apt-get install clang-8 lld-8 llvm-8-dev python python3 ninja-build


and all of the LLVM packages were not able to be installed.



This is my first experience building from source, so I know inevitably made some obnoxious novice mistake.










share|improve this question




















  • 1




    The first mountain you climb should not be an oxygen-starved widowmaker like Denali or Everest. The first person you date should not be a wealthy, famous supermodel. The first car you drive should not be a racing-optimized Maserati. The first application you download and compile from source should not be huge and complex. Make your beginner mistakes on something small, simple, and non-essential. Work up to the big leagues.
    – user535733
    3 hours ago












  • @user535733 while true, my reasoning for doing this isn't as an educational exercise
    – user189728
    1 hour ago










  • Of course not...but you've chosen a tough mountain for your first climb. It will become an educational exercise regardless of the original intent.
    – user535733
    1 hour ago
















1














I've put in about an hour at this point, and I'm starting to feel a bit dead inside.



I started by downloading ungoogled-chromium version 71.0.3578.98-2 from GitHub. I extracted the tar.gz file into my home folder. Then, using the instructions from the "Any Linux Distribution" section of the build instructions. I followed the instructions to the point of adding the LLVM APT repo. I added the specified lines for Bionic (18.04) to my /etc/apt/sources.list file, retrieved the key with:



wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-get update


This output these errors which look like this:



E: The repository 'https:/dl.winehq.org/wine-builds/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://apt.llvm.org/bionic llvm-toolchain-bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 15CF4D18AF4F7421


I then, (though I knew it wouldn't work), ran:



sudo apt-get install clang-8 lld-8 llvm-8-dev python python3 ninja-build


and all of the LLVM packages were not able to be installed.



This is my first experience building from source, so I know inevitably made some obnoxious novice mistake.










share|improve this question




















  • 1




    The first mountain you climb should not be an oxygen-starved widowmaker like Denali or Everest. The first person you date should not be a wealthy, famous supermodel. The first car you drive should not be a racing-optimized Maserati. The first application you download and compile from source should not be huge and complex. Make your beginner mistakes on something small, simple, and non-essential. Work up to the big leagues.
    – user535733
    3 hours ago












  • @user535733 while true, my reasoning for doing this isn't as an educational exercise
    – user189728
    1 hour ago










  • Of course not...but you've chosen a tough mountain for your first climb. It will become an educational exercise regardless of the original intent.
    – user535733
    1 hour ago














1












1








1







I've put in about an hour at this point, and I'm starting to feel a bit dead inside.



I started by downloading ungoogled-chromium version 71.0.3578.98-2 from GitHub. I extracted the tar.gz file into my home folder. Then, using the instructions from the "Any Linux Distribution" section of the build instructions. I followed the instructions to the point of adding the LLVM APT repo. I added the specified lines for Bionic (18.04) to my /etc/apt/sources.list file, retrieved the key with:



wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-get update


This output these errors which look like this:



E: The repository 'https:/dl.winehq.org/wine-builds/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://apt.llvm.org/bionic llvm-toolchain-bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 15CF4D18AF4F7421


I then, (though I knew it wouldn't work), ran:



sudo apt-get install clang-8 lld-8 llvm-8-dev python python3 ninja-build


and all of the LLVM packages were not able to be installed.



This is my first experience building from source, so I know inevitably made some obnoxious novice mistake.










share|improve this question















I've put in about an hour at this point, and I'm starting to feel a bit dead inside.



I started by downloading ungoogled-chromium version 71.0.3578.98-2 from GitHub. I extracted the tar.gz file into my home folder. Then, using the instructions from the "Any Linux Distribution" section of the build instructions. I followed the instructions to the point of adding the LLVM APT repo. I added the specified lines for Bionic (18.04) to my /etc/apt/sources.list file, retrieved the key with:



wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-get update


This output these errors which look like this:



E: The repository 'https:/dl.winehq.org/wine-builds/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://apt.llvm.org/bionic llvm-toolchain-bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 15CF4D18AF4F7421


I then, (though I knew it wouldn't work), ran:



sudo apt-get install clang-8 lld-8 llvm-8-dev python python3 ninja-build


and all of the LLVM packages were not able to be installed.



This is my first experience building from source, so I know inevitably made some obnoxious novice mistake.







apt 18.04 package-management compiling chromium






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 3 hours ago









Kristopher Ives

1,6891016




1,6891016










asked 4 hours ago









user189728

1065




1065








  • 1




    The first mountain you climb should not be an oxygen-starved widowmaker like Denali or Everest. The first person you date should not be a wealthy, famous supermodel. The first car you drive should not be a racing-optimized Maserati. The first application you download and compile from source should not be huge and complex. Make your beginner mistakes on something small, simple, and non-essential. Work up to the big leagues.
    – user535733
    3 hours ago












  • @user535733 while true, my reasoning for doing this isn't as an educational exercise
    – user189728
    1 hour ago










  • Of course not...but you've chosen a tough mountain for your first climb. It will become an educational exercise regardless of the original intent.
    – user535733
    1 hour ago














  • 1




    The first mountain you climb should not be an oxygen-starved widowmaker like Denali or Everest. The first person you date should not be a wealthy, famous supermodel. The first car you drive should not be a racing-optimized Maserati. The first application you download and compile from source should not be huge and complex. Make your beginner mistakes on something small, simple, and non-essential. Work up to the big leagues.
    – user535733
    3 hours ago












  • @user535733 while true, my reasoning for doing this isn't as an educational exercise
    – user189728
    1 hour ago










  • Of course not...but you've chosen a tough mountain for your first climb. It will become an educational exercise regardless of the original intent.
    – user535733
    1 hour ago








1




1




The first mountain you climb should not be an oxygen-starved widowmaker like Denali or Everest. The first person you date should not be a wealthy, famous supermodel. The first car you drive should not be a racing-optimized Maserati. The first application you download and compile from source should not be huge and complex. Make your beginner mistakes on something small, simple, and non-essential. Work up to the big leagues.
– user535733
3 hours ago






The first mountain you climb should not be an oxygen-starved widowmaker like Denali or Everest. The first person you date should not be a wealthy, famous supermodel. The first car you drive should not be a racing-optimized Maserati. The first application you download and compile from source should not be huge and complex. Make your beginner mistakes on something small, simple, and non-essential. Work up to the big leagues.
– user535733
3 hours ago














@user535733 while true, my reasoning for doing this isn't as an educational exercise
– user189728
1 hour ago




@user535733 while true, my reasoning for doing this isn't as an educational exercise
– user189728
1 hour ago












Of course not...but you've chosen a tough mountain for your first climb. It will become an educational exercise regardless of the original intent.
– user535733
1 hour ago




Of course not...but you've chosen a tough mountain for your first climb. It will become an educational exercise regardless of the original intent.
– user535733
1 hour ago










1 Answer
1






active

oldest

votes


















3














Firstly, if you don't want to build from source they provide binaries already built for Ubuntu 18.04:




  • https://ungoogled-software.github.io/ungoogled-chromium-binaries/


Instructions for building are available from:




  • https://github.com/Eloston/ungoogled-chromium/blob/master/docs/building.md#debian-and-its-derivatives


This specifies that you can build LLVM 7 and don't need to install LLVM 8 to build for Ubuntu Bionic (18.04)



Building should be as simple as:



sudo apt install packaging-dev python3 ninja-build

# Run from inside the clone of the repository
mkdir -p build/src

./get_package.py PACKAGE_TYPE_HERE build/src/debian
cd build/src

# Use dpkg-checkbuilddeps (from dpkg-dev) or mk-build-deps (from devscripts) to check for additional packages.
# If necessary, change the dependencies in debian/control to accommodate your environment.
# If necessary, modify AR, NM, CC, and CXX variables in debian/rules
debian/rules setup-local-src
dpkg-buildpackage -b -uc





share|improve this answer





















    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%2f1105699%2fhow-can-i-build-ungoogled-chromium-from-source-on-ubuntu-18-04%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Firstly, if you don't want to build from source they provide binaries already built for Ubuntu 18.04:




    • https://ungoogled-software.github.io/ungoogled-chromium-binaries/


    Instructions for building are available from:




    • https://github.com/Eloston/ungoogled-chromium/blob/master/docs/building.md#debian-and-its-derivatives


    This specifies that you can build LLVM 7 and don't need to install LLVM 8 to build for Ubuntu Bionic (18.04)



    Building should be as simple as:



    sudo apt install packaging-dev python3 ninja-build

    # Run from inside the clone of the repository
    mkdir -p build/src

    ./get_package.py PACKAGE_TYPE_HERE build/src/debian
    cd build/src

    # Use dpkg-checkbuilddeps (from dpkg-dev) or mk-build-deps (from devscripts) to check for additional packages.
    # If necessary, change the dependencies in debian/control to accommodate your environment.
    # If necessary, modify AR, NM, CC, and CXX variables in debian/rules
    debian/rules setup-local-src
    dpkg-buildpackage -b -uc





    share|improve this answer


























      3














      Firstly, if you don't want to build from source they provide binaries already built for Ubuntu 18.04:




      • https://ungoogled-software.github.io/ungoogled-chromium-binaries/


      Instructions for building are available from:




      • https://github.com/Eloston/ungoogled-chromium/blob/master/docs/building.md#debian-and-its-derivatives


      This specifies that you can build LLVM 7 and don't need to install LLVM 8 to build for Ubuntu Bionic (18.04)



      Building should be as simple as:



      sudo apt install packaging-dev python3 ninja-build

      # Run from inside the clone of the repository
      mkdir -p build/src

      ./get_package.py PACKAGE_TYPE_HERE build/src/debian
      cd build/src

      # Use dpkg-checkbuilddeps (from dpkg-dev) or mk-build-deps (from devscripts) to check for additional packages.
      # If necessary, change the dependencies in debian/control to accommodate your environment.
      # If necessary, modify AR, NM, CC, and CXX variables in debian/rules
      debian/rules setup-local-src
      dpkg-buildpackage -b -uc





      share|improve this answer
























        3












        3








        3






        Firstly, if you don't want to build from source they provide binaries already built for Ubuntu 18.04:




        • https://ungoogled-software.github.io/ungoogled-chromium-binaries/


        Instructions for building are available from:




        • https://github.com/Eloston/ungoogled-chromium/blob/master/docs/building.md#debian-and-its-derivatives


        This specifies that you can build LLVM 7 and don't need to install LLVM 8 to build for Ubuntu Bionic (18.04)



        Building should be as simple as:



        sudo apt install packaging-dev python3 ninja-build

        # Run from inside the clone of the repository
        mkdir -p build/src

        ./get_package.py PACKAGE_TYPE_HERE build/src/debian
        cd build/src

        # Use dpkg-checkbuilddeps (from dpkg-dev) or mk-build-deps (from devscripts) to check for additional packages.
        # If necessary, change the dependencies in debian/control to accommodate your environment.
        # If necessary, modify AR, NM, CC, and CXX variables in debian/rules
        debian/rules setup-local-src
        dpkg-buildpackage -b -uc





        share|improve this answer












        Firstly, if you don't want to build from source they provide binaries already built for Ubuntu 18.04:




        • https://ungoogled-software.github.io/ungoogled-chromium-binaries/


        Instructions for building are available from:




        • https://github.com/Eloston/ungoogled-chromium/blob/master/docs/building.md#debian-and-its-derivatives


        This specifies that you can build LLVM 7 and don't need to install LLVM 8 to build for Ubuntu Bionic (18.04)



        Building should be as simple as:



        sudo apt install packaging-dev python3 ninja-build

        # Run from inside the clone of the repository
        mkdir -p build/src

        ./get_package.py PACKAGE_TYPE_HERE build/src/debian
        cd build/src

        # Use dpkg-checkbuilddeps (from dpkg-dev) or mk-build-deps (from devscripts) to check for additional packages.
        # If necessary, change the dependencies in debian/control to accommodate your environment.
        # If necessary, modify AR, NM, CC, and CXX variables in debian/rules
        debian/rules setup-local-src
        dpkg-buildpackage -b -uc






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 3 hours ago









        Kristopher Ives

        1,6891016




        1,6891016






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f1105699%2fhow-can-i-build-ungoogled-chromium-from-source-on-ubuntu-18-04%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

            Costa Masnaga

            Fotorealismo

            Sidney Franklin