How to associate ntfs-3g with homegrown?

Forgive me if it is somewhere else, but I cannot find him.

I am trying to install NTFS-3G on OS X 10.11 (El Capitan).

I follow the process at this link

But the step for installing NTFS-3G reports:

$ brew install homebrew/fuse/ntfs-3g Warning: homebrew/fuse/ntfs-3g-2015.3.14 already installed, it just not linked 

So...

  • How easy is it to bind an installed item?

  • How to do this, how to complete the installation process? Is there anything that the brew install ... "process will do after binding?

EDIT: Following bfontaine ... I get:

 $ brew link homebrew/fuse/ntfs-3g Linking /usr/local/Cellar/ntfs-3g/2015.3.14... Error: Could not symlink share/doc/ntfs-3g/README Target /usr/local/share/doc/ntfs-3g/README already exists. You may want to remove it: rm '/usr/local/share/doc/ntfs-3g/README' To force the link and overwrite all conflicting files: brew link --overwrite ntfs-3g To list all files that would be deleted: brew link --overwrite --dry-run ntfs-3g $ brew link --overwrite homebrew/fuse/ntfs-3g Linking /usr/local/Cellar/ntfs-3g/2015.3.14... Error: Could not symlink share/doc/ntfs-3g/README /usr/local/share/doc/ntfs-3g is not writable. 

Am I going to the pit? If I brew remove, will it clean everything up, or will I have to manually clean it?

It gets dirty ...

EDIT2: Output brew link --overwrite -dry-run:

 $ brew link --overwrite --dry-run homebrew/fuse/ntfs-3g Would remove: /usr/local/include/ntfs-3g/acls.h /usr/local/include/ntfs-3g/attrib.h /usr/local/include/ntfs-3g/attrlist.h /usr/local/include/ntfs-3g/bitmap.h /usr/local/include/ntfs-3g/bootsect.h /usr/local/include/ntfs-3g/cache.h /usr/local/include/ntfs-3g/collate.h /usr/local/include/ntfs-3g/compat.h /usr/local/include/ntfs-3g/compress.h /usr/local/include/ntfs-3g/debug.h /usr/local/include/ntfs-3g/device.h /usr/local/include/ntfs-3g/device_io.h /usr/local/include/ntfs-3g/dir.h /usr/local/include/ntfs-3g/ea.h /usr/local/include/ntfs-3g/efs.h /usr/local/include/ntfs-3g/endians.h /usr/local/include/ntfs-3g/index.h /usr/local/include/ntfs-3g/inode.h /usr/local/include/ntfs-3g/ioctl.h /usr/local/include/ntfs-3g/layout.h /usr/local/include/ntfs-3g/lcnalloc.h /usr/local/include/ntfs-3g/logfile.h /usr/local/include/ntfs-3g/logging.h /usr/local/include/ntfs-3g/mft.h /usr/local/include/ntfs-3g/misc.h /usr/local/include/ntfs-3g/mst.h /usr/local/include/ntfs-3g/ntfstime.h /usr/local/include/ntfs-3g/object_id.h /usr/local/include/ntfs-3g/param.h /usr/local/include/ntfs-3g/realpath.h /usr/local/include/ntfs-3g/reparse.h /usr/local/include/ntfs-3g/runlist.h /usr/local/include/ntfs-3g/security.h /usr/local/include/ntfs-3g/support.h /usr/local/include/ntfs-3g/types.h /usr/local/include/ntfs-3g/unistr.h /usr/local/include/ntfs-3g/volume.h /usr/local/include/ntfs-3g/xattrs.h /usr/local/share/man/man8/mkfs.ntfs.8 -> /usr/local/share/man/man8/mkntfs.8 /usr/local/share/man/man8/mkntfs.8 /usr/local/share/man/man8/mount.lowntfs-3g.8 -> /usr/local/share/man/man8/ntfs-3g.8 /usr/local/share/man/man8/mount.ntfs-3g.8 -> /usr/local/share/man/man8/ntfs-3g.8 /usr/local/share/man/man8/ntfs-3g.8 /usr/local/share/man/man8/ntfs-3g.probe.8 /usr/local/share/man/man8/ntfs-3g.secaudit.8 /usr/local/share/man/man8/ntfs-3g.usermap.8 /usr/local/share/man/man8/ntfscat.8 /usr/local/share/man/man8/ntfsclone.8 /usr/local/share/man/man8/ntfscluster.8 /usr/local/share/man/man8/ntfscmp.8 /usr/local/share/man/man8/ntfscp.8 /usr/local/share/man/man8/ntfsfix.8 /usr/local/share/man/man8/ntfsinfo.8 /usr/local/share/man/man8/ntfslabel.8 /usr/local/share/man/man8/ntfsls.8 /usr/local/share/man/man8/ntfsprogs.8 /usr/local/share/man/man8/ntfsresize.8 /usr/local/share/man/man8/ntfsundelete.8 /usr/local/lib/libntfs-3g.86.dylib /usr/local/lib/libntfs-3g.a /usr/local/lib/libntfs-3g.dylib -> /usr/local/lib/libntfs-3g.86.dylib /usr/local/lib/pkgconfig/libntfs-3g.pc $ 

but even after 'brew delete ...' the directory / usr / local / include / ntfs -3g still exists

+5
source share
1 answer

Use brew link homebrew/fuse/ntfs-3g .


Further we will consider the general commands:

 brew install <formula> # install (and link) the formula brew unlink <formula> # unlink the formula brew link <formula> # link the formula brew uninstall <formula> # uninstall (and unlink) the formula 

To understand this, you need to know that when Homebrew installs the foo version 1.2.3 formula, it installs everything under /usr/local/Cellar/foo/1.2.3/ and then binds all the binaries to /usr/local/bin ; all files under /usr/local/share/man ; etc. This means that /usr/local/bin/something not a binary, but a symbolic link to the corresponding binary (for example, /usr/local/Cellar/foo/1.2.3/bin/something ).
Sometimes binaries conflict with each other. For example, both mysql and mariadb provide the mysql binary. Homebrew will not be able to bind both at the same time, so you can install it; disconnect it; then install another. That way you can have both systems without conflict.

+6
source

Source: https://habr.com/ru/post/1234320/


All Articles