How I can install Xcode to my Kali Linux?

I have a problem - I have not Mac, but i need in Xcode. I install Linux, because Mac OS and Linux very similar, but installation is not sucessful. May I install Xcode to my PC and how iI can do it?

Answered by bbousquet in 249441022

Xcode can only be installed on a Mac.

Accepted Answer

Xcode can only be installed on a Mac.

Xcode, one component of Apple's IDE, requires macOS.

😢

You can't install Xcode on your PC. Even on Linux. Even though MacOS and Linux are somewhat similar. MacOS derives from BSD Mach Unix Kernel. And Linux have it's own kernel. Mac and Linux are two different operating system. Even the command base are not similar. But functionality is the same. Kali Linux is a pentesting linux operating system. Mostly the compilers are running base on linux not on a mac. If you still need to use Xcode. You certainly you need to use a mac.

Funny, how top answer here is incorrect. although Xcode is proprietary software, you can run it on Linux. There are couple good articles online briefly explaining how to run Xcode on Linux. this forum is for admins who most likely will delete this comment. but that won’t stop correct answers from propagating.

How I can install Xcode to my Kali Linux?
 
 
Q