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

    <tr>
        <th>Summary</th>
        <td>
            how to uninstall old llvm ?
        </td>
    </tr>

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

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

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

<pre>
    Since I need to install Triton, I have to uninstall the previous LLVM and MLIR and Clang that I installed from source. However, I can't find the uninstall option. How can I ensure a complete removal of LLVM?
```
(tpy) tpy@baili:/usr/local/include/llvm$ llvm-config --version
19.0.0git
(tpy) tpy@baili:/usr/local/include/llvm$ clang --version
clang version 19.0.0git (https://github.com/llvm/llvm-project.git 3614f65a7ba9d925010e3316a1d93bcebc632178)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin
Build config: +assertions
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykU8tupDoQ_RqzKTXyg-eCRR5q3ZaSzb3R3Y4MLsAzbhv50Z38_QjoJJrMajQSUkHV4ZzycZUMQU8WsSPlPSkfM5ni7HwXpZ0Wad9S1jv11v2n7YBwAouoIDrQNkRpDLx4HZ0l_AFOMMsLrrVk36txRlg8XrRLAZ6e_n8GaRU8P53-3V4ejLQTxFlGOL0zooLRuzMEl_yAOfzjrnhBvysM0hJeRxi1VRv5p5RbonZ2w68wOAHakDyChMGdF4MRwePZXaQBN27NEHEk9JHQO1LR27N_8iYub4S3sIaC9lIbTcQd4ccUPOFH4wZpCD9qO5ikcM2Yy5nwAtZ4GJwd9QSHwwV90M7urKzNaU4nHf9aZNhs-0K_J28p-BADwps5xiXs1IQfJx3n1OeDO39QbuGwePcdh5ivf4mKFWNVyrqXrWp5SRlFIVglmWpFP2A_VIKzuiG83eVfpJ8wEnEHr031rSoOyf6w7moPRtv0ephsuuFmj1LB2Sk0K3pxQb_updP7ADxqv5Z-c6LXt7PeJ20U7DbvyHsZAvp1AsKXK81UJ1QrWplhx2ouaiHammVzN1aclW1ZVlzVdcV5WSNnY6sqVjQ1Is10xykvaMNKVpStYHk98qGRAuu2bgpaCFJQPEtt8tW-3Pkp0yEk7BgtirLIjOzRhG2tOLd4ha1KOF-3zHeb532aAimo0SGGT5qoo8Fudtdft8kZtQ0YEHHMkjfdn13sOktrB4Hw463FS8d_BgAA__-vpEKn">