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?

More than 3 years have passed since last update.

IBM Cloud: Power Systems Virtual Server(AIX)でyumを導入する方法

Last updated at Posted at 2021-09-04

2021/10/12追記
最近のPower Systems Virtual Server(AIX)では、yumが導入済みでプロビジョニングされてくるようです。

1. 手順概要

AIX toolbox for Linux Applicationsに記載されている、yum.shを実行すれば良い。
image.png

(参考)
https://developer.ibm.com/articles/configure-yum-on-aix/
https://www.ibm.com/support/pages/tips-installing-python-or-other-aix-toolbox-linux-applications

2. 詳細手順

(/optの容量が足りなければ増やしておく)
# chfs -a size=+1G /opt

# curl -ksL https://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/yum.sh | sh

# yum --version
3.4.3
  Installed: yum-3.4.3-8.noarch at 2021-09-04 20:36
  Built    : IBM AIX Toolbox <https://ibm.biz/AIXToolbox> at 2020-12-04 12:33
  Committed: Sangamesh Mallayya <<sangamesh.swamy@in.ibm.com> at 2020-11-30

参考: python3及びawscliの導入例

yumさえ導入されていれば、x86系と変わらない。
例えば、python3を導入してawscliを導入する場合は、ここなどを参考に、以下のようにやれば良い。

(/varの容量が足りなければ増やしておく)
# chfs -a size=+1G /var


# yum install -y python3
# export PATH=/opt/freeware/bin:$PATH
# python3 -V
Python 3.7.10

# mkdir python3710
# python3 -mvenv python3710
# . python3710/bin/activate
(python3710) # pip install --upgrade pip
(python3710) # pip install awscli
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?