Tag Info

Hot answers tagged

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 ...


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 ...


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 ...


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 ...


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

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

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 ...


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>


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.


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 ...


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.



Only top voted, non community-wiki answers of a minimum length are eligible