how to uninstall cuda package groups that was installed by a local .deb file using dpkg command?How to check...

Memory usage: #define vs. static const for uint8_t

How to politely refuse in-office gym instructor for steroids and protein

Can we "borrow" our answers to populate our own websites?

Does it take energy to move something in a circle?

How can the probability of a fumble decrease linearly with more dice?

Should I cite R or RStudio?

What does an unprocessed RAW file look like?

Taking headphones when quitting job

Which RAF squadrons and aircraft types took part in the bombing of Berlin on the 25th of August 1940?

Why do we have to make "peinlich" start with a capital letter and also end with -s in this sentence?

How do you funnel food off a cutting board?

What's this assembly doing?

How vim overwrites readonly mode?

Possible issue with my W4 and tax return

Subsurf on a crown. How can I smooth some edges and keep others sharp?

What species should be used for storage of human minds?

Square Root Distance from Integers

Why zero tolerance on nudity in space?

What to do with threats of blacklisting?

Non-Cancer terminal illness that can affect young (age 10-13) girls?

Why maximum length of IP, TCP, UDP packet is not suit?

Why is the size of a directory either 0 or 4096?

How can I play a serial killer in a party of good PCs?

How to not let the Identify spell spoil everything?



how to uninstall cuda package groups that was installed by a local .deb file using dpkg command?


How to check a .deb file Installable or not using command lineHow To Uninstall Failed 'dpkg -i xorg_7.6+12ubuntu1_amd64.deb' CommandProblems Installing CUDA on 14.04Errors installing CUDA development libraries on Ubuntu 14.04How to complete a dpkg cuBLAS Patch Update to CUDA 8 installation in 16.04?Problem installing CUDA 8 on Ubuntu 16.04 - Missing proc/driver/nvidia folderhow to fix apt-update error: Package Hash sum mismatchKubuntu Tensorflow-GPU CUDA 9 and cuDNN 7.0/7.1 installed“FreeImage is not set up correctly. Please ensure FreeImage is set up correctly” error when trying to verify cudnn installationCan't install CUDA 9.2 - Unable to locate package cuda













0















I had installed cuda 9.0 using local .deb file.



dpkg --get-selections | grep -v deinstall | grep cuda  
cuda-9-0 install
cuda-command-line-tools-9-0 install
cuda-core-9-0 install
cuda-cublas-9-0 install
cuda-cublas-dev-9-0 install
cuda-cudart-9-0 install
cuda-cudart-dev-9-0 install
cuda-cufft-9-0 install
cuda-cufft-dev-9-0 install
cuda-curand-9-0 install
cuda-curand-dev-9-0 install
cuda-cusolver-9-0 install
cuda-cusolver-dev-9-0 install
cuda-cusparse-9-0 install
cuda-cusparse-dev-9-0 install
cuda-demo-suite-9-0 install
cuda-documentation-9-0 install
cuda-driver-dev-9-0 install
cuda-drivers install
cuda-libraries-9-0 install
cuda-libraries-dev-9-0 install
cuda-license-9-0 install
cuda-misc-headers-9-0 install
cuda-npp-9-0 install
cuda-npp-dev-9-0 install
cuda-nvgraph-9-0 install
cuda-nvgraph-dev-9-0 install
cuda-nvml-dev-9-0 install
cuda-nvrtc-9-0 install
cuda-nvrtc-dev-9-0 install
cuda-repo-ubuntu1604-9-0-local install
cuda-repo-ubuntu1604-9-0-local-cublas-performance-update install
cuda-repo-ubuntu1604-9-0-local-cublas-performance-update-2 install
cuda-repo-ubuntu1604-9-0-local-cublas-performance-update-3 install
cuda-repo-ubuntu1604-9-2-148-local-patch-1 install
cuda-repo-ubuntu1604-9-2-local install
cuda-runtime-9-0 install
cuda-samples-9-0 install
cuda-toolkit-9-0 install
cuda-visual-tools-9-0 install
libcuda1-396 install


today I found I can have multiple versions of cuda so I decided to uninstall cuda 9.0 and install cuda 9.2 using apt-get (which is the version installed by apt-get in ubuntu 16.04.5 LTS now) and additively install cuda 9.0 using .run file later. So I did sudo dpkg -P cuda-9-0 and found out, of the above listed packages, only the first one cuda-9-0 was removed.
What command should I give to uninstall all the above cuda-9-0 related packages?

I tried sudo dpkg--purge cuda-repo-ubuntu1604-9-0-local.deb (of course the .deb file for the patches first) but it didn't work. Of course I can remove them one by one, but I think there should be a 'group uninstall' command. What is it?



ADD :

If if give sudo apt remove cuda-9.0, I get



Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcuda-9.0-1' for regex 'cuda-9.0'
Note, selecting 'libcuda1-384' instead of 'libcuda-9.0-1'
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libcudnn7-dev : Depends: libcudnn7 (= 7.4.2.24-1+cuda9.2) but 7.0.5.15-1+cuda9.0 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


