3
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

proxy環境下でROSをインストールする

Last updated at Posted at 2018-11-05

はじめに

大学や会社等、proxy環境下でどうしてもROSが入れたい人のメモ書き
Ubuntu16.04LTSとRaspberryPi 2 Model Bにインストールしました。

参考

基本的に以下を参考に

変更箇所

apt-keyが通らない

apt-keyコマンドを打つときは

sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --keyserver-option http-proxy=http://proxy:port --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

とする

rosdep initが通らない

sudo rosdep init は通らないので

export http_proxy="http://proxy:port"
export https_proxy="http://proxy:port"

を追記してから-Eオプションつけて実行する

sudo -E rosdep init

終わりに

公式の手順通りにやれば問題なくインストールされcatkin_makeも通ると思います。
私はRaspbianがStretchなのにJessieだと勘違いしてたために1晩ぐらい悩んでました。
他にもpyenvとぶつかってたりとかいろいろあったけど無事インストールすることができました。

3
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?