Tuesday, June 5, 2018

Installing OS/X Packages in Home without Admin rights

Not all packages will work, but I managed to install ownCloud's client into my home directory without admin rights, and I'm sure this will work for other packages whose installer don't give you the ability to change the target directory.

cd ~/Downloads
>Download foo.pkg<
mkdir foo
cd foo
xaf -xf ../foo.pkg
cd ~/Applications
tar zxvf ~/Downloads/foo/foo.pkg/Payload
>open foo.app<