VyOS(Vyatta)でレポジトリを追加してgitをインストールします。
VyOS上のコマンドで任意のレポジトリを追加する事が可能です。コマンドは以下の通り。
configure
set system package repository squeeze components main
set system package repository squeeze url http://cdn.debian.net/debian
set system package repository squeeze distribution squeeze
commit/saveしてください。デフォルトの設定と合わせて以下のようになるはずです。
package {
repository community {
components main
distribution helium
url http://packages.vyos.net/vyos
}
repository squeeze {
components main
distribution squeeze
url http://cdn.debian.net/debian
}
}
インストールはapt-get installです。
$ sudo apt-get update
$ sudo apt-get install git-core
gitインストール後は以下もどうぞ。
VyOSのバックアップをGitHubとTFTPに自動でアップする
http://komeiy.hatenablog.com/entry/2014/12/05/200946