Skip to content

Instantly share code, notes, and snippets.

@akilab
Last active October 18, 2025 14:09
Show Gist options
  • Select an option

  • Save akilab/fa60d0a5281cb325798c43218998c964 to your computer and use it in GitHub Desktop.

Select an option

Save akilab/fa60d0a5281cb325798c43218998c964 to your computer and use it in GitHub Desktop.
Kali日本語化メモ
# 最新化(完了後再起動)
$ sudo apt-get update #パッケージリストの更新
$ sudo apt-get upgrade #インストールされているパッケージの更新
$ sudo apt-get autoremove #不要と判断されたパッケージは削除
$ sudo shutdown -r now # 再起動
$ sudo apt install task-japanese task-japanese-desktop
$ sudo shutdown -r now # 再起動
# 日付合わせ
$ sudo dpkg-reconfigure tzdata
$ sudo shutdown -r now # 再起動
# 日本語入力をfcitxに変更する
$ sudo apt update
$ sudo apt install fcitx5 fcitx5-mozc fcitx5-config-qt
$ fcitx5
$ fcitx5-configtool #設定ダイアログが開くので設定をする
$ sudo shutdown -r now # 再起動
#不要なuimを削除
$ sudo apt purge uim uim-anthy uim-gtk2.0 uim-gtk3 uim-qt
$ sudo shutdown -r now # 再起動
# ユーザー追加
$ sudo useradd -m -s /usr/bin/zsh -G sudo akilab
# パスワード変更
$ sudo passwd akilab
$ su akilab #ユーザー変更
#フォルダ作成
$ LANG=C xdg-user-dirs-update --force
#フォルダの作成を確認
$ id
#ユーザーの情報を確認
$ groups
#所属しているグループを確認
$ sudo -l
#sudoできるかを確認する

Comments are disabled for this gist.