Results 1 to 5 of 5

Thread: Uninstall, Remove or Delete Drush from multiple locations

  1. #1
    Join Date
    Mar 2013
    Location
    Chattanooga "GigCity" TN
    Beans
    52
    Distro
    Ubuntu 12.04 Precise Pangolin

    Uninstall, Remove or Delete Drush from multiple locations

    Prior to discovering the recommended method of installing Drush I attempted to install it the standard Ubuntu way via the Software Center and sudo apt-get install drush. Now I have two non functional Drush installs in two diff. locations. I would like to remove both of them so I can follow the recommended directions and get Drush installed correctly.

    One location of the install is /usr/share/php/drush the other is /drupal/drush

    I've tried sudo apt-get remove drush and sudo apt-get autoremove drush which are commands I found on other threads. I also tried removing it from the Software Center. But I still have two installations of drush. Any help is greatly appreciated, thanks!
    Last edited by agentofcode; June 19th, 2013 at 03:34 AM.

  2. #2
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: Uninstall, Remove or Delete Drush from multiple locations

    The link you give says that the way to install is:-
    Drush can easily be installed on Ubuntu by using Aptitude or apt-get. If you have sudo rights the quickest way to install Drush is from the Ubuntu repository:

    $ sudo apt-get install drush
    which is basically the same as using the software centre, so I do not understand what your problem is exactly, though you say you now have two installations of drush. Have you carried out the self-update and rebooted as the link suggests?
    DISTRO: Xubuntu 12.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  3. #3
    Join Date
    Mar 2013
    Location
    Chattanooga "GigCity" TN
    Beans
    52
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Uninstall, Remove or Delete Drush from multiple locations

    I did try that previously. Couldn't get it to work. Decided to try it again since you brought it up and I got the update to work and now the version reports back as being updated. However I still have an install at /drupal/drush. How can I get rid of this second install? I'm not sure what method of install placed it there. But I do not recall ever selecting where I wanted it installed.

  4. #4
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,478
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Uninstall, Remove or Delete Drush from multiple locations

    sudo rm -rf /drupal/drush

  5. #5
    Join Date
    Mar 2013
    Location
    Chattanooga "GigCity" TN
    Beans
    52
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Uninstall, Remove or Delete Drush from multiple locations

    Thanks! That's all I needed.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •