Alien-Plotly-Orca
view release on metacpan or search on metacpan
lib/Alien/Plotly/Orca.pm view on Meta::CPAN
package Alien::Plotly::Orca;
# ABSTRACT: Finds or installs plotly-orca
use strict;
use warnings;
our $VERSION = '0.0002'; # VERSION
use parent 'Alien::Base';
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Alien::Plotly::Orca - Finds or installs plotly-orca
=head1 VERSION
version 0.0002
=head1 SYNOPSIS
use Alien::Plotly::Orca;
use Config;
if (Alien::Plotly::Orca->install_type eq 'share') {
$ENV{PATH} = join(
$Config{path_sep},
Alien::Plotly::Orca->bin_dir,
$ENV{PATH}
);
# get version
my $version = Alien::Plotly::Orca->version;
}
# If install_type is not 'share' then it means plotly-orca
# was detected from PATH when Alien::Plotly::Orca was installed.
# So in either case now you should be able to do,
print `orca -h`;
=head1 DESCRIPTION
This module finds L<plotly-orca|https://github.com/plotly/orca> from your
system, or installs it (version 1.3.1).
For installation it uses prebuilt packages and would supports 3 OS
platforms: Windows, Linux and OSX.
For Windows and OSX it would get package from
L<Anaconda's plotly repo|https://anaconda.org/plotly/plotly-orca/files>.
For Linux it would get the AppImage file from
L<plotly-orca's github release page|https://github.com/plotly/orca/releases>.
=head1 INSTALLATION
=head2 Linux
Normally you should be all fine if you have a recent version of popular
distros like Ubuntu as your Linux desktop. If you're an advanced Linux user
or if you get problems check below list and make sure you have them all on
you Linux host.
=over 4
( run in 0.329 second using v1.01-cache-2.11-cpan-adec679a428 )