Announcement

Collapse
No announcement yet.

How to uninstall something installed with cmake

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to uninstall something installed with cmake

    I'm trying to install a package called supercollider-plugins which is designed to work as an extension to some music software called supercollider.

    I installed supercollider via apt.

    I've followed the instructions to install supercollider-plugins from the .tgz file. I've reproduced the relevant parts of the install instructions below:

    sc3-plugins/$ mkdir build && cd build

    sc3-plugins/build/$ cmake ..

    sc3-plugins/build/$ make

    sc3-plugins/build/$ make install

    Turns out though, I've installed supercollider-plugins in the wrong place. It needs to be installed in the same location as supercollider.

    So my question is: how do I completely remove supercollider-plugins so that I can start again? Can I remove the directory it installed into? Come to think of it, can I just copy the files into the right place and expect it to work?

    Thanks

    David

    #2
    To install them to your system, you will need to run "make install" using sudo.



    Sent from my Droid DNA using Tapatalk.

    Comment


      #3
      CMake generic install

      Code:
      mkdir -p builddir
      
      cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
      
      or with the 'buntu:
      
      cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr
      
      make
      
      sudo make install
      With the 'sudo make install' there should be project installation information:

      $ sudo make install

      [ 0%] Built target something_automoc
      [100%] Built target something
      Install the project...
      -- Install configuration: ""
      -- Installing: /usr/something/...
      -- Installing: /usr/share/something/...
      ...etc...one line per installed file
      The cmake should make a list of the installed files in the build directory - install_manifest.txt


      CMake generic uninstall


      The files can be removed by hand or with the command:
      Code:
      sudo make uninstall
      You need to be in the build directory.


      Come to think of it, can I just copy the files into the right place and expect it to work?
      Maybe, you could test it.
      Last edited by OneLine; Jun 29, 2013, 07:21 AM.
      Have you tried ?

      - How to Ask a Question on the Internet and Get It Answered
      - How To Ask Questions The Smart Way

      Comment


        #4
        Code:
        sudo make uninstall
        But of course!

        Thanks for your help, guys.

        Comment

        Working...
        X