Ubuntuにインストールされているパッケージのバージョン

Ubuntuにインストールされているパッケージのバージョン - の仕方 2023
Ubuntuにインストールされているパッケージのバージョン - の仕方 2023
Anonim

Ubuntuのパッケージ管理システムは、パッケージのインストールと削除を非常に簡単にしますが、実際にインストールした特定のパッケージのバージョンを把握することが重要な場合もあります。

apt-getユーティリティは単にdebian dpkgユーティリティのフロントエンドにすぎず、実際には実際に動作します。このユーティリティを使用して、インストールされているバージョンを調べることができます。

dpkg -s

ここでは、私が自分のシステムにインストールしたRubyのバージョンを調べようとしていた例があります:

[email protected]:~$ dpkg -s ruby1.8

Package: ruby1.8 Status: install ok installed Priority: optional Section: interpreters Installed-Size: 272 Maintainer: Ubuntu Core Developers Architecture: i386 Version: 1.8.4-5ubuntu1.2 Depends: libc6 (>= 2.4-1), libruby1.8 (>= 1.8.4) Suggests: ruby1.8-examples, rdoc1.8, ri1.8 Description: Interpreter of object-oriented scripting language Ruby 1.8 Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in perl). It is simple, straight-forward, and extensible.. This package provides version 1.8 series of Ruby.. On Debian, Ruby 1.8 is provided as separate packages. You can get full Ruby 1.8 distribution by installing following packages.. ruby1.8 ruby1.8-dev ri1.8 rdoc1.8 irb1.8 ruby1.8-elisp ruby1.8-examples libdbm-ruby1.8 libgdbm-ruby1.8 libtcltk-ruby1.8 libopenssl-ruby1.8 libreadline-ruby1.8 Original-Maintainer: akira yamada

バージョン1.8.4がインストールされていることがわかります。

人気のあるトピック

専門家の助言