tee -q0なしでリポジトリからqToxをインストールします。

tee -q0なしでリポジトリからqToxをインストールします。

Toxをインストールしたい(http://tox.chat)私のXubuntu 16.04で。プライマリサイトでは、次の方法でリポジトリを追加することをお勧めします。

echo "deb https://pkg.tox.chat/debian nightly $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/tox.list
wget -qO - https://pkg.tox.chat/debian/pkg.gpg.key | sudo apt-key add -

しかし、実行するとエラーが発生します。

tee: invalid option -- 'q'
Try 'tee --help' for more information.
gpg: no valid OpenPGP data found.

"man tee"を確認しましたが、実際にteeは-qオプションを提供しません。私はwgetにそれがあることを知っていますが、次のアプローチを試しました。

echo deb https://pkg.tox.chat/debian nightly $(lsb_release -cs) | sudo tee /etc/apt/sources.list.d/tox.list $(wget -qO - https://pkg.tox.chat/debian/pkg.gpg.key) | sudo apt-key add -
tee: unrecognized option '-----BEGIN PGP PUBLIC KEY BLOCK-----'
Try 'tee --help' for more information.
gpg: no valid OpenPGP data found.

また、.debパッケージからqToxをインストールできることもわかっていますが、常にリポジトリと更新/同期することをお勧めします。

リポジトリからqToxをインストールする方法は?

追加の質問:なぜtoxまたは他のソフトウェアは、「apt-add-repository ppa:user / repository」などの簡単な方法を提供するのではなく、リポジトリを追加するスクリプトを提供しますか?

ベストアンサー1

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/antonbatenev:/tox/xUbuntu_16.04/ /' >> /etc/apt/sources.list.d/qtox.list"

sudo apt-get update

sudo apt-get install qtox

おすすめ記事