(maybe this is because I installed cuda 9.0 using .deb file and cudnn also using .deb file. should I maybe unsintall cudnn first?)










share|improve this question



























    0















    I had installed cuda 9.0 using local .deb file.



    dpkg --get-selections | grep -v deinstall | grep cuda  
    cuda-9-0 install
    cuda-command-line-tools-9-0 install
    cuda-core-9-0 install
    cuda-cublas-9-0 install
    cuda-cublas-dev-9-0 install
    cuda-cudart-9-0 install
    cuda-cudart-dev-9-0 install
    cuda-cufft-9-0 install
    cuda-cufft-dev-9-0 install
    cuda-curand-9-0 install
    cuda-curand-dev-9-0 install
    cuda-cusolver-9-0 install
    cuda-cusolver-dev-9-0 install
    cuda-cusparse-9-0 install
    cuda-cusparse-dev-9-0 install
    cuda-demo-suite-9-0 install
    cuda-documentation-9-0 install
    cuda-driver-dev-9-0 install
    cuda-drivers install
    cuda-libraries-9-0 install
    cuda-libraries-dev-9-0 install
    cuda-license-9-0 install
    cuda-misc-headers-9-0 install
    cuda-npp-9-0 install
    cuda-npp-dev-9-0 install
    cuda-nvgraph-9-0 install
    cuda-nvgraph-dev-9-0 install
    cuda-nvml-dev-9-0 install
    cuda-nvrtc-9-0 install
    cuda-nvrtc-dev-9-0 install
    cuda-repo-ubuntu1604-9-0-local install
    cuda-repo-ubuntu1604-9-0-local-cublas-performance-update install
    cuda-repo-ubuntu1604-9-0-local-cublas-performance-update-2 install
    cuda-repo-ubuntu1604-9-0-local-cublas-performance-update-3 install
    cuda-repo-ubuntu1604-9-2-148-local-patch-1 install
    cuda-repo-ubuntu1604-9-2-local install
    cuda-runtime-9-0 install
    cuda-samples-9-0 install
    cuda-toolkit-9-0 install
    cuda-visual-tools-9-0 install
    libcuda1-396 install


    today I found I can have multiple versions of cuda so I decided to uninstall cuda 9.0 and install cuda 9.2 using apt-get (which is the version installed by apt-get in ubuntu 16.04.5 LTS now) and additively install cuda 9.0 using .run file later. So I did sudo dpkg -P cuda-9-0 and found out, of the above listed packages, only the first one cuda-9-0 was removed.
    What command should I give to uninstall all the above cuda-9-0 related packages?

    I tried sudo dpkg--purge cuda-repo-ubuntu1604-9-0-local.deb (of course the .deb file for the patches first) but it didn't work. Of course I can remove them one by one, but I think there should be a 'group uninstall' command. What is it?



    ADD :

    If if give sudo apt remove cuda-9.0, I get



    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'libcuda-9.0-1' for regex 'cuda-9.0'
    Note, selecting 'libcuda1-384' instead of 'libcuda-9.0-1'
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    libcudnn7-dev : Depends: libcudnn7 (= 7.4.2.24-1+cuda9.2) but 7.0.5.15-1+cuda9.0 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


    (maybe this is because I installed cuda 9.0 using .deb file and cudnn also using .deb file. should I maybe unsintall cudnn first?)










    share|improve this question

























      0












      0








      0








      I had installed cuda 9.0 using local .deb file.



      dpkg --get-selections | grep -v deinstall | grep cuda  
      cuda-9-0 install
      cuda-command-line-tools-9-0 install
      cuda-core-9-0 install
      cuda-cublas-9-0 install
      cuda-cublas-dev-9-0 install
      cuda-cudart-9-0 install
      cuda-cudart-dev-9-0 install
      cuda-cufft-9-0 install
      cuda-cufft-dev-9-0 install
      cuda-curand-9-0 install
      cuda-curand-dev-9-0 install
      cuda-cusolver-9-0 install
      cuda-cusolver-dev-9-0 install
      cuda-cusparse-9-0 install
      cuda-cusparse-dev-9-0 install
      cuda-demo-suite-9-0 install
      cuda-documentation-9-0 install
      cuda-driver-dev-9-0 install
      cuda-drivers install
      cuda-libraries-9-0 install
      cuda-libraries-dev-9-0 install
      cuda-license-9-0 install
      cuda-misc-headers-9-0 install
      cuda-npp-9-0 install
      cuda-npp-dev-9-0 install
      cuda-nvgraph-9-0 install
      cuda-nvgraph-dev-9-0 install
      cuda-nvml-dev-9-0 install
      cuda-nvrtc-9-0 install
      cuda-nvrtc-dev-9-0 install
      cuda-repo-ubuntu1604-9-0-local install
      cuda-repo-ubuntu1604-9-0-local-cublas-performance-update install
      cuda-repo-ubuntu1604-9-0-local-cublas-performance-update-2 install
      cuda-repo-ubuntu1604-9-0-local-cublas-performance-update-3 install
      cuda-repo-ubuntu1604-9-2-148-local-patch-1 install
      cuda-repo-ubuntu1604-9-2-local install
      cuda-runtime-9-0 install
      cuda-samples-9-0 install
      cuda-toolkit-9-0 install
      cuda-visual-tools-9-0 install
      libcuda1-396 install


      today I found I can have multiple versions of cuda so I decided to uninstall cuda 9.0 and install cuda 9.2 using apt-get (which is the version installed by apt-get in ubuntu 16.04.5 LTS now) and additively install cuda 9.0 using .run file later. So I did sudo dpkg -P cuda-9-0 and found out, of the above listed packages, only the first one cuda-9-0 was removed.
      What command should I give to uninstall all the above cuda-9-0 related packages?

      I tried sudo dpkg--purge cuda-repo-ubuntu1604-9-0-local.deb (of course the .deb file for the patches first) but it didn't work. Of course I can remove them one by one, but I think there should be a 'group uninstall' command. What is it?



      ADD :

      If if give sudo apt remove cuda-9.0, I get



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Note, selecting 'libcuda-9.0-1' for regex 'cuda-9.0'
      Note, selecting 'libcuda1-384' instead of 'libcuda-9.0-1'
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies:
      libcudnn7-dev : Depends: libcudnn7 (= 7.4.2.24-1+cuda9.2) but 7.0.5.15-1+cuda9.0 is to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      (maybe this is because I installed cuda 9.0 using .deb file and cudnn also using .deb file. should I maybe unsintall cudnn first?)










      share|improve this question














      I had installed cuda 9.0 using local .deb file.



      dpkg --get-selections | grep -v deinstall | grep cuda  
      cuda-9-0 install
      cuda-command-line-tools-9-0 install
      cuda-core-9-0 install
      cuda-cublas-9-0 install
      cuda-cublas-dev-9-0 install
      cuda-cudart-9-0 install
      cuda-cudart-dev-9-0 install
      cuda-cufft-9-0 install
      cuda-cufft-dev-9-0 install
      cuda-curand-9-0 install
      cuda-curand-dev-9-0 install
      cuda-cusolver-9-0 install
      cuda-cusolver-dev-9-0 install
      cuda-cusparse-9-0 install
      cuda-cusparse-dev-9-0 install
      cuda-demo-suite-9-0 install
      cuda-documentation-9-0 install
      cuda-driver-dev-9-0 install
      cuda-drivers install
      cuda-libraries-9-0 install
      cuda-libraries-dev-9-0 install
      cuda-license-9-0 install
      cuda-misc-headers-9-0 install
      cuda-npp-9-0 install
      cuda-npp-dev-9-0 install
      cuda-nvgraph-9-0 install
      cuda-nvgraph-dev-9-0 install
      cuda-nvml-dev-9-0 install
      cuda-nvrtc-9-0 install
      cuda-nvrtc-dev-9-0 install
      cuda-repo-ubuntu1604-9-0-local install
      cuda-repo-ubuntu1604-9-0-local-cublas-performance-update install
      cuda-repo-ubuntu1604-9-0-local-cublas-performance-update-2 install
      cuda-repo-ubuntu1604-9-0-local-cublas-performance-update-3 install
      cuda-repo-ubuntu1604-9-2-148-local-patch-1 install
      cuda-repo-ubuntu1604-9-2-local install
      cuda-runtime-9-0 install
      cuda-samples-9-0 install
      cuda-toolkit-9-0 install
      cuda-visual-tools-9-0 install
      libcuda1-396 install


      today I found I can have multiple versions of cuda so I decided to uninstall cuda 9.0 and install cuda 9.2 using apt-get (which is the version installed by apt-get in ubuntu 16.04.5 LTS now) and additively install cuda 9.0 using .run file later. So I did sudo dpkg -P cuda-9-0 and found out, of the above listed packages, only the first one cuda-9-0 was removed.
      What command should I give to uninstall all the above cuda-9-0 related packages?

      I tried sudo dpkg--purge cuda-repo-ubuntu1604-9-0-local.deb (of course the .deb file for the patches first) but it didn't work. Of course I can remove them one by one, but I think there should be a 'group uninstall' command. What is it?



      ADD :

      If if give sudo apt remove cuda-9.0, I get



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Note, selecting 'libcuda-9.0-1' for regex 'cuda-9.0'
      Note, selecting 'libcuda1-384' instead of 'libcuda-9.0-1'
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies:
      libcudnn7-dev : Depends: libcudnn7 (= 7.4.2.24-1+cuda9.2) but 7.0.5.15-1+cuda9.0 is to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      (maybe this is because I installed cuda 9.0 using .deb file and cudnn also using .deb file. should I maybe unsintall cudnn first?)







      apt nvidia package-management dpkg cuda






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 14 mins ago









      Chan KimChan Kim

      216213




      216213






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121338%2fhow-to-uninstall-cuda-package-groups-that-was-installed-by-a-local-deb-file-usi%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121338%2fhow-to-uninstall-cuda-package-groups-that-was-installed-by-a-local-deb-file-usi%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...