우분투 10.04 LTS repo 설치문제

꼭 repo를 설치해야하는데 자꾸 오류가 뜨네요…
mkdir~/bin
PATH=~/bin$PATH
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo

소스가 일딴 여기까지인데 curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo 를 치면 이렇게 오류가 납니다.

Command ‘curl’ is available in ‘/usr/bin/curl’
The command could not be located because ‘/usr/bin’ is not included in the PATH environment variable.
curl: command not found
뭐가 문제일까요?

[quote="roy0527":onsypxna]꼭 repo를 설치해야하는데 자꾸 오류가 뜨네요…
mkdir~/bin
PATH=~/bin$PATH
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo

소스가 일딴 여기까지인데 curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo 를 치면 이렇게 오류가 납니다.

Command ‘curl’ is available in ‘/usr/bin/curl’
The command could not be located because ‘/usr/bin’ is not included in the PATH environment variable.
curl: command not found
뭐가 문제일까요?[/quote:onsypxna]

PATH환경변수를 잘못만들었군요…
PATH=~/bin:$PATH
이렇게 하셔야죠…