セットアップ用コマンド(モジュール)のインストール【AlmaLinux 8】

セットアップ等に必要なコマンド/モジュール類をインストールします。

1. gcc関連

# dnf install gcc*

2. tar

# dnf install tar

3. wget

# dnf install wget

4. postfix

# dnf install postfix
# systemctl start postfix.service
# systemctl enable postfix.service

5. mail

# dnf install mailx

6. dig

# dnf install bind-utils

7. openssl-devel

# dnf install openssl-devel

8. python 3.9

# dnf install python39
バージョン情報を確認します。
# python3.9 -V
Python 3.9.16
python3.9を「python」として実行できるようにします。
# alternatives --config python
3 プログラムがあり 'python' を提供します。
 
  選択       コマンド
-----------------------------------------------
*+ 1           /usr/libexec/no-python
   2           /usr/bin/python3
   3           /usr/bin/python3.9
 
Enter を押して現在の選択 [+] を保持するか、選択番号を入力します:
ここで「3」を入力します。

# python -V
Python 3.9.13

9. rsync

# dnf install rsync

10. ncdu

# dnf --enablerepo=epel install ncdu



最終更新:2023年08月10日 14:16