Skip to content

Instantly share code, notes, and snippets.

@ychaouche
Last active December 19, 2024 14:41
Show Gist options
  • Save ychaouche/1f285443965b448f3cc7adc05b8e56c8 to your computer and use it in GitHub Desktop.
Save ychaouche/1f285443965b448f3cc7adc05b8e56c8 to your computer and use it in GitHub Desktop.
15:22:19 ~ -1- $ apt-cache show libruby1.9.1 | grep -E '(Depends|Package)' | pretty.ellipsis
Package: libruby1.9.1
Depends: ruby1.9.1 (= 1.9.3.484-2ubuntu1.14), ca-certificates, libc6 (>= 2.14), libffi6 (>= 3.0.4), libgdbm3 (>= 1.8.3), libncursesw5 (>= 5.6+20070908), libreadline6 (>= 6.0), libssl1.0.0 (>= 1.0.0), libtinfo5, libyaml-0-2, zlib1...
Package: libruby1.9.1
Depends: ruby1.9.1 (= 1.9.3.484-2ubuntu1), ca-certificates, libc6 (>= 2.14), libffi6 (>= 3.0.4), libgdbm3 (>= 1.8.3), libncursesw5 (>= 5.6+20070908), libreadline6 (>= 6.0), libssl1.0.0 (>= 1.0.0), libtinfo5, libyaml-0-2, zlib1g (...
15:40:53 ~ -1- $ apt-cache show ruby1.9.1 | grep -E '(Depends|Package)' | pretty.ellipsis
Package: ruby1.9.1
Depends: ruby (>= 1:1.9.3.1), libruby1.9.1 (= 1.9.3.484-2ubuntu1.14), libc6 (>= 2.2.5)
Package: ruby1.9.1
Depends: ruby (>= 1:1.9.3.1), libruby1.9.1 (= 1.9.3.484-2ubuntu1), libc6 (>= 2.2.5)
15:40:59 ~ -1- $
$ aptitude why ruby
i ruby1.9.1 Depends ruby (>= 1:1.9.3.1)
$ aptitude why ruby1.9.1
i libruby1.9.1 Depends ruby1.9.1 (= 1.9.3.484-2ubuntu1.14)
$ aptitude why libruby1.9.1
i ruby1.9.1 Depends libruby1.9.1 (= 1.9.3.484-2ubuntu1.14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment