PR

aws help使用時に”Could not find executable named “groff””のメッセージが出て来る

備忘録
記事内に広告(Amazonアソシエイト含む)が含まれています。

概要

以前購入したmiraboxちゃんにaws cliを入れようとしたら思った以上に詰まったときの話。

環境

miraboxちゃんに最初から入っているdebianをそのまま使ってます。

root@:/# cat /etc/debian_version 7.10

やったこと

チュートリアル: AWS CLI for Kinesis Data Streams のインストールと設定 - Amazon Kinesis Data Streams
AWS CLIをインストールして設定します。

AWSの提供している「AWS CLI のインストールと設定」を参考にポチポチとコマンドをうってました。

curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" 
sudo python get-pip.py
sudo pip install awscli

このへんまでは順調

root@: /# aws help
Could not find executable named "groff"

ふぁっ!?

aws helpコマンドが使えない…?

groffがないと言われている…?

 

root@: /# wich groff 

たしかに無い

調べるφ(..)

日本語のページが無くて血の涙を流しながら英語を読みました。

aws help command fails without less installed · Issue #1957 · aws/aws-cli
I ran into a case where the awscli help commands failed without groff & less installed. The error message for not having...

aws cliはgroffとlessがないと使えないよーって話っぽい。(ぬいぐるみの英語力は超低いのでお察し)

groffは文書整形につかうコマンド、とのこと。

 

インストール

lessはすでに入っているので、groffをインストールする。普通のgroffだと入らなかった。

調べてみたら、debianではgroff-baseを入れればOKらしい。

root@:/# apt-get install -y groff-base
(省略)

正常にインストールされたっぽい。

root@:/# which groff
/usr/bin/groff

ドキドキしながらコマンドをポチポチ。

root@:/# aws help
(省略)

キタ━━━━(゚∀゚)━━━━!!

ってわけで、groffがないと駄目らしい。

日本語の情報がなかったのでブログのネタにしたった。

参考:

aws help command fails without less installed · Issue #1957 · aws/aws-cli
I ran into a case where the awscli help commands failed without groff & less installed. The error message for not having...

コメント

タイトルとURLをコピーしました