Windows XP ホストの VirtualBox Ubuntu

Windows XP ホストの VirtualBox Ubuntu

Windows XPホストで実行されているUbunto VirtualBoxにいくつかのインストールを試みています。インストールが機能しているようで、次のように正常にインストールできます。

sudo apt-get install XXX

ただし、gtestやgflagsなどのものをインストールしようとすると、メッセージが表示されます(依存関係の構築と状態の読み取りはまだうまく機能します)。

E: Unable to locate package gtest

どんなアイデアがありますか? (BTW:このE:私のWindowsドライブを表し、エラー:?を示します。)

https://github.com/gflags/gflags/blob/master/INSTALL.md

指摘

たとえば、Debian/Ubuntu Linux では、次のコマンドを使用して gflags をインストールできます。

sudo apt-get インストール gflags

ベストアンサー1

apt-get installがパッケージを見つけることができない場合、追加したリポジトリ(/etc/apt/sources.listおよび/etc/apt/sources.listにあるリポジトリ)にインストールしたいパッケージが見つかりません。リスト.d/)。

Ubuntuシステムでは、以下を実行して関連ソフトウェアパッケージを入手できます。

$ apt-cache search gflags
Output on my machine (Ubuntu 14.04):

libgflags-dev - commandline flags module for C++ (development files)

libgflags-doc - documentation of gflags

libgflags2 - commandline flags module for C++ (shared library)

python-gflags - Python implementation of the Google command line flags module

python-google-apputils - Python用Google App Utility したがって、次のようにフルネームを使用してインストールできるようです。

$ sudo apt-get install libgflags2 libgflags-dev

おすすめ記事