(window) humble #1
2023. 12. 26.

파워셀 아님

 

 

 

 

x64 Native Tools Command Prompt for VS 2019

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

 

 

 

 

 

 

 

 

 

 

 

 

C:\Windows\System32>@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
경고: 'choco' was found at 'C:\ProgramData\chocolatey\bin\choco.exe'.
경고: An existing Chocolatey installation was detected. Installation will not continue. This script will not overwrite
existing installations.
If there is no Chocolatey installation at 'C:\ProgramData\chocolatey', delete the folder and attempt the installation
again.

Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself.
If the existing installation is not functional or a prior installation did not complete, follow these steps:
 - Backup the files at the path listed above so you can restore your previous installation if needed.
 - Remove the existing installation manually.
 - Rerun this installation script.
 - Reinstall any packages previously installed, if needed (refer to the lib folder in the backup).

Once installation is completed, the backup folder is no longer needed and can be deleted.

 

 

 

 

 

 

 

 

 

 

  1. 경고 메시지:
    • 'choco' was found at 'C:\ProgramData\chocolatey\bin\choco.exe'.
      • choco가 'C:\ProgramData\chocolatey\bin\choco.exe'에서 발견되었습니다.
    • An existing Chocolatey installation was detected. Installation will not continue. This script will not overwrite existing installations.
      • 기존의 Chocolatey 설치가 감지되었습니다. 설치가 계속되지 않을 것입니다. 이 스크립트는 기존 설치를 덮어쓰지 않습니다.
  2. 추천 사항:
    • If there is no Chocolatey installation at 'C:\ProgramData\chocolatey', delete the folder and attempt the installation again.
      • 'C:\ProgramData\chocolatey'에 Chocolatey 설치가 없다면, 해당 폴더를 삭제하고 설치를 다시 시도하세요.
    • Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself.
      • Chocolatey 자체의 업그레이드를 처리하기 위해 'choco upgrade chocolatey'를 사용하세요.
  3. 문제 해결 단계:
    • 위에 나열된 경로에 있는 파일을 백업하여 필요시 이전 설치를 복원할 수 있도록 하세요.
    • 기존 설치를 수동으로 제거하세요.
    • 이 설치 스크립트를 다시 실행하세요.
    • 필요한 경우 이전에 설치된 패키지를 다시 설치하세요(백업에서 lib 폴더를 참조).
  4. 설치 완료 후:
    • 설치가 완료되면, 백업 폴더는 더 이상 필요하지 않으며 삭제할 수 있습니다.

이 메시지는 기존에 Chocolatey가 설치되어 있으며, 이 스크립트가 기존 설치를 덮어쓰지 않을 것임을 알리고 있습니다. 기존 설치가 정상적이지 않거나 이전 설치가 완료되지 않은 경우에는 위의 단계를 따라 해결할 수 있습니다.

 

 

 

 

 

 

 


choco upgrade git -y

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


git --version

 

 

 

 

 

 

 

ROS 2 바이너리 설치

mkdir c:\opt\chocolatey

 

 

 

 

 

 

 

set ChocolateyInstall = c:\opt\chocolatey

 

 

 

 

 

choco source add -n=ros-win -s= "https://aka.ms/ros/public" --priority=1

 

 

 

 

 

 

 

 

 

 

 

choco upgrade ros-humble-desktop -y --execution-timeout=0 --pre

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


개발자 명령 프롬프트 열기

 

c : \opt\ros\humble\x64\setup.bat

 

 

 

 

 

c:\opt\ros\humble\x64\share\gazebo\setup.bat
set "SDF_PATH=c:\opt\ros\humble\x64\share\sdformat\1.6"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

'2023 > isaac sim' 카테고리의 다른 글

Ubuntu (Source) vs(Binary)  (0) 2024.01.16
(Xavier) SDK 5.12/20.04 Nitro ROS  (0) 2024.01.16
(window) humble #2  (0) 2024.01.13
(window) humble #0  (0) 2023.12.26
isaac sim 튜토리얼  (0) 2023.12.24