{"id":1055,"date":"2017-11-01T19:43:20","date_gmt":"2017-11-02T01:43:20","guid":{"rendered":"http:\/\/www.jedge.com\/wordpress\/?p=1055"},"modified":"2018-11-25T14:36:58","modified_gmt":"2018-11-25T20:36:58","slug":"purge-and-install-latest-nvidia-drivers-ubuntu","status":"publish","type":"post","link":"https:\/\/www.jedge.com\/wordpress\/2017\/11\/purge-and-install-latest-nvidia-drivers-ubuntu\/","title":{"rendered":"Purge and Install Latest Nvidia Drivers &#8211; Ubuntu"},"content":{"rendered":"<p>For Ubuntu 18.04.1 see <a href=\"http:\/\/www.jedge.com\/wordpress?p=1135\">this post.<\/a><br \/>\nThere are some issues with the steps listed on the hashcat FAQ found <a href=\"https:\/\/hashcat.net\/wiki\/doku.php?id=frequently_asked_questions#i_may_have_the_wrong_driver_installed_what_should_i_do\">here<\/a>.  This quick tutorial is specifically geared for Ubuntu when you have installed the nvidia packages from the repository. This is what I did to get it to work so hopefully it will be helpful to others.<br \/>\n<!--more--><br \/>\n1. Boot as normal and get to login screen (or desktop if you autologin).<br \/>\n2. Press the key combination Ctrl + Alt + F1 to exit out of the GUI. Authenticate with your username and password.<br \/>\n3. type <kbd>sudo service lightdm stop<\/kbd> and press Enter to stop X11 (desktop GUI).<br \/>\n4. type <kbd>sudo apt-get remove --purge nvidia*<\/kbd> and press Enter to purge all nvidia items.<br \/>\n5. type <kbd>sudo find \/ -name libOpenCL\\* -print0 | xargs -0 rm -rf<\/kbd> to find and puge all libOpenCL files<\/p>\n<p>Reboot<br \/>\nBoot as normal and get to login screen (or desktop if you autologin).<br \/>\nPress the key combination Ctrl + Alt + F1 to exit out of the GUI.<br \/>\nAuthenticate with your username and password.<br \/>\nDon&#8217;t follow this command from the hashcat FAQ ==>For Linux only: <kbd>apt-get -y install ocl-icd-libopencl1 opencl-headers clinfo<\/kbd> <\/p>\n<p>Install the latest Nvidia Driver<br \/>\nVisit <a href=\"https:\/\/launchpad.net\/~graphics-drivers\/+archive\/ubuntu\/ppa\">https:\/\/launchpad.net\/~graphics-drivers\/+archive\/ubuntu\/ppa<\/a> to determine the latest Nvidia drivers found in the repository.  Also check to ensure your graphics card supports the latest driver (<a href=\"http:\/\/www.nvidia.com\/object\/unix.html\">http:\/\/www.nvidia.com\/object\/unix.html<\/a>).<br \/>\n<code>$sudo apt-get -y install nvidia-384 nvidia-libopencl1-384<\/code><br \/>\nReboot<br \/>\nFor Linux only: rm -rf ~\/.hashcat\/kernels<br \/>\nReinstall hashcat, choose:<br \/>\nStable Version: Download and extract (under Linux, make sure to use: \u201c7z x\u201d to extract) the newest hashcat from https:\/\/hashcat.net\/<br \/>\nDevelopment Version: git clone https:\/\/github.com\/hashcat\/hashcat<br \/>\nTry to run hashcat &#8211;benchmark<\/p>\n<p><strong>References<\/strong><\/p>\n<p><a href=\"https:\/\/hashcat.net\/wiki\/doku.php?id=frequently_asked_questions#i_may_have_the_wrong_driver_installed_what_should_i_do\">https:\/\/hashcat.net\/wiki\/doku.php?id=frequently_asked_questions#i_may_have_the_wrong_driver_installed_what_should_i_do<\/a><br \/>\n<a href=\"https:\/\/launchpad.net\/~graphics-drivers\/+archive\/ubuntu\/ppa\">https:\/\/launchpad.net\/~graphics-drivers\/+archive\/ubuntu\/ppa<\/a><br \/>\n<a href=\"http:\/\/www.nvidia.com\/object\/unix.html\">http:\/\/www.nvidia.com\/object\/unix.html<\/a><br \/>\n<a 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><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For Ubuntu 18.04.1 see this post. There are some issues with the steps listed on the hashcat FAQ found here. This quick tutorial is specifically geared for Ubuntu when you have installed the nvidia packages from the repository. This is what I did to get it to work so hopefully it will be helpful to [&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":[3,5],"tags":[129,154,59],"class_list":["post-1055","post","type-post","status-publish","format-standard","hentry","category-configuration","category-installing-using-tools","tag-hashcat","tag-nvidia","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/1055","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=1055"}],"version-history":[{"count":4,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/1055\/revisions"}],"predecessor-version":[{"id":1137,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/1055\/revisions\/1137"}],"wp:attachment":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}