Skip to content

Instantly share code, notes, and snippets.

@hsbt
Created August 10, 2019 06:00
Show Gist options
  • Save hsbt/80464d709dbfa6db80feba54836806f3 to your computer and use it in GitHub Desktop.
Save hsbt/80464d709dbfa6db80feba54836806f3 to your computer and use it in GitHub Desktop.
hsbt@svn:~$ sudo apt install ruby2.3 -t stretch
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
fonts-lato libncurses5 libncursesw5 libreadline7 libruby2.3 libssl1.0.2 libtinfo-dev libtinfo5 ncurses-bin rake ruby-did-you-mean ruby-minitest
ruby-net-telnet ruby-power-assert ruby-test-unit unzip zip
The following NEW packages will be installed:
fonts-lato libreadline7 libruby2.3 libssl1.0.2 rake ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.3 unzip zip
The following packages will be upgraded:
libncurses5 libncursesw5 libtinfo-dev libtinfo5 ncurses-bin
5 upgraded, 13 newly installed, 0 to remove and 376 not upgraded.
Need to get 8,993 kB of archives.
After this operation, 32.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cloudfront.debian.net/debian/ stretch/main libtinfo-dev amd64 6.0+20161126-1+deb9u2 [79.2 kB]
Get:2 http://cloudfront.debian.net/debian/ stretch/main libtinfo5 amd64 6.0+20161126-1+deb9u2 [300 kB]
Get:3 http://cloudfront.debian.net/debian/ stretch/main libncurses5 amd64 6.0+20161126-1+deb9u2 [93.4 kB]
Get:4 http://cloudfront.debian.net/debian/ stretch/main libncursesw5 amd64 6.0+20161126-1+deb9u2 [115 kB]
Get:5 http://cloudfront.debian.net/debian/ stretch/main ncurses-bin amd64 6.0+20161126-1+deb9u2 [366 kB]
Get:6 http://cloudfront.debian.net/debian/ jessie/main fonts-lato all 2.0-1 [2,684 kB]
Get:7 http://security.debian.org/ stretch/updates/main libssl1.0.2 amd64 1.0.2s-1~deb9u1 [1,302 kB]
Get:8 http://cloudfront.debian.net/debian/ stretch/main libreadline7 amd64 7.0-3 [151 kB]
Get:9 http://cloudfront.debian.net/debian/ stretch/main rake all 10.5.0-2 [49.4 kB]
Get:10 http://cloudfront.debian.net/debian/ stretch/main ruby-did-you-mean all 1.0.0-2 [11.2 kB]
Get:11 http://cloudfront.debian.net/debian/ stretch/main ruby-minitest all 5.9.0-1 [51.1 kB]
Get:12 http://cloudfront.debian.net/debian/ stretch/main ruby-net-telnet all 0.1.1-2 [12.5 kB]
Get:13 http://cloudfront.debian.net/debian/ stretch/main ruby-power-assert all 0.3.0-1 [7,902 B]
Get:14 http://cloudfront.debian.net/debian/ stretch/main ruby-test-unit all 3.1.7-2 [69.6 kB]
Get:15 http://cloudfront.debian.net/debian/ stretch/main unzip amd64 6.0-21+deb9u1 [170 kB]
Get:16 http://cloudfront.debian.net/debian/ stretch/main zip amd64 3.0-11+b1 [234 kB]
Get:17 http://cloudfront.debian.net/debian/ stretch/main libruby2.3 amd64 2.3.3-1+deb9u6 [3,109 kB]
Get:18 http://cloudfront.debian.net/debian/ stretch/main ruby2.3 amd64 2.3.3-1+deb9u6 [188 kB]
Fetched 8,993 kB in 1s (5,172 kB/s)
Preconfiguring packages ...
(Reading database ... 45445 files and directories currently installed.)
Preparing to unpack .../libtinfo-dev_6.0+20161126-1+deb9u2_amd64.deb ...
Unpacking libtinfo-dev:amd64 (6.0+20161126-1+deb9u2) over (5.9+20140913-1+deb8u3) ...
Preparing to unpack .../libtinfo5_6.0+20161126-1+deb9u2_amd64.deb ...
Unpacking libtinfo5:amd64 (6.0+20161126-1+deb9u2) over (5.9+20140913-1+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Setting up libtinfo5:amd64 (6.0+20161126-1+deb9u2) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 45446 files and directories currently installed.)
Preparing to unpack .../libncurses5_6.0+20161126-1+deb9u2_amd64.deb ...
Unpacking libncurses5:amd64 (6.0+20161126-1+deb9u2) over (5.9+20140913-1+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Setting up libncurses5:amd64 (6.0+20161126-1+deb9u2) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 45446 files and directories currently installed.)
Preparing to unpack .../libncursesw5_6.0+20161126-1+deb9u2_amd64.deb ...
Unpacking libncursesw5:amd64 (6.0+20161126-1+deb9u2) over (5.9+20140913-1+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Setting up libncursesw5:amd64 (6.0+20161126-1+deb9u2) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
(Reading database ... 45446 files and directories currently installed.)
Preparing to unpack .../ncurses-bin_6.0+20161126-1+deb9u2_amd64.deb ...
Unpacking ncurses-bin (6.0+20161126-1+deb9u2) over (5.9+20140913-1+deb8u3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up ncurses-bin (6.0+20161126-1+deb9u2) ...
Selecting previously unselected package fonts-lato.
(Reading database ... 45441 files and directories currently installed.)
Preparing to unpack .../fonts-lato_2.0-1_all.deb ...
Unpacking fonts-lato (2.0-1) ...
Selecting previously unselected package libreadline7:amd64.
Preparing to unpack .../libreadline7_7.0-3_amd64.deb ...
Unpacking libreadline7:amd64 (7.0-3) ...
Selecting previously unselected package libssl1.0.2:amd64.
Preparing to unpack .../libssl1.0.2_1.0.2s-1~deb9u1_amd64.deb ...
Unpacking libssl1.0.2:amd64 (1.0.2s-1~deb9u1) ...
Selecting previously unselected package rake.
Preparing to unpack .../archives/rake_10.5.0-2_all.deb ...
Unpacking rake (10.5.0-2) ...
Selecting previously unselected package ruby-did-you-mean.
Preparing to unpack .../ruby-did-you-mean_1.0.0-2_all.deb ...
Unpacking ruby-did-you-mean (1.0.0-2) ...
Selecting previously unselected package ruby-minitest.
Preparing to unpack .../ruby-minitest_5.9.0-1_all.deb ...
Unpacking ruby-minitest (5.9.0-1) ...
Selecting previously unselected package ruby-net-telnet.
Preparing to unpack .../ruby-net-telnet_0.1.1-2_all.deb ...
Unpacking ruby-net-telnet (0.1.1-2) ...
Selecting previously unselected package ruby-power-assert.
Preparing to unpack .../ruby-power-assert_0.3.0-1_all.deb ...
Unpacking ruby-power-assert (0.3.0-1) ...
Selecting previously unselected package ruby-test-unit.
Preparing to unpack .../ruby-test-unit_3.1.7-2_all.deb ...
Unpacking ruby-test-unit (3.1.7-2) ...
Selecting previously unselected package unzip.
Preparing to unpack .../unzip_6.0-21+deb9u1_amd64.deb ...
Unpacking unzip (6.0-21+deb9u1) ...
Selecting previously unselected package zip.
Preparing to unpack .../zip_3.0-11+b1_amd64.deb ...
Unpacking zip (3.0-11+b1) ...
Selecting previously unselected package libruby2.3:amd64.
Preparing to unpack .../libruby2.3_2.3.3-1+deb9u6_amd64.deb ...
Unpacking libruby2.3:amd64 (2.3.3-1+deb9u6) ...
Selecting previously unselected package ruby2.3.
Preparing to unpack .../ruby2.3_2.3.3-1+deb9u6_amd64.deb ...
Unpacking ruby2.3 (2.3.3-1+deb9u6) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for mime-support (3.58) ...
Setting up libtinfo-dev:amd64 (6.0+20161126-1+deb9u2) ...
Setting up fonts-lato (2.0-1) ...
Setting up libreadline7:amd64 (7.0-3) ...
Setting up libssl1.0.2:amd64 (1.0.2s-1~deb9u1) ...
Setting up rake (10.5.0-2) ...
Setting up ruby-did-you-mean (1.0.0-2) ...
Setting up ruby-minitest (5.9.0-1) ...
Setting up ruby-net-telnet (0.1.1-2) ...
Setting up ruby-power-assert (0.3.0-1) ...
Setting up ruby-test-unit (3.1.7-2) ...
Setting up unzip (6.0-21+deb9u1) ...
Setting up zip (3.0-11+b1) ...
Setting up libruby2.3:amd64 (2.3.3-1+deb9u6) ...
Setting up ruby2.3 (2.3.3-1+deb9u6) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
hsbt@svn:~$ ruby -v
ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
hsbt@svn:~$ ruby2.3 -v
ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment