I'm trying to install Clang on Ubuntu 20.04 for ARM, which needs libobjc-9-dev
. The Ubuntu 20.04 ARM repositories only have a version that needs GCC 9.3 but I currently have GCC 9.4 (trying to downgrade to GCC 9.3 leads to apt prompting me to uninstall x11 and xwayland).
I'm looking for a way to just grab a newer libobjc-9-dev
but I can't find any links. I found this official website, and it says "You can download the requested file [...] at any of these sites:" but there are no sites listed after the colon. I also found this unofficial site and all the links for deb packages are for x86. The third link on Google is for another unofficial site that seems to have it except that the link for "Binary Package" points to an x86_64 package from Ubuntu. If I manually change "amd64" to "arm64" then the link doesn't work.
How do I download and install Clang and libobjc-9-dev
? I've tried sudo apt install
and the first three links on Google yet I'm unable to find an ARM version of libobjc-9-dev
version 9.4.0-1ubuntu1~20.04
(to match Ubuntu's GCC version).
For the record, here is the message when trying to install libobjc-9-dev
on Ubuntu 20.04 for ARM:
$ sudo apt install libobjc-9-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libobjc-9-dev : Depends: gcc-9-base (= 9.3.0-17ubuntu1~20.04) but 9.4.0-1ubuntu1~20.04 is to be installed
Depends: libgcc-9-dev (= 9.3.0-17ubuntu1~20.04) but 9.4.0-1ubuntu1~20.04 is to be installed