hashcat Forum
Installing Hashcat on CentOS - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Installing Hashcat on CentOS (/thread-9403.html)



Installing Hashcat on CentOS - Takir - 07-22-2020

I have downloaded the 'OpenCL Runtime for Intel Core and Intel Xeon Processors' and ran 
`sudo ./install.sh`. When I execute the command `hashcat -b -m 0`
 I get the following error `clCreateContext(): CL_DEVICE_NOT_AVAILABLE`. 

From googling I believe this error is related to OpenCL Runtime, any ideas on how I could solve this?

Output from clinfo
`
NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)  No platform clCreateContext(NULL, ...) [default]            No platform clCreateContext(NULL, ...) [other]              <checkNullCtx:2308: create context with device from non-default platform : error -2> clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform
`


RE: Installing Hashcat on CentOS - Chick3nman - 07-22-2020

According to clinfo, there's no valid driver/platform installed or the one installed is broken.


RE: Installing Hashcat on CentOS - Takir - 07-22-2020

(07-22-2020, 05:59 PM)Chick3nman Wrote: According to clinfo, there's no valid driver/platform installed or the one installed is broken.

I have installed 'l_opencl_p_18.1.0.015' from Intel Runtimes for Intel® Processors. 
During installation I just noticed these warnings:

Missing optional prerequisites
-- Unsupported OS
-- Missing libraries

Does this mean CentOS does not support Intel® Xeon® Processor or Intel® Core™ Processor Runtimes ? 
Any tutorial on how I could install hashcat from a clean CentOS 8 ?