uninstall interview questions
Top uninstall frequently asked interview questions
If I have a package.json file defined in my application root and run npm install -g
it will install all the dependencies defined in package.json, globablly.
However, this doesn't seem to work in reverse.
If I do npm uninstall -g
in my application root it throws an error, expceting me to pass it a package name.
Shouldn't this also uninstall the same packages I installed?
Am I doing something wrong?
Source: (StackOverflow)
I recently downloaded Android Studio on my Macbook Pro and I messed up with it every time I open it. It gives me plugin errors and several other errors. I need to uninstall it completely from my mac. I tried to delete it from my mac and then install it again as if you would do the first time, but it did nothing and now the same problems occur.
How can I manage to remove it completely and install a fresh one again?
Source: (StackOverflow)
I want to completely remove Python 2.7 from my Mac OS X 10.6.4. I managed to remove the entry from the PATH variable by reverting my .bash_profile. But I also want to remove all directories, files, symlinks, and entries that got installed by the Python 2.7 install package. I've got the install package from http://www.python.org/. What directories/files/configuration file entries do I need to remove? Is there a list somewhere?
Source: (StackOverflow)
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?
Source: (StackOverflow)
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?
Source: (StackOverflow)
I installed both Python 2.7 and Python 2.6.5. I don't know what went wrong, but nothing related to Python seems to work any more. e.g. "setup.py install" for certain packages don't recognize the "install" parameter and other odd phenomena...
I would like to completely remove Python from my system.
I tried running the 2.7 and 2.6 msi files and choosing remove Python and then running only 2.6 and reinstalling it. Still stuff don't work.
How do I completely remove Python - from everything? (!)
I would not like to reinstall my entire machine just because of the Python install...
Source: (StackOverflow)
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/main, owner: 108:112)
Error: move_conffile: required configuration file /var/lib/postgresql/8.4/main/postgresql.conf does not exist
Error: could not create default cluster. Please create it manually with
pg_createcluster 8.4 main --start
or a similar command (see 'man pg_createcluster').
update-alternatives: using /usr/share/postgresql/8.4/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode.
Setting up postgresql (8.4.3-0ubuntu9.10.1) ...
I have a "/etc/postgresql" with nothing in it and "/etc/postgresql-common/" has a 'pg_upgradecluser.d' directory and root.crt and user_clusters files.
The /etc/passwd has a postgres user; the purge script doesn't appear to touch it. There's been a bunch of symptoms which I work through only to expose the next.
Right this second, when I run that command "pg_createcluster..." it complains that '/var/lib/postgresql/8.4/main/postgresql.conf does not exist', so I'll go find one of those but I'm sure that won't be the end of it.
Is there not some easy one-liner (or two) which will burn it completely and let me start over?
Source: (StackOverflow)
Is there a way to simply uninstall all unused(undeclared) dependencies from a Node.js project (ones that are no longer defined in my package.json
.) When I update my application I like to have the unreferenced packages removed automatically.
Source: (StackOverflow)
I've been looking to find a CLEAN solution to completely and ultimately remove Visual Studio 2010 from my computer. When you install Visual Studio, it also installs a bunch of programs (about 55) in the add/remove programs panel (appwiz.cpl
).
I've already tried a small utility made by Microsoft but it does almost nothing.
I'm really looking now for a better way to uninstall any version of Microsoft Visual Studio.
Because I have a lot of computers, I'm often switching to a version or another or I just decide that I don't need it anymore on one computer to get back some space.
Really, what's the best solution? If there isn't one, why haven't Microsoft developed one that is actually working well?
Source: (StackOverflow)
While uninstalling Microsoft Visual Studio Ultimate 2015 Preview, it throws an error quoting "Microsoft Visual Studio Ultimate 2015 Preview has stopped working"
Message Content Include:
A problem caused the program to stop working correctly. Windows will
close the program and notify you if a solution is available.
I googled and found a utility that uninstalls visual studio 2010 here but nothing exists for Visual Studio 2012, 2013 and 2015. My questions are:
Is there any generic utility that uninstalls Visual Studio by Version ?
Or Is there a way to forcefully uninstall visual studio 2012 onward without using the Program and Features menu?
Source: (StackOverflow)
I've installed grunt using sudo npm install grunt
and I can't remove it.
I've try:
$ sudo npm uninstall grunt
but it give WARN:
npm WARN uninstall not installed in /home/kuba/projects/node_modules: "grunt-cli"
I've also try rm, remove and unlink. and -g
option, it give:
npm WARN uninstall not installed in /usr/lib/node_modules: "grunt"
but I still can call grunt
from command line.
EDIT:
$ whereis grunt
grunt: /usr/local/bin/grunt
$ file /usr/local/bin/grunt
/usr/local/bin/grunt: symbolic link to `../lib/node_modules/grunt/bin/grunt'
$ ls /usr/local/lib/node_modules
grunt jshint
$ ls /usr/lib/node_modules
bower csslint devtools-terminal npm plato
Why I have 2 directories with npm? Is it safe to just delete it?
Source: (StackOverflow)
I am going through the Learn Python the Hard Way, 2nd Edition book, and I am stuck on this problem: "Use your setup.py to install your own module and make sure it works, then use pip to uninstall it."
If I type
setup.py install
in the command line, I can install the module.
But when I type
pip uninstall setup.py
it says:
Cannot uninstall requirement setup.py, not installed
The pip package index says, http://pypi.python.org/pypi/pip, says:
pip is able to uninstall most installed packages with pip uninstall package-name.
Known exceptions include pure-distutils packages installed with python setup.py install >(such packages leave behind no metadata allowing determination of what files were >installed)
Is there another way to install my module that pip will recognize?
By the way, I'm using a windows computer. Just wanted to mention that in case there are different solutions for Windows, Linux, and Mac.
Source: (StackOverflow)
When I install my iOS application using Xcode for the first time, my iPhone asks whether I want to enable push notifications.
I am able to send a notification, and the badge shows a number that I sent.
When I delete the application from my iPhone and rebuild it in Xcode and reinstall it again on my iPhone (using Xcode):
- The device does not ask if I want to enable push.
- The badge is there and remembers the last number.
I tried the same application on a fresh device (installed the IPA) and it asked me for permissions.
How can I completely make my device forget the application?
Thanks
Source: (StackOverflow)
The Chocolatey
package manager supports silent installations via the command below. It doesn't seem to have an uninstall command.
cinst install packagename
Is there a way to uninstall an application via Chocolatey
?
Source: (StackOverflow)
I installed all of my gems using bundler via the Gemfile. I thought (mistakenly) that if I deleted a gem from my Gemfile and ran 'bundle install' that the deleted gems would be uninstalled. I've looked at the bundler help file and, so far as I can tell, it does not have a way to uninstall gems.
Do I just use gem uninstall x for everything? Is this going to confuse bundler?
Source: (StackOverflow)