Created
February 12, 2021 18:39
-
-
Save danopia/260cff6149f4f4c854a956b526dd634c to your computer and use it in GitHub Desktop.
installing zsh with three different package managers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ # time apk update | |
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz | |
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz | |
v3.13.1-111-g435a742679 [https://dl-cdn.alpinelinux.org/alpine/v3.13/main] | |
v3.13.1-108-gc0a920aca7 [https://dl-cdn.alpinelinux.org/alpine/v3.13/community] | |
OK: 13880 distinct packages available | |
real 0m 0.52s | |
user 0m 0.25s | |
sys 0m 0.04s | |
/ # time apk add zsh | |
(1/4) Installing ncurses-terminfo-base (6.2_p20210109-r0) | |
(2/4) Installing ncurses-libs (6.2_p20210109-r0) | |
(3/4) Installing zsh (5.8-r1) | |
Executing zsh-5.8-r1.post-install | |
(4/4) Installing apk-tools-zsh-completion (2.12.1-r0) | |
Executing busybox-1.32.1-r2.trigger | |
OK: 13 MiB in 18 packages | |
real 0m 0.93s | |
user 0m 0.30s | |
sys 0m 0.18s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@16141a6d1a16 /]# time dnf makecache | |
Fedora 33 openh264 (From Cisco) - x86_64 4.4 kB/s | 2.5 kB 00:00 | |
Fedora Modular 33 - x86_64 3.8 MB/s | 3.3 MB 00:00 | |
Fedora Modular 33 - x86_64 - Updates 4.0 MB/s | 3.0 MB 00:00 | |
Fedora 33 - x86_64 - Updates 3.7 MB/s | 23 MB 00:06 | |
Fedora 33 - x86_64 2.4 MB/s | 72 MB 00:29 | |
Metadata cache created. | |
real 1m3.331s | |
user 0m28.450s | |
sys 0m2.399s | |
[root@16141a6d1a16 /]# time dnf install -y zsh | |
Last metadata expiration check: 0:00:42 ago on Fri Feb 12 18:38:52 2021. | |
Dependencies resolved. | |
==================================================================================================================================================== | |
Package Architecture Version Repository Size | |
==================================================================================================================================================== | |
Installing: | |
zsh x86_64 5.8-3.fc33 fedora 2.9 M | |
Transaction Summary | |
==================================================================================================================================================== | |
Install 1 Package | |
Total download size: 2.9 M | |
Installed size: 7.6 M | |
Downloading Packages: | |
zsh-5.8-3.fc33.x86_64.rpm 12 MB/s | 2.9 MB 00:00 | |
---------------------------------------------------------------------------------------------------------------------------------------------------- | |
Total 6.8 MB/s | 2.9 MB 00:00 | |
Running transaction check | |
Transaction check succeeded. | |
Running transaction test | |
Transaction test succeeded. | |
Running transaction | |
Preparing : 1/1 | |
Installing : zsh-5.8-3.fc33.x86_64 1/1 | |
Running scriptlet: zsh-5.8-3.fc33.x86_64 1/1 | |
Verifying : zsh-5.8-3.fc33.x86_64 1/1 | |
Installed: | |
zsh-5.8-3.fc33.x86_64 | |
Complete! | |
real 0m2.959s | |
user 0m1.861s | |
sys 0m0.276s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ac70ad17c011:/# time apt update | |
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB] | |
Get:2 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB] | |
Get:3 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [612 kB] | |
Get:4 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [664 kB] | |
Get:5 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [165 kB] | |
Get:6 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [13.3 kB] | |
Get:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] | |
Get:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB] | |
Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB] | |
Get:10 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB] | |
Get:11 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB] | |
Get:12 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB] | |
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [924 kB] | |
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1016 kB] | |
Get:15 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [21.1 kB] | |
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [198 kB] | |
Get:17 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [4301 B] | |
Fetched 17.0 MB in 3s (6433 kB/s) | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
5 packages can be upgraded. Run 'apt list --upgradable' to see them. | |
real 0m3.474s | |
user 0m2.091s | |
sys 0m0.482s | |
root@ac70ad17c011:/# time apt install -y zsh | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following additional packages will be installed: | |
libcap2 libgdbm6 zsh-common | |
Suggested packages: | |
gdbm-l10n zsh-doc | |
The following NEW packages will be installed: | |
libcap2 libgdbm6 zsh zsh-common | |
0 upgraded, 4 newly installed, 0 to remove and 5 not upgraded. | |
Need to get 4494 kB of archives. | |
After this operation, 18.1 MB of additional disk space will be used. | |
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libcap2 amd64 1:2.32-1 [15.9 kB] | |
Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 libgdbm6 amd64 1.18.1-5 [27.4 kB] | |
Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 zsh-common all 5.8-3ubuntu1 [3744 kB] | |
Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 zsh amd64 5.8-3ubuntu1 [707 kB] | |
Fetched 4494 kB in 1s (3318 kB/s) | |
debconf: delaying package configuration, since apt-utils is not installed | |
Selecting previously unselected package libcap2:amd64. | |
(Reading database ... 4121 files and directories currently installed.) | |
Preparing to unpack .../libcap2_1%3a2.32-1_amd64.deb ... | |
Unpacking libcap2:amd64 (1:2.32-1) ... | |
Selecting previously unselected package libgdbm6:amd64. | |
Preparing to unpack .../libgdbm6_1.18.1-5_amd64.deb ... | |
Unpacking libgdbm6:amd64 (1.18.1-5) ... | |
Selecting previously unselected package zsh-common. | |
Preparing to unpack .../zsh-common_5.8-3ubuntu1_all.deb ... | |
Unpacking zsh-common (5.8-3ubuntu1) ... | |
Selecting previously unselected package zsh. | |
Preparing to unpack .../zsh_5.8-3ubuntu1_amd64.deb ... | |
Unpacking zsh (5.8-3ubuntu1) ... | |
Setting up zsh-common (5.8-3ubuntu1) ... | |
Setting up libcap2:amd64 (1:2.32-1) ... | |
Setting up zsh (5.8-3ubuntu1) ... | |
Setting up libgdbm6:amd64 (1.18.1-5) ... | |
Processing triggers for libc-bin (2.31-0ubuntu9.1) ... | |
real 0m4.317s | |
user 0m1.726s | |
sys 0m0.604s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment