uninstall

How to remove a package from Laravel using composer?

旧巷老猫 提交于 2019-11-26 10:05:31
问题 What is the right way to remove a package from Laravel 4? So long I\'ve tried: Remove declaration from composer.json (in \"require\" section) Remove any Class Aliases from app.php Remove any references to the package from my code :-) Run composer update Run composer dump-autoload Not working! Am I missing something? Some packages publish their configuration via \"artisan config:publish ...\". Is there a way to \"unpublish\" them? 回答1: Running the following command will remove the package from

What's the opposite of 'make install', i.e. how do you uninstall a library in Linux?

北城余情 提交于 2019-11-26 10:04:06
问题 While running ./configure --prefix=/mingw on a MinGW/MSYS system for a library I had previously run \'./configure --prefix=/mingw && make && make install\' I came across this message: WARNING: A version of the Vamp plugin SDK is already installed. Expect worries and sorrows if you install a new version without removing the old one first. (Continuing) This had me worried. What\'s the opposite of \'make install\', i.e. how is a library uninstalled in Linux? Will \'make clean\' do the job, or

Ask for password before uninstalling application

放肆的年华 提交于 2019-11-26 09:52:21
问题 First of all, I have researched a lot about my issue, but I could not find a proper solution so I am posting my query here. Hope to get a better solution to the issue: I have a requirement where I need to ask for password to the user before user deletes my app from settings or from any other application like MyAppSharer. I have found one solution where I can successfully be able to call my activity when user clicks on Uninstall button. I have applied trick here, and calling service. In

How can I uninstall Ruby on ubuntu?

梦想的初衷 提交于 2019-11-26 09:08:15
问题 How can I uninstall Ruby 1.9.2dev (2010-07-02) [i486-linux] on ubuntu? Need to reinstall - please help 回答1: This command should do the trick (provided that you installed it using a dpkg-based packet manager): aptitude purge ruby 回答2: Run the following command from your terminal: sudo apt-get purge ruby Usually works well for me. 回答3: At first find out where ruby is? then rm -rf /usr/local/lib/ruby rm -rf /usr/lib/ruby rm -f /usr/local/bin/ruby rm -f /usr/bin/ruby rm -f /usr/local/bin/irb rm

How to downgrade Xcode to previous version?

ぐ巨炮叔叔 提交于 2019-11-26 06:31:46
问题 I have to use Xcode occasionally, and have now come across a problem where I\'ve upgraded to Xcode 4.6, but another piece of software I\'m using doesn\'t support it, so I need to go back to Xcode 4.5. I\'m not used to the way Macs work in general, so if the answers provided could be written with that in mind, that\'d be helpful. :) 回答1: I'm assuming you are having at least OSX 10.7, so go ahead into the applications folder (Click on Finder icon > On the Sidebar, you'll find "Applications",

How can I uninstall an application using PowerShell?

情到浓时终转凉″ 提交于 2019-11-26 05:55:11
问题 Is there a simple way to hook into the standard \' Add or Remove Programs \' functionality using PowerShell to uninstall an existing application ? Or to check if the application is installed? 回答1: $app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -match "Software Name" } $app.Uninstall() Edit: Rob found another way to do it with the Filter parameter: $app = Get-WmiObject -Class Win32_Product ` -Filter "Name = 'Software Name'" 回答2: EDIT: Over the years this answer has gotten

How to uninstall Anaconda completely from macOS

左心房为你撑大大i 提交于 2019-11-26 04:59:08
问题 How can I completely uninstall Anaconda from MacOS Sierra and revert back to the original Python? I have tried using conda-clean -yes but that doesn\'t work. I also remove the stuff in ~/.bash_profile but it still uses the Anaconda python and I can still run the conda command. 回答1: To remove the configs: conda install anaconda-clean anaconda-clean --yes Once the configs are removed you can delete the anaconda install folder, which is usually under your home dir: rm -rf ~/anaconda3 Also, the

How to thoroughly purge and reinstall postgresql on ubuntu? [closed]

安稳与你 提交于 2019-11-26 04:56:56
问题 Somehow I\'ve managed to completely bugger the install of postgresql on Ubuntu karmic. I want to start over from scratch, but when I \"purge\" the package with apt-get it still leaves traces behind such that the reinstall configuration doesn\'t run properly. After I\'ve done: apt-get purge postgresql apt-get install postgresql It said Setting up postgresql-8.4 (8.4.3-0ubuntu9.10.1) ... Configuring already existing cluster (configuration: /etc/postgresql/8.4/main, data: /var/lib/postgresql/8.4

Too many different Python versions on my system and causing problems

。_饼干妹妹 提交于 2019-11-26 04:06:19
问题 During the past years, I have installed many Python libraries with various Python versions. To make them ready to work immediately, I installed them blindly without control. Currently they\'re causing problems when I tried to install pynest which invokes numpy, scipy and matplotlib. After struggling, I am going to clean and reinstall Python and the libraries. After investigation, I found Python 2.5/2.6/2.7/3.2 on my system, and each of them has some copies or other things at: (my OS == Mac OS

How to prevent an application from being uninstalled?

痴心易碎 提交于 2019-11-26 03:54:47
问题 I\'m developing an application for parents to watch out for their children. So this application cannot be removed by the child. I need to know how to make it uninstallable or the user need password to remove that application. 回答1: Ankur, I think the closest thing to what your looking for is the Device Administration feature introduced in 2.2. Once the application is registered as a Device Administrator, it can't be uninstalled unless its unregistered. This will prevent the app from being