<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/59505>59505</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            apt Installation Script (llvm.sh) - add Option for Adding PPA Only
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          BenAlanSouthall
      </td>
    </tr>
</table>

<pre>
    It would be nice if the [apt-based LLVM installation script from the website](https://apt.llvm.org/llvm.sh) had a flag to set up the PPAs for a given release, but not yet install the packages. Glossing over, it appears that the last line where the call to apt-get install is finally made is the only section would need to be branched out.


#### Use case:

I am installing as part of a container build. There are multiple packages thta need to be part of the process, so, it helps to add all the relevant repositories, PPAs, keys, etc. at the top of the file; and then use a one-liner to install all the packages that we need for the image, rather than going through multiple steps of adding a source, installing, and repeating. This makes the build time quite significantly shorter for the stage for installing dependencies.

Thanks
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxclEFv6zYMgH-NciESOLLTNgcf0hUZCrzhFXjd7rRF21plSRPpBvn3g5SmTR9gWKZFUuRHishsR0_Uqt2j2j2tcJEppPaR_MGh_xUWmdC5VRfMuX0WOIXFGegIvO0J7AAyEajdI0ZZd8hk4MePf_4C61nQORQbPHCfbBQYUpiL-ok6tkJq96T0wyQSWdUHpY9KHzHKxrn3eRPSqPSxfPKk9B4mNIAwOBxBAjAJLLF4e3k5MAwhAcJo38lDIkfIpPQf0C0CPgicSa4hFZuI_RuOxBv40wVm60cI75SyiRXAGAkTg0woRd0hCzjrCU4TJSr_-uIrQE58vHFvGQbr0bkzzGgoy1k9eHcGpr4AuUD0RCZ76Ai6hL6fyEBYZKOqJ1Udvr11_fnA35wPZ8rMbnSeAedrEDkfZIiYBMIACH3wgtZTgm6xzmzgteSBiWBenNjovpiATIK3wV3dFHAp9MScQXH4wDWRi1xQGANXwrkI7-gFEsXAVkKyVMxyufL6RueykvQb-OAsIV4PGqwjVT8CepNlDwsTIARPa1cSkfCJ_PeqXgp3oksSuTXyrp1xLE2RUKbsYEIPY8isZEphGacvFiwUuaAzpsAEDkvqi_kX4yzl-BJFQrF-zFwtw4xvdKl6oQ1iZ4L_FisE-a7ZwfboJffDFJJQ-gyRBUcq0k0hDUXyhnxvib_1xuuE_o1Xpq3Nvt7jitrt3X213-3umv1qavuhq-7xnvqmb-6rel9jM1RGN3VlqqrampVtdaX1Vm_r7YOumodNQ_u7ut6S7rRpjO5UU9GM1n3eyJVlXqjd7XfVbuWwI8dlbGjt6QRlU2mdp0hqs826W0ZWTeUsC395ESuOWowCz7dj4tdlTCj9cHPt16WrfsaikckcLhV5eTnAT-_OqyW59vsMGa1MS7fpw_wxQT6WdUzhX-pF6WMJlZU-llT-DwAA__-L7bMY">