Tag Info

New answers tagged

20

Depending on your system setup and your command you probably lost only some files - including one essential - and folders and some sym-links. Using the command rm * - executed by an admin in the root folder - usually deletes the sym-link /etc only: Boot to single user mode, check your file system with /sbin/fsck -fy, and mount root read/writable with ...


0

From: Removing Munki Removing the client tools: sudo launchctl unload /Library/LaunchDaemons/com.googlecode.munki.* sudo rm -rf "/Applications/Utilities/Managed Software Update.app" #Munki 2 only: sudo rm -rf "/Applications/Managed Software Center.app" sudo rm -f /Library/LaunchDaemons/com.googlecode.munki.* sudo rm -f ...


1

To do this for just Emacs, use alias emacs=/usr/local/bin/emacs in your shell startup file which will make Emacs always run Homebrew emacs instead of whatever is first in your $PATH. But the better way to do this is to make your shell always look for Homebrew versions of commands first, by putting /usr/local/bin first, or at least early, in your $PATH. ...


0

The following worked for me on Mavericks(10.9.5). I had formated the NTFS USB key on a windows 7 machine. Assuming that the device is named 'usbkey' and the disk shows up as /dev/disk1: $ sudo umount /Volumes/usbkey $ sudo mkdir /Volumes/usbkey $ sudo mount -t ntfs -w -o rw,auto,nobrowse /dev/disk1 /Volumes/usbkey $ mount | grep usbkey /dev/disk1 on ...


1

On OS X Yosemite you should add the script in: /Library/LaunchDaemons using this name for the script: com.mysql.mysql.plist and this content: <!--?xml version="1.0" encoding="UTF-8"?--> <plist version="1.0"> <dict> <key>KeepAlive</key> <dict> <key>SuccessfulExit</key> ...


0

No, it's not possible. When you install gcc, you must satisfied the required dependencies, otherwise this packages will be installed to ensure that works property. Required: gmp ✔, libmpc ✘, mpfr ✘, cloog ✘, isl ✘ Same occurs on linux system, you can install gcc without it's dependencies: Depends: cpp-4.8 (= 4.8.2-19ubuntu1), gcc-4.8-base (= ...


0

I seem to have fixed this issue for myself, I think it's due to a corrupt/buggy "egg" file. I cannot guarantee this will work for you, but I've had this problem for the last 2 months, word for word. And now, I can at least get into scapy. First of all, I found my Python install's paths, with this command: python -c "import sys; print sys.path" In my ...


2

What you're doing is destructive. Each apple update can and will either break or re-introduce parts or all of the python files to are about to delete. Why don't you simply change your path so that the homebrew version of the tool is used? The danger of hacking the core OS is that it's tightly bound into receipts and software update by Apple and you risk ...


2

Why don't you do what it says? rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" The first line is going to delete homebrew completely and then you should be able to reinstall it. NOTE: If you do this you'll have to reinstall all the things you ...


0

I'm not familiar with OpenCart but you should check you path and make sure the homebrew php is the default. In the terminal: $ which php /usr/bin/php $ php -v PHP 5.5.14 (cli) (built: Sep 9 2014 19:09:25) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies $ which mongod /usr/local/bin/mongod $ ls -al ...


1

brew versions has to be installed at some point after you install brew. $ brew tap homebrew/boneyard You can then use the brew versions command as the instructions assume.


1

Sourceforge is down, try later. I'm almost 100% positive that this is what is causing the problem.


0

If you are installing git from git-scm.com directly and would want to use the latest downloaded git instead of apple(old) version of git. Install git from git-scm.com Most probably new git will be installed in /usr/local/bin/git Try git --version, if it returns Apple old version of git then proceed below cd ~ (change directory to your home directory) type ...



Top 50 recent answers are included