open-rdc / orne-box

Platform hardware for autonomous robot
BSD 2-Clause "Simplified" License
25 stars 20 forks source link

WSLを使用したテスト環境の作成 #82

Closed yasuohayashibara closed 9 months ago

yasuohayashibara commented 9 months ago

インストールと実行の手順を作成するためのwslのテスト環境の作成 備忘録

以下参考 https://zenn.dev/naonaorange/articles/20210523_wsl_ubuntu

yasuohayashibara commented 9 months ago

まっさらなUbuntu-20.04からtarファイルを作成

wsl --export Ubuntu-20.04 Ubuntu-20.04.org.tar

こちらからテスト用の環境を作成

wsl --import Ubuntu-20.04_ROS Ubuntu-20.04_ROS Ubuntu-20.04.org.tar

起動(ターミナルで設定すると便利) wsl.exe -d Ubuntu-20.04_ROS -u mirai

使い終わったら削除 ファイルは残るのでそちらも削除

wsl --unregister Ubuntu-20.04_ROS 
yasuohayashibara commented 9 months ago

テスト環境でのチェックが終了したのでissueを閉じます.