Installation
- Copy hdapm to somewhere on your system - I suggest /usr/local/bin.
- If you want to have hdapm run automatically at startup, also copy the hdapm.plist to /Library/LaunchDaemons
The directions seem incredibly simple:
well there is no usr/local/bin folder. i was told you have to create it. and also there are some terminal commands that im not really sure how to do. why dont you do me a favor and not post unless you have experience with this. you've posted the obvious. i clearly stated that i have read the installation instructions and still can't get it to work. but thanks anyway...
Yes, there is a /usr/local/bin folder. It's a hidden system folder.
In Finder, search for "bin", then add the criteria "System Files" > "Include"
Alternatively, you can show hidden files with the following Terminal commands:
defaults write com.apple.Finder AppleShowAllFiles TRUE
killall Finder
i have like 9 bin folders. is this normal? if so which one do i chose?
Yes, it's normal. Pick the one with the path I showed with the arrow, the same path mentioned in the installation instructions.
i dont see a usr/local/bin. theres a million other combinations of bin folders...
Did you search your Macintosh HD, or a sub-folder?
Just use the Terminal commands I mentioned in my 2nd post. Then you can easily find the /usr folder under Macintosh HD.
i searched the mackintosh hd. did you see my edit?
edit: the closest one i have says usr/local/clamxav/bin
clamxav is just a little virus scanner to scan music files etc..should i put it in that one?
No, don't put it anywhere but /usr/local/bin. That folder does exist on your Mac. It's a standard system folder. If you couldn't find hidden folders, it's extremely unlikely you could have deleted any.
If you want to see the path, in Finder, click View > Show Path Bar and it will appear at the bottom of the window. Look at the red arrow at the bottom of the pic in my 2nd post in this thread.ok i found bin folder with the hidden files. it doesnt say the path though. im assuming it is the correct path thought because there is only one bin folder?
If you want to see the path, in Finder, click View > Show Path Bar and it will appear at the bottom of the window. Look at the red arrow at the bottom of the pic in my 2nd post in this thread.
hmm. the path is mackintosh hd-bin
no usr or local :/
what is happening here 🙁
If you're having this much trouble locating the system folders to install the app, and you have so many questions about how to use the app, my personal recommendation is that you don't bother installing it. Chances are you wouldn't see any difference in performance on your system, anyway. It's not a good idea to monkey around with things on your Mac that you don't fully understand. If you do things wrong, you can easily turn your Mac into a paperweight.
Mac OS X does not have a /usr/local/bin folder by default. If it doesn't exist, just create it from the terminal using 'mkdir'; you will probably need to use 'sudo' as well since /usr requires root write access.
# Wherever you see 'sudo' you are running the subsequent command as the root user.
# Be careful! As root you have full control over the system and it will not ask you if you type
# a command wrong, it will just do it.
# Creates the directory '/usr/local/bin' and any parent directories, if needed
# This command is non-destructive
sudo mkdir -p /usr/local/bin
#Copy hdapm from the mounted hdapm disk image to the
# /usr/local/bin folder
sudo cp /Volumes/hdapm/hdapm /usr/local/bin/hdapm
### BE VERY CAREFUL WITH THE BELOW COMMANDS ###
#Fix the permissions.
# chown changes the owners of files.
# The below commands marks the files as owned by the root user and the
# wheel group.
sudo chown root:wheel /usr/local/bin
sudo chown root:wheel /usr/local/bin/hdapm
# chmod changes the permissions users have for a file
# The below commands makes the files readable and executable
# to everyone while only allowing write access to the root user
#
# Permissions are specified in octal. Read = 4, Write = 2, Execute = 1
# Read, write and execute permissions: 4+2+1 = 7
# Read and execute: 4+1 = 5
# Position specifies who has what:
# 1st number: the user that owns the file (root in this case)
# 2nd number: the group that own the file (wheel in this case)
# 3rd number: everyone else
sudo chmod 755 /usr/local/bin
sudo chmod 755 /usr/local/bin/hdapm
echo $PATH
touch ~/.bash_profile
open -a TextEdit ~/.bash_profile
export PATH="/usr/local/bin:${PATH}"
Ya that's what I thought I just wasent sure. I installed it but I'm not completely sure if it's working yet. Thank your for your patience and help thought. Much appreciated.You can mount the DMG just by double clicking it. As for the permissions stuff, all you need to do is run the chown/chmod. Any lines beginning with a '#' is a comment and simply there for informational purposes.