{"id":1135,"date":"2018-11-25T14:27:43","date_gmt":"2018-11-25T20:27:43","guid":{"rendered":"http:\/\/www.jedge.com\/wordpress\/?p=1135"},"modified":"2018-11-25T14:27:43","modified_gmt":"2018-11-25T20:27:43","slug":"nvidia-drivers-and-hashcat-on-xubuntu-18-04-1","status":"publish","type":"post","link":"https:\/\/www.jedge.com\/wordpress\/2018\/11\/nvidia-drivers-and-hashcat-on-xubuntu-18-04-1\/","title":{"rendered":"Nvidia Drivers and Hashcat on XUbuntu 18.04.1"},"content":{"rendered":"<p>Note this turorial begins on an Xubuntu 18.04.1 system after a fresh install and I made the error of installing the latest Nvidia Drivers (415) and hashcat from the repositories.  I got the error message &#8220;Cannot find an OpenCL ICD loader library.&#8221; when trying to run hashcat. This is what I did to get it to work so hopefully it will be helpful to others.<br \/>\n<!--more--><\/p>\n<p>If you haven&#8217;t already don&#8217;t install the nvidia drivers from the Ubuntu repositories.  Directions on that can be found <a href=\"http:\/\/www.linuxandubuntu.com\/home\/how-to-install-latest-nvidia-drivers-in-linux\" target=\"_blank\">here<\/a> but I stress that you should not follow them if you have version 18.04.<\/p>\n<p>1. Boot as normal and get to login screen (or desktop if you autologin).<br \/>\n2. Download the latest CUDA for your system at <a href=\"https:\/\/developer.nvidia.com\/cuda-downloads?target_os=Linux\" target=\"_blank\">https:\/\/developer.nvidia.com\/cuda-downloads?target_os=Linux<\/a>.  As of the creation of this tutorial the file will be cuda_10.0.130_410.48_linux.run.<br \/>\n3. Press the key combination Ctrl + Alt + F1 to exit out of the GUI. Authenticate with your username and password.<br \/>\n4. type <kbd>sudo service lightdm stop<\/kbd> and press Enter to stop X11 (desktop GUI).<br \/>\n5. type <kbd>sudo apt-get remove --purge nvidia*<\/kbd> and press Enter to purge all nvidia items.<br \/>\n6. type <kbd>sudo find \/ -name libOpenCL\\* -print0 | xargs -0 rm -rf<\/kbd> to find and puge all libOpenCL files<br \/>\n7. Reboot<br \/>\n8. Boot as normal and get to login screen (or desktop if you autologin). Note: your GUI may not look as clean as you would like.  No worries just keep going with this tutorial.<br \/>\n9. Press the key combination Ctrl + Alt + F1 to exit out of the GUI. Authenticate with your username and password.<br \/>\n10. Change directory to your Downloads folder or whereever you saved cuda_10.0.130_410.48_linux.run<br \/>\n11. Make the file executable and run it.  Follow all prompts for installation.<br \/>\n12. Reboot and you should be all set.<\/p>\n<p><strong>References<\/strong><br \/>\n<a target=\"_blank\" href=\"http:\/\/www.linuxandubuntu.com\/home\/how-to-install-latest-nvidia-drivers-in-linux\">http:\/\/www.linuxandubuntu.com\/home\/how-to-install-latest-nvidia-drivers-in-linux<\/a><br \/>\n<a target=\"_blank\" href=\"https:\/\/devtalk.nvidia.com\/default\/topic\/1036967\/linux\/unable-to-use-opencl-cuda-on-ubuntu-18-04\/\">https:\/\/devtalk.nvidia.com\/default\/topic\/1036967\/linux\/unable-to-use-opencl-cuda-on-ubuntu-18-04\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Note this turorial begins on an Xubuntu 18.04.1 system after a fresh install and I made the error of installing the latest Nvidia Drivers (415) and hashcat from the repositories. I got the error message &#8220;Cannot find an OpenCL ICD loader library.&#8221; when trying to run hashcat. This is what I did to get it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[113,3,163,5],"tags":[153,129,154,59,170],"class_list":["post-1135","post","type-post","status-publish","format-standard","hentry","category-compiling","category-configuration","category-hacking","category-installing-using-tools","tag-cuda","tag-hashcat","tag-nvidia","tag-ubuntu","tag-xubuntu"],"_links":{"self":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/1135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1135"}],"version-history":[{"count":1,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/1135\/revisions"}],"predecessor-version":[{"id":1136,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/1135\/revisions\/1136"}],"wp:attachment":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}