http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_15.04/all/からarc-theme-solid_1450051815.946cbf5_all.debファイルをダウンロードし、ソフトウェアセンターを使用してインストールしましたが、アンインストールすると、ソフトウェアセンターに表示されませんでした。ターミナルから削除することを考えましたが、アンインストールするパッケージの正しい名前がわかりませんでした。これは、ソフトウェアセンターの外部にパッケージをインストールすることに関連する一般的な問題です。また、アンインストールするパッケージの名前は.debファイルの名前と同じですか?
承認された回答:
dpkg -I
を使用できるはずです またはdpkg-deb -I
debファイルを読み取ってパッケージに関する情報を表示します。 man dpkg
から
dpkg-deb actions
See dpkg-deb(1) for more information about the following
actions.
.
.
.
-I, --info archive [control-file...]
Show information about a package.
例:
$ dpkg -I arc-theme-solid_1450051815.946cbf5_all.deb
new debian package, version 2.0.
size 286706 bytes: control archive=42665 bytes.
421 bytes, 12 lines control
147142 bytes, 1477 lines md5sums
Package: arc-theme-solid
Version: 1450051815.946cbf5
Architecture: all
Maintainer: Horst3180 <[email protected]>
Installed-Size: 4307
Depends: gnome-themes-standard, gtk2-engines-murrine
Conflicts: arc-theme
Replaces: arc-theme
Section: misc
Priority: optional
Description: Arc is a theme for GTK 3, GTK 2 and Gnome-Shell.
It supports GTK 3 and GTK 2 based desktop environments like Gnome, Unity, Budgie, Pantheon, etc.
したがって、この場合、パッケージ名はarc-theme-solid
です。