地方在住IT系ニート

Hioke

Genieのインストール(WSL2でsystemctl)

Table of Contents

インストール

sudo su
apt install daemonize dbus gawk libc6 libstdc++6 policykit-1 systemd systemd-container
wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb

apt update
apt upgrade

sudo apt install dotnet-runtime-5.0

apt install apt-transport-https
wget -O /etc/apt/trusted.gpg.d/wsl-transdebian.gpg https://arkane-systems.github.io/wsl-transdebian/apt/wsl-transdebian.gpg
chmod a+r /etc/apt/trusted.gpg.d/wsl-transdebian.gpg

cat << EOF > /etc/apt/sources.list.d/wsl-transdebian.list
deb https://arkane-systems.github.io/wsl-transdebian/apt/ $(lsb_release -cs) main
deb-src https://arkane-systems.github.io/wsl-transdebian/apt/ $(lsb_release -cs) main
EOF

apt update
apt install systemd-genie

#実行
genie -l
genie -s
にほんブログ村 IT技術ブログ IT技術メモへ