Converting is a common task for users managing software installations on macOS or PlayStation consoles. Because these formats serve entirely different purposes—RAR is a general-purpose compression format, while PKG is a specific installer package—you cannot simply change a file extension to convert them.