0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Bitbucket Pipelineで使用されているOSはAmazon Linuxです。だからyumを使おう

Posted at

結論

  • Bitbucket Pipelineで使用されているOSはAmazon Linux
  • パッケージのインストールにはyumを使う

背景

業務でBitbucket Pipeline を用いてデプロイする際に必要なパッケージのインストールでこけました。(aptを使ってパッケージのインストールを行いました)

解決

原因をいろいろと考えそもそもOSは何なのかを調べることにしました。そうするとAmazon Linuxを使用していたことがわかりました。Amazon Linuxはyumを使ってパッケージをインストールすることを知っていたので、yumでインストールしたところうまくいきました。

(参考)OSを調べるコマンド

cat /etc/os-release
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?