Installation

Production

rubygems.org (universal)

!> Warning: Currently supports only Ruby 3.3 because of a dependency, this may change in the future to accept more versions.

$ gem install aspisec

Gem: aspisec

BlackArch

!> Warning: TODO: not published yet

From the repository:

# pacman -S aspisec

From git:

# blackman -i aspisec

PKGBUILD: aspisec

ArchLinux

!> Warning: not published yet

Manually:

$ git clone https://aur.archlinux.org/aspisec.git
$ cd aspisec
$ makepkg -sic

With an AUR helper (Pacman wrappers), eg. pikaur:

$ pikaur -S aspisec

AUR: aspisec

Development

It's better to use ASDM-VM to have the latest version of ruby and to avoid trashing your system ruby.

rubygems.org

$ gem install --development aspisec

git

Just replace x.x.x with the gem version you see after gem build.

$ git clone https://github.com/acceis/aspisec.git aspisec
$ cd aspisec
$ gem install bundler
$ bundler install
$ gem build aspisec.gemspec
$ gem install aspisec-x.x.x.gem

Note: if an automatic install is needed you can get the version with $ gem build aspisec.gemspec | grep Version | cut -d' ' -f4.

No install

Run the library in irb without installing the gem.

From local file:

$ irb -Ilib-ruby -raspisec

Same for the CLI tool:

$ ruby -Ilib-ruby -raspisec bin-ruby/aspisec