1. Install pkgutil
pkgadd -d http://blastwave.network.com/csw/pkgutil_`/sbin/uname -p`.pkg
2. Fetch the catalog
/opt/csw/bin/pkgutil --catalogNote: you should probably add /opt/csw/bin to your $PATH. From now on I'll assume you did that and omit the /opt/csw/bin part from the commands.
3. Install required software to check package signatures
pkgutil --install gnupg textutilsYou'll notice it'll also fetch dependencies.
4. Get Blastwave package signing key
gpg --keyserver pgp.mit.edu --recv-keys A1999E90Note: don't trust me, check the key ID on Blastwave website. It might have changed. Or I might be tricking you into installing malware.
5. Set the key as trusted
gpg --edit-key A1999E90Enter trust, than 5 and quit.
6. Enable signature verification
Edit /opt/csw/etc/pkgutil.conf. Uncomment the lines:
use_gpg=true
use_md5=true
7. Download catalog again
8. That's it
You can now install the software the way you'd do with apt-get or yum, for example:
pkgutil --install mc(personally, I think any Unix is much more user friendly with Midnight Commander)
pkgutil --remove [package name]will remove a package with all dependencies.

No comments:
Post a Comment