Installation
Production
rubygems.org (universal)
$ gem install unisec
Gem: unisec
BlackArch
From the repository:
# pacman -S unisec
From git:
# blackman -i unisec
PKGBUILD: unisec
ArchLinux
Manually:
$ git clone https://aur.archlinux.org/unisec.git
$ cd unisec
$ makepkg -sic
With an AUR helper (Pacman wrappers), eg. pikaur:
$ pikaur -S unisec
AUR: unisec
Development
It's better to use ASDM-VM to have latests version of ruby and to avoid trashing your system ruby.
rubygems.org
$ gem install --development unisec
git
Just replace x.x.x
with the gem version you see after gem build
.
$ git clone https://github.com/acceis/unisec.git unisec
$ cd unisec
$ gem install bundler
$ bundler install
$ gem build unisec.gemspec
$ gem install unisec-x.x.x.gem
Note: if an automatic install is needed you can get the version with $ gem build unisec.gemspec | grep Version | cut -d' ' -f4
.
No install
Run the library in irb without installing the gem.
From local file:
$ irb -Ilib -runisec
Same for the CLI tool:
$ ruby -Ilib -runisec bin/unisec