Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
If you are asking this question then really, just use homebrew.

I want to learn this.

I tried to drag and drop it to /usr/bin but Capitan don't allow it. Mouse cursor changes to circle with \ when i try to drag and drop.

I dragged it to /usr/local/bin whatever that is.

What's the difference between different bin folders and how i can put it to correct bin folder? Thanks
 
I want to learn this.

I tried to drag and drop it to /usr/bin but Capitan don't allow it. Mouse cursor changes to circle with \ when i try to drag and drop.

I dragged it to /usr/local/bin whatever that is.

What's the difference between different bin folders and how i can put it to correct bin folder? Thanks

Assuming you're the only one going to use it then you might as well just keep it in your personal direction and execute it using ./ (making sure you have the correct permissions on the file to allow it to be executable).
 
Assuming you're the only one going to use it then you might as well just keep it in your personal direction and execute it using ./ (making sure you have the correct permissions on the file to allow it to be executable).

Thanks. Do you mean keep it in my user folder or in root level of hard drive? And where this ./ goes? I'm only user in this computer.
 
Using the Terminal for this it would be much easier to deal with - type
Code:
sudo cp afsctool /usr/bin
type your password(which is invisible when typing btw.)

Have you turned off The System Integrity Protection on El Capitan? Only this allows for the file to be copied to that directory.
 
I want to learn this.

I tried to drag and drop it to /usr/bin but Capitan don't allow it. Mouse cursor changes to circle with \ when i try to drag and drop.

I dragged it to /usr/local/bin whatever that is.

What's the difference between different bin folders and how i can put it to correct bin folder? Thanks

If you want to learn it, then you should start doing UNIX command line tutorials and learn basics for UNIX/Linux programming. There is no way we are going to teach you this in the forum. The repo I quoted above contains the compiled file (no idea if it works). Dragging it to /usr/local/bin is the correct decision. /usr/bin is reserved for system utilities and starting from 10.11, is write-protected via SIP.

Anyway, once it is in /usr/local/bin, you should be able to use the utility normally, by invoking its name in the terminal.
 
Using the Terminal for this it would be much easier to deal with - type
Code:
sudo cp afsctool /usr/bin
type your password(which is invisible when typing btw.)

Have you turned off The System Integrity Protection on El Capitan? Only this allows for the file to be copied to that directory.

Please don't do what this person says :D There is absolutely no reason for afsctool to be in a system directory and certainly no reason for you to disable SIP to this end.
 
  • Like
Reactions: mjturner
Thanks. Do you mean keep it in my user folder or in root level of hard drive? And where this ./ goes? I'm only user in this computer.

Keep it in your user folder - just create a directory and throw it in there. ./afsctool is used to execute the file that is in that current directory (the directory that you're currently working in that the file is located in) or otherwise it won't be able to run since it isn't located in the $PATH configuration. Also, ensure that it is excitable to you as an end user as well - give it chmod 777 and that will make life easier for all concerned.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.