I downloaded a hexeditor.dmg file and then open it from command line
>>hdiutil attach hexeditor.dmg
then
>> cd /Volumns/hexeditor
I see a folder named "hexeditor.app"
I want to use 'mv hexeditor.app /Applications' to move the folder into applications folder, but I get an "read only file system" error. And also I cannot change its permission with "chmod" command.
Anyone knows why??? Please help me... Thanks a lot.
most applications are actually self contained folders, that have all the contents of the app itself needed to run.
You may need to cp -R or ditto to copy all the contents from the command line. If the app uses an installer, you may not be able to install it from the command line. Not every developer follows Apple's standards *coughlike Adobe*cough.
You can't MOVE files from a DMG. MOVE (mv) means... copy and then delete. You need to COPY (cp) the file to the destination. You might also have to use 'sudo' depending on where you are putting the file.