コンテンツ
ラズベリーパイで動作確認済です!
インストール
以下のコマンドを実行すると、ラズベリーパイで実際にインストールが可能です!ラズベリーパイのOSはラズビアンです!
sudo apt-get install swift
インストール時の様子
インストール時は以下のようになります!参考にご利用ください!
sudo apt-get install swift パッケージリストを読み込んでいます... 完了 依存関係ツリーを作成しています 状態情報を読み取っています... 完了 以下の追加パッケージがインストールされます: ieee-data libjs-mochikit libjs-sphinxdoc libjs-underscore libxmlsec1 libxmlsec1-openssl python-babel python-babel-localedata python-concurrent.futures python-d2to1 python-dateutil python-decorator python-dns python-eventlet python-formencode python-greenlet python-httplib2 python-iso8601 python-keyring python-keystoneclient python-mako python-markupsafe python-memcache python-netaddr python-netifaces python-openid python-oslo.config python-oslo.i18n python-oslo.utils python-paste python-pastedeploy python-pastedeploy-tpl python-pastescript python-pbr python-prettytable python-pysaml2 python-repoze.who python-scgi python-secretstorage python-simplejson python-stevedore python-swift python-swiftclient python-tempita python-tz python-xattr python-zope.interface xmlsec1 提案パッケージ: python-egenix-mxdatetime python-greenlet-doc python-greenlet-dev python-greenlet-dbg python-fs python-gdata python-kde4 python-keyczar python-beaker python-mako-doc memcached ipython python-netaddr-docs python-pastewebkit libapache2-mod-wsgi libapache2-mod-python libapache2-mod-scgi python-pgsql python-flup python-cherrypy python-cheetah python-psycopg2 gnome-keyring python-secretstorage-doc 以下のパッケージが新たにインストールされます: ieee-data libjs-mochikit libjs-sphinxdoc libjs-underscore libxmlsec1 libxmlsec1-openssl python-babel python-babel-localedata python-concurrent.futures python-d2to1 python-dateutil python-decorator python-dns python-eventlet python-formencode python-greenlet python-httplib2 python-iso8601 python-keyring python-keystoneclient python-mako python-markupsafe python-memcache python-netaddr python-netifaces python-openid python-oslo.config python-oslo.i18n python-oslo.utils python-paste python-pastedeploy python-pastedeploy-tpl python-pastescript python-pbr python-prettytable python-pysaml2 python-repoze.who python-scgi python-secretstorage python-simplejson python-stevedore python-swift python-swiftclient python-tempita python-tz python-xattr python-zope.interface swift xmlsec1 アップグレード: 0 個、新規インストール: 49 個、削除: 0 個、保留: 253 個。 6,642 kB のアーカイブを取得する必要があります。 この操作後に追加で 35.5 MB のディスク容量が消費されます。 続行しますか? [Y/n] Y 取得:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-oslo.config all 1:1.3.0-2 [42.2 kB] 取得:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-babel-localedata all 1.3+dfsg.1-5 [1,933 kB] 取得:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-tz all 2012c+dfsg-0.1 [31.9 kB] 取得:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-babel all 1.3+dfsg.1-5 [77.8 kB] 取得:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-oslo.i18n all 0.1.0-2 [9,194 B] 取得:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-iso8601 all 0.1.10-1 [12.3 kB] 取得:7 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-oslo.utils all 0.2.0-1 [11.9 kB] 取得:8 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pbr all 0.8.2-1 [32.5 kB] 取得:9 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-markupsafe armhf 0.23-1 [15.7 kB] 取得:10 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-mako all 1.0.0+dfsg-0.1 [61.4 kB] 取得:11 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-memcache all 1.53+2014.06.08.git.918e88c496-1 [24.6 kB] 取得:12 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-zope.interface armhf 4.1.1-3.1 [84.1 kB] 取得:13 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-dns all 2.3.6-3 [28.7 kB] 取得:14 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-formencode all 1.2.6-2 [112 kB] 取得:15 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-tempita all 0.5.2-1 [13.8 kB] 取得:16 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-paste all 1.7.5.1-6 [397 kB] 取得:17 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-repoze.who all 1.0.18-4 [112 kB] 取得:18 http://mirrordirector.raspbian.org/raspbian/ jessie/main libxmlsec1 armhf 1.2.20-2 [133 kB] 取得:19 http://mirrordirector.raspbian.org/raspbian/ jessie/main libxmlsec1-openssl armhf 1.2.20-2 [86.4 kB] 取得:20 http://mirrordirector.raspbian.org/raspbian/ jessie/main xmlsec1 armhf 1.2.20-2 [41.9 kB] 取得:21 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-decorator all 3.4.0-2 [22.3 kB] 取得:22 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-dateutil all 2.2-2 [51.3 kB] 取得:23 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pysaml2 all 2.0.0-1 [177 kB] 取得:24 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-greenlet armhf 0.4.2-2 [15.7 kB] 取得:25 http://mirrordirector.raspbian.org/raspbian/ jessie/main libjs-underscore all 1.7.0~dfsg-1 [49.9 kB] 取得:26 http://mirrordirector.raspbian.org/raspbian/ jessie/main libjs-sphinxdoc all 1.2.3+dfsg-1 [41.1 kB] 取得:27 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-eventlet all 0.13.0-2 [221 kB] 取得:28 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-netifaces armhf 0.10.4-0.1 [16.0 kB] 取得:29 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pastedeploy-tpl all 1.5.2-1 [5,388 B] 取得:30 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pastedeploy all 1.5.2-1 [27.9 kB] 取得:31 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-simplejson armhf 3.6.5-1 [65.0 kB] 取得:32 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-concurrent.futures all 2.2.0-1 [37.5 kB] 取得:33 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-d2to1 all 0.2.11-1 [19.6 kB] 取得:34 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-httplib2 all 0.9+dfsg-2 [39.0 kB] 取得:35 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-keyring all 4.0-1 [56.9 kB] 取得:36 http://mirrordirector.raspbian.org/raspbian/ jessie/main ieee-data all 20150531.1~deb8u1 [830 kB] 取得:37 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-netaddr all 0.7.12-2 [183 kB] 取得:38 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-prettytable all 0.7.2-3 [22.4 kB] 取得:39 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-stevedore all 0.14.1-1 [15.6 kB] 取得:40 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-keystoneclient all 1:0.10.1-2+deb8u1 [411 kB] 取得:41 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-swiftclient all 1:2.3.1-1+deb8u1 [72.8 kB] 取得:42 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-xattr armhf 0.6.4-3 [13.3 kB] 取得:43 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-swift all 2.2.0-1+deb8u1 [299 kB] 取得:44 http://mirrordirector.raspbian.org/raspbian/ jessie/main swift all 2.2.0-1+deb8u1 [50.0 kB] 取得:45 http://mirrordirector.raspbian.org/raspbian/ jessie/main libjs-mochikit all 1.4.2-4 [372 kB] 取得:46 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-openid all 2.2.5-6 [98.6 kB] 取得:47 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pastescript all 1.7.5-3 [132 kB] 取得:48 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-scgi armhf 1.13-1.1 [22.3 kB] 取得:49 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-secretstorage all 2.1.1-1 [12.9 kB] 6,642 kB を 27秒 で取得しました (244 kB/s) パッケージからテンプレートを展開しています: 100% 以前に未選択のパッケージ python-oslo.config を選択しています。 (データベースを読み込んでいます ... 現在 172720 個のファイルとディレクトリがインストールされています。) .../python-oslo.config_1%3a1.3.0-2_all.deb を展開する準備をしています ... python-oslo.config (1:1.3.0-2) を展開しています... 以前に未選択のパッケージ python-babel-localedata を選択しています。 .../python-babel-localedata_1.3+dfsg.1-5_all.deb を展開する準備をしています ... python-babel-localedata (1.3+dfsg.1-5) を展開しています... 以前に未選択のパッケージ python-tz を選択しています。 .../python-tz_2012c+dfsg-0.1_all.deb を展開する準備をしています ... python-tz (2012c+dfsg-0.1) を展開しています... 以前に未選択のパッケージ python-babel を選択しています。 .../python-babel_1.3+dfsg.1-5_all.deb を展開する準備をしています ... python-babel (1.3+dfsg.1-5) を展開しています... 以前に未選択のパッケージ python-oslo.i18n を選択しています。 .../python-oslo.i18n_0.1.0-2_all.deb を展開する準備をしています ... python-oslo.i18n (0.1.0-2) を展開しています... 以前に未選択のパッケージ python-iso8601 を選択しています。 .../python-iso8601_0.1.10-1_all.deb を展開する準備をしています ... python-iso8601 (0.1.10-1) を展開しています... 以前に未選択のパッケージ python-oslo.utils を選択しています。 .../python-oslo.utils_0.2.0-1_all.deb を展開する準備をしています ... python-oslo.utils (0.2.0-1) を展開しています... 以前に未選択のパッケージ python-pbr を選択しています。 .../python-pbr_0.8.2-1_all.deb を展開する準備をしています ... python-pbr (0.8.2-1) を展開しています... 以前に未選択のパッケージ python-markupsafe を選択しています。 .../python-markupsafe_0.23-1_armhf.deb を展開する準備をしています ... python-markupsafe (0.23-1) を展開しています... 以前に未選択のパッケージ python-mako を選択しています。 .../python-mako_1.0.0+dfsg-0.1_all.deb を展開する準備をしています ... python-mako (1.0.0+dfsg-0.1) を展開しています... 以前に未選択のパッケージ python-memcache を選択しています。 .../python-memcache_1.53+2014.06.08.git.918e88c496-1_all.deb を展開する準備をし ています ... python-memcache (1.53+2014.06.08.git.918e88c496-1) を展開しています... 以前に未選択のパッケージ python-zope.interface を選択しています。 .../python-zope.interface_4.1.1-3.1_armhf.deb を展開する準備をしています ... python-zope.interface (4.1.1-3.1) を展開しています... 以前に未選択のパッケージ python-dns を選択しています。 .../python-dns_2.3.6-3_all.deb を展開する準備をしています ... python-dns (2.3.6-3) を展開しています... 以前に未選択のパッケージ python-formencode を選択しています。 .../python-formencode_1.2.6-2_all.deb を展開する準備をしています ... python-formencode (1.2.6-2) を展開しています... 以前に未選択のパッケージ python-tempita を選択しています。 .../python-tempita_0.5.2-1_all.deb を展開する準備をしています ... python-tempita (0.5.2-1) を展開しています... 以前に未選択のパッケージ python-paste を選択しています。 .../python-paste_1.7.5.1-6_all.deb を展開する準備をしています ... python-paste (1.7.5.1-6) を展開しています... 以前に未選択のパッケージ python-repoze.who を選択しています。 .../python-repoze.who_1.0.18-4_all.deb を展開する準備をしています ... python-repoze.who (1.0.18-4) を展開しています... 以前に未選択のパッケージ libxmlsec1 を選択しています。 .../libxmlsec1_1.2.20-2_armhf.deb を展開する準備をしています ... libxmlsec1 (1.2.20-2) を展開しています... 以前に未選択のパッケージ libxmlsec1-openssl を選択しています。 .../libxmlsec1-openssl_1.2.20-2_armhf.deb を展開する準備をしています ... libxmlsec1-openssl (1.2.20-2) を展開しています... 以前に未選択のパッケージ xmlsec1 を選択しています。 .../xmlsec1_1.2.20-2_armhf.deb を展開する準備をしています ... xmlsec1 (1.2.20-2) を展開しています... 以前に未選択のパッケージ python-decorator を選択しています。 .../python-decorator_3.4.0-2_all.deb を展開する準備をしています ... python-decorator (3.4.0-2) を展開しています... 以前に未選択のパッケージ python-dateutil を選択しています。 .../python-dateutil_2.2-2_all.deb を展開する準備をしています ... python-dateutil (2.2-2) を展開しています... 以前に未選択のパッケージ python-pysaml2 を選択しています。 .../python-pysaml2_2.0.0-1_all.deb を展開する準備をしています ... python-pysaml2 (2.0.0-1) を展開しています... 以前に未選択のパッケージ python-greenlet を選択しています。 .../python-greenlet_0.4.2-2_armhf.deb を展開する準備をしています ... python-greenlet (0.4.2-2) を展開しています... 以前に未選択のパッケージ libjs-underscore を選択しています。 .../libjs-underscore_1.7.0~dfsg-1_all.deb を展開する準備をしています ... libjs-underscore (1.7.0~dfsg-1) を展開しています... 以前に未選択のパッケージ libjs-sphinxdoc を選択しています。 .../libjs-sphinxdoc_1.2.3+dfsg-1_all.deb を展開する準備をしています ... libjs-sphinxdoc (1.2.3+dfsg-1) を展開しています... 以前に未選択のパッケージ python-eventlet を選択しています。 .../python-eventlet_0.13.0-2_all.deb を展開する準備をしています ... python-eventlet (0.13.0-2) を展開しています... 以前に未選択のパッケージ python-netifaces を選択しています。 .../python-netifaces_0.10.4-0.1_armhf.deb を展開する準備をしています ... python-netifaces (0.10.4-0.1) を展開しています... 以前に未選択のパッケージ python-pastedeploy-tpl を選択しています。 .../python-pastedeploy-tpl_1.5.2-1_all.deb を展開する準備をしています ... python-pastedeploy-tpl (1.5.2-1) を展開しています... 以前に未選択のパッケージ python-pastedeploy を選択しています。 .../python-pastedeploy_1.5.2-1_all.deb を展開する準備をしています ... python-pastedeploy (1.5.2-1) を展開しています... 以前に未選択のパッケージ python-simplejson を選択しています。 .../python-simplejson_3.6.5-1_armhf.deb を展開する準備をしています ... python-simplejson (3.6.5-1) を展開しています... 以前に未選択のパッケージ python-concurrent.futures を選択しています。 .../python-concurrent.futures_2.2.0-1_all.deb を展開する準備をしています ... python-concurrent.futures (2.2.0-1) を展開しています... 以前に未選択のパッケージ python-d2to1 を選択しています。 .../python-d2to1_0.2.11-1_all.deb を展開する準備をしています ... python-d2to1 (0.2.11-1) を展開しています... 以前に未選択のパッケージ python-httplib2 を選択しています。 .../python-httplib2_0.9+dfsg-2_all.deb を展開する準備をしています ... python-httplib2 (0.9+dfsg-2) を展開しています... 以前に未選択のパッケージ python-keyring を選択しています。 .../python-keyring_4.0-1_all.deb を展開する準備をしています ... python-keyring (4.0-1) を展開しています... 以前に未選択のパッケージ ieee-data を選択しています。 .../ieee-data_20150531.1~deb8u1_all.deb を展開する準備をしています ... ieee-data (20150531.1~deb8u1) を展開しています... 以前に未選択のパッケージ python-netaddr を選択しています。 .../python-netaddr_0.7.12-2_all.deb を展開する準備をしています ... python-netaddr (0.7.12-2) を展開しています... 以前に未選択のパッケージ python-prettytable を選択しています。 .../python-prettytable_0.7.2-3_all.deb を展開する準備をしています ... python-prettytable (0.7.2-3) を展開しています... 以前に未選択のパッケージ python-stevedore を選択しています。 .../python-stevedore_0.14.1-1_all.deb を展開する準備をしています ... python-stevedore (0.14.1-1) を展開しています... 以前に未選択のパッケージ python-keystoneclient を選択しています。 .../python-keystoneclient_1%3a0.10.1-2+deb8u1_all.deb を展開する準備をしています ... python-keystoneclient (1:0.10.1-2+deb8u1) を展開しています... 以前に未選択のパッケージ python-swiftclient を選択しています。 .../python-swiftclient_1%3a2.3.1-1+deb8u1_all.deb を展開する準備をしています ... python-swiftclient (1:2.3.1-1+deb8u1) を展開しています... 以前に未選択のパッケージ python-xattr を選択しています。 .../python-xattr_0.6.4-3_armhf.deb を展開する準備をしています ... python-xattr (0.6.4-3) を展開しています... 以前に未選択のパッケージ python-swift を選択しています。 .../python-swift_2.2.0-1+deb8u1_all.deb を展開する準備をしています ... python-swift (2.2.0-1+deb8u1) を展開しています... 以前に未選択のパッケージ swift を選択しています。 .../swift_2.2.0-1+deb8u1_all.deb を展開する準備をしています ... swift (2.2.0-1+deb8u1) を展開しています... 以前に未選択のパッケージ libjs-mochikit を選択しています。 .../libjs-mochikit_1.4.2-4_all.deb を展開する準備をしています ... libjs-mochikit (1.4.2-4) を展開しています... 以前に未選択のパッケージ python-openid を選択しています。 .../python-openid_2.2.5-6_all.deb を展開する準備をしています ... python-openid (2.2.5-6) を展開しています... 以前に未選択のパッケージ python-pastescript を選択しています。 .../python-pastescript_1.7.5-3_all.deb を展開する準備をしています ... python-pastescript (1.7.5-3) を展開しています... 以前に未選択のパッケージ python-scgi を選択しています。 .../python-scgi_1.13-1.1_armhf.deb を展開する準備をしています ... python-scgi (1.13-1.1) を展開しています... 以前に未選択のパッケージ python-secretstorage を選択しています。 .../python-secretstorage_2.1.1-1_all.deb を展開する準備をしています ... python-secretstorage (2.1.1-1) を展開しています... man-db (2.7.0.2-5) のトリガを処理しています ... python-oslo.config (1:1.3.0-2) を設定しています ... python-babel-localedata (1.3+dfsg.1-5) を設定しています ... python-tz (2012c+dfsg-0.1) を設定しています ... python-babel (1.3+dfsg.1-5) を設定しています ... update-alternatives: /usr/bin/pybabel (pybabel) を提供するために自動モードで /usr/bin/pybabel-python2 を使います python-oslo.i18n (0.1.0-2) を設定しています ... python-iso8601 (0.1.10-1) を設定しています ... python-oslo.utils (0.2.0-1) を設定しています ... python-pbr (0.8.2-1) を設定しています ... python-markupsafe (0.23-1) を設定しています ... python-mako (1.0.0+dfsg-0.1) を設定しています ... python-memcache (1.53+2014.06.08.git.918e88c496-1) を設定しています ... python-zope.interface (4.1.1-3.1) を設定しています ... python-dns (2.3.6-3) を設定しています ... python-formencode (1.2.6-2) を設定しています ... python-tempita (0.5.2-1) を設定しています ... python-paste (1.7.5.1-6) を設定しています ... python-repoze.who (1.0.18-4) を設定しています ... libxmlsec1 (1.2.20-2) を設定しています ... libxmlsec1-openssl (1.2.20-2) を設定しています ... xmlsec1 (1.2.20-2) を設定しています ... python-decorator (3.4.0-2) を設定しています ... python-dateutil (2.2-2) を設定しています ... python-pysaml2 (2.0.0-1) を設定しています ... python-greenlet (0.4.2-2) を設定しています ... libjs-underscore (1.7.0~dfsg-1) を設定しています ... libjs-sphinxdoc (1.2.3+dfsg-1) を設定しています ... python-eventlet (0.13.0-2) を設定しています ... python-netifaces (0.10.4-0.1) を設定しています ... python-pastedeploy-tpl (1.5.2-1) を設定しています ... python-pastedeploy (1.5.2-1) を設定しています ... python-simplejson (3.6.5-1) を設定しています ... python-concurrent.futures (2.2.0-1) を設定しています ... python-d2to1 (0.2.11-1) を設定しています ... python-httplib2 (0.9+dfsg-2) を設定しています ... python-keyring (4.0-1) を設定しています ... ieee-data (20150531.1~deb8u1) を設定しています ... python-netaddr (0.7.12-2) を設定しています ... python-prettytable (0.7.2-3) を設定しています ... python-stevedore (0.14.1-1) を設定しています ... python-keystoneclient (1:0.10.1-2+deb8u1) を設定しています ... python-swiftclient (1:2.3.1-1+deb8u1) を設定しています ... python-xattr (0.6.4-3) を設定しています ... python-swift (2.2.0-1+deb8u1) を設定しています ... swift (2.2.0-1+deb8u1) を設定しています ... libjs-mochikit (1.4.2-4) を設定しています ... python-openid (2.2.5-6) を設定しています ... python-pastescript (1.7.5-3) を設定しています ... python-scgi (1.13-1.1) を設定しています ... python-secretstorage (2.1.1-1) を設定しています ... libc-bin (2.19-18+deb8u1) のトリガを処理しています ...
実行
以下のコマンドを実行すると、ラズベリーパイで動作します!
swift --version
実行例
swift --version swift 2.3.1
解説
swiftはアップルのOSやアイフォンでソフトを開発するときに標準的に使用されているプログラム言語です。このプログラム言語を学習すると、アイフォン用のアプリを作るときに役立つかと思います!
インストールで使用したコマンドの解説
インストール中に使用したコマンドの解説を、下記にリンクしております。コマンドがよくわからない場合にご利用ください!
sudo コマンド
ラズベリーパイを使ってみる – コマンドを実行するときだけ管理者になる!(sudo) – –
・2016年5月追記bash on Ubuntu on Windows10でも動作確認しました!・2016年3月追記Ubuntu14.04,Ubuntu16.04,ラズベリーパイ(初代)でも動作確認しました!ラズベリーパイ2にて動作確認済で
apt-get install コマンド
【ラズベリーパイ対応】Ubuntu16.04を使ってみる – ソフトをかんたんにインストールする!(apt-get install) –
・2016年5月追記bash on Ubuntu on Windows10でも動作確認をしました!・2016年3月 追記Ubuntu14.04、ラズベリーパイ、ラズベリーパイ2でも動作確認しました!Ubuntu16.04で動作確認済です!イ