Skip to content

bug(docs): the default install on ubuntu 24.10 may not allow the llvm.sh script to install llvm #6

@drazisil

Description

@drazisil

If the script returns that there is a broken install with the wrong version of packages, you can tell apt to make this by having it install all of the packages at one.

In my case, the below command worked:

sudo apt install clang-19 \
libclang-19-dev \
libclang-cpp19 \
libllvm19 \
clang-19-doc \
llvm-19-doc

The two *-doc packages are optional, but I find it helpful to have the program documentation installed when trying to learn a new command or tool.

In your case you may need to add additional packages. Add the package name in the error using the format above.

If apt is not able locate a package, you can look for it's name using the following command:

apt search <package_name> --names-only | less

<package_name> should be replaced by the name of the package you are looking for, without the angled brackets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions