Tag Info

New answers tagged

1

According to the homebrew FAQ, to uninstall homebrew you use: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" If you don’t want to completely uninstall home-brew but just want to remove all packages installed by homebrew, I think this will do what you need (I’m not currently in a position to remove all of my ...


0

From homebrew/FAQ.md: How do I uninstall Homebrew? To uninstall Homebrew, paste the command below in a terminal prompt. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" Download the uninstall script and run ./uninstall --help to view more uninstall options. The following script also claims to ...


0

There will be no correct answer to your question. Much relies on your preferences and development needs. Developers working on Mac or iOS software are expected, by Apple, to do so without using a virtual machine. If you are deploying to Linux or a non-Mac platform, a virtual machine is probably recommended. To test your software on other versions of OS X, ...


0

You probably need to link it. There may have been an error when you installed it that prevented it from being linked at that time. For example, it would not have been able to be linked if another version of mcrypt was linked when the install was running. brew link php56-mcrypt If another version is already linked, then running this command will tell you ...


2

Don't uninstall the old php as it is /usr/bin and so supplied by Apple and so might affect the OS and Apple might reinstall it as part od an OS upgrade. The binary install of php puts php in /usr/local/bin/php To use it either use the full path or alter your PATH environment variable to have /usr/local/bin before /usr/bin


1

SourceForge is having issues right now. Others are having trouble downloading also. You may end up having to request the author upload the binaries to another source. I am pretty sure if it was an issue with your configuration, you'd still be able to download just not run, or not have access to the internet at all.


1

You can’t, those are different formulae, and Homebrew doesn’t allow you to install a previous version of a formula. The workaround is to remove gcc, then go back in Homebrew’s history (remember that it’s a Git repository), get the gcc formula as it was before the 5.1.0 upgrade, install it, then upgrade gcc to get the latest version. The 5.1.0 gcc upgrade ...


3

You can simply add your export PATH... line in your bash_profile file. This file is run every time you start terminal and will modify your PATH variable as you want. You can open/edit this from anywhere in terminal using open ~/.bash_profile You probably also want to check that there are no conflicting export PATH... statements that overwrite each other ...


3

The a2ps utility is for formatting files for printing on a PostScript printer, hence its name is not a2pdf. The file you created under Linux (or OS X), which is a miss-named .pdf file, is in fact a PostScript file and many Linux Distros will open it anyway. Thus leading you to believe is was a PDF Document when in reality it's not. Looking at the file ...


2

The best manual is the manual that is supplied with the command you are using whether that manual is old or new. Assuming that you have not hard coded MANPATH then man would determine the manual with your PATH and man.conf. If you are installing your own tools then possibly man.conf may need to be configured with your installation prefix. If you have ...


2

gtime can't execute/time commands definied internally by the shell. Commands are executed using the exec() system call, but the system call basically only knows about commands with binaries (e.g. in /usr/bin). Builtin commands are included in the shell binary, there is no way for exec() to execute them. You need to either find a way to execute the command ...


0

This works: class Vm < Formula desc "VM is a mail reader that runs under XEmacs and GNU Emacs." homepage "https://launchpad.net/vm" url "https://launchpad.net/vm/8.2.x/8.1.93a/+download/vm-8.1.93a.tgz" version "8.1.93a" sha256 "9eab4cca6d8e4f3c5b2ab0293caecda3207b8f7e5d1e620d067898c35204235e" depends_on :emacs => ["23", :build] def ...


0

To switch versions: brew unlink php56 && brew link php53 There are complete instructions for managing and using a specific version of PHP at the Github repo for homebrew-php: https://github.com/Homebrew/homebrew-php Setup the homebrew/dupes tap which has dependencies we need: $ brew tap homebrew/dupes Setup the homebrew/versions tap which has ...


1

My /etc/paths has the same content on 10.10.4 and has a timestamp of "Sep 9 2014" so it has been like that for quite some time now. Basically it makes sense to place /usr/local/bin on top because that way binaries installed locally take precedence over the standard versions.


0

You need to give permission to the path. run this in command line and you will be fine to go. It worked for me: sudo chown -R $USER /usr/local


1

If you want to get the size of a mounted block device (which is what blockdev -getsize64 does), you can use the following: diskutil information <device> | grep "Total Size" | sed -e 's/[^(]*(([^Bytes)]*\).*/\1/' If you want to do the same for a file, you can use the following (amongst many others): stat -f '%z' <filename>


2

MacVim maintainer here. It's an old question, but it deserves another answer for completeness: the new MacVim repo is located at github.com/macvim-dev/macvim, you can check the releases page there to download the most recent snapshot (old ones too). They're always compiled against the last version of OS X (I mean, I don't recompile the old snapshots to ...


0

Bad News The Truecrypt Formula on Homebrew has been removed due to bugs, and probably uncertainty in the community regarding truecrypt's safety. There also used to be a homebrew cask which was removed due to installation bugs. However, it was also moved to homebrew-unofficial and scheduled for removal. For more information about the 3rd party audit, and ...


1

Pandoc 1.15.0.4 was just released, will install the MAN pages during the cabal install process. However, you need to make sure your MANPATH environment variable includes the cabal MAN page directory. (On OSX, this is generally $HOME/Library/Haskell/share/man.) Add to your ~/.bashrc: MANPATH=$HOME/Library/Haskell/share/man:$MANPATH



Top 50 recent answers are included