Skip to content

Instantly share code, notes, and snippets.

@k-okada
Last active October 16, 2023 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save k-okada/9b8945ae97430e9b2c3eb39f473771a7 to your computer and use it in GitHub Desktop.
Save k-okada/9b8945ae97430e9b2c3eb39f473771a7 to your computer and use it in GitHub Desktop.
$ sudo apt install libx11-dev
[sudo] password for leus:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libapr1 libaprutil1 libflashrom1 libftdi1-2 libllvm13 libserf-1-1 libsvn1 libutf8proc2
mercurial mercurial-common subversion
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libpthread-stubs0-dev libxau-dev libxcb1-dev libxdmcp-dev x11proto-dev xorg-sgml-doctools
xtrans-dev
Suggested packages:
libx11-doc libxcb-doc
The following NEW packages will be installed:
libpthread-stubs0-dev libx11-dev libxau-dev libxcb1-dev libxdmcp-dev x11proto-dev
xorg-sgml-doctools xtrans-dev
0 upgraded, 8 newly installed, 0 to remove and 127 not upgraded.
Need to get 1,563 kB of archives.
After this operation, 5,530 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libpthread-stubs0-dev arm64 0.4-1build2 [5,496 B]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 x11proto-dev all 2021.5-1 [604 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libxau-dev arm64 1:1.0.9-1build5 [10.1 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libxdmcp-dev arm64 1:1.1.3-0ubuntu5 [26.4 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 xtrans-dev all 1.4.0-1 [68.9 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libxcb1-dev arm64 1.14-3ubuntu3 [90.6 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libx11-dev arm64 2:1.7.5-1ubuntu0.3 [746 kB]
Fetched 1,563 kB in 2s (731 kB/s)
Selecting previously unselected package libpthread-stubs0-dev:arm64.
(Reading database ... 217904 files and directories currently installed.)
Preparing to unpack .../0-libpthread-stubs0-dev_0.4-1build2_arm64.deb ...
Unpacking libpthread-stubs0-dev:arm64 (0.4-1build2) ...
Selecting previously unselected package xorg-sgml-doctools.
Preparing to unpack .../1-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ...
Unpacking xorg-sgml-doctools (1:1.11-1.1) ...
Selecting previously unselected package x11proto-dev.
Preparing to unpack .../2-x11proto-dev_2021.5-1_all.deb ...
Unpacking x11proto-dev (2021.5-1) ...
Selecting previously unselected package libxau-dev:arm64.
Preparing to unpack .../3-libxau-dev_1%3a1.0.9-1build5_arm64.deb ...
Unpacking libxau-dev:arm64 (1:1.0.9-1build5) ...
Selecting previously unselected package libxdmcp-dev:arm64.
Preparing to unpack .../4-libxdmcp-dev_1%3a1.1.3-0ubuntu5_arm64.deb ...
Unpacking libxdmcp-dev:arm64 (1:1.1.3-0ubuntu5) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../5-xtrans-dev_1.4.0-1_all.deb ...
Unpacking xtrans-dev (1.4.0-1) ...
Selecting previously unselected package libxcb1-dev:arm64.
Preparing to unpack .../6-libxcb1-dev_1.14-3ubuntu3_arm64.deb ...
Unpacking libxcb1-dev:arm64 (1.14-3ubuntu3) ...
Selecting previously unselected package libx11-dev:arm64.
Preparing to unpack .../7-libx11-dev_2%3a1.7.5-1ubuntu0.3_arm64.deb ...
Unpacking libx11-dev:arm64 (2:1.7.5-1ubuntu0.3) ...
Setting up libpthread-stubs0-dev:arm64 (0.4-1build2) ...
Setting up xtrans-dev (1.4.0-1) ...
Setting up xorg-sgml-doctools (1:1.11-1.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for sgml-base (1.30) ...
Setting up x11proto-dev (2021.5-1) ...
Setting up libxau-dev:arm64 (1:1.0.9-1build5) ...
Setting up libxdmcp-dev:arm64 (1:1.1.3-0ubuntu5) ...
Setting up libxcb1-dev:arm64 (1.14-3ubuntu3) ...
Setting up libx11-dev:arm64 (2:1.7.5-1ubuntu0.3) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Failed to check for processor microcode upgrades.
Restarting services...
systemctl restart accounts-daemon.service avahi-daemon.service colord.service cron.service irqbalance.service kerneloops.service mdmonitor.service multipathd.service packagekit.service polkit.service power-profiles-daemon.service rsyslog.service rtkit-daemon.service serial-getty@ttyAMA0.service ssh.service switcheroo-control.service systemd-journald.service systemd-networkd.service systemd-resolved.service systemd-timesyncd.service systemd-udevd.service udisks2.service upower.service
Service restarts being deferred:
systemctl restart ModemManager.service
systemctl restart NetworkManager.service
/etc/needrestart/restart.d/dbus.service
systemctl restart gdm.service
systemctl restart gdm3.service
systemctl restart networkd-dispatcher.service
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service
systemctl restart user@1001.service
systemctl restart user@1003.service
systemctl restart user@1005.service
systemctl restart user@130.service
systemctl restart wpa_supplicant.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
$ sudo apt install libgl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libapr1 libaprutil1 libflashrom1 libftdi1-2 libllvm13 libserf-1-1 libsvn1 libutf8proc2
mercurial mercurial-common subversion
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libglx-dev
The following NEW packages will be installed:
libgl-dev libglx-dev
0 upgraded, 2 newly installed, 0 to remove and 127 not upgraded.
Need to get 116 kB of archives.
After this operation, 1,480 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libglx-dev arm64 1.4.0-1 [14.1 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libgl-dev arm64 1.4.0-1 [102 kB]
Fetched 116 kB in 1s (89.1 kB/s)
Selecting previously unselected package libglx-dev:arm64.
(Reading database ... 218198 files and directories currently installed.)
Preparing to unpack .../libglx-dev_1.4.0-1_arm64.deb ...
Unpacking libglx-dev:arm64 (1.4.0-1) ...
Selecting previously unselected package libgl-dev:arm64.
Preparing to unpack .../libgl-dev_1.4.0-1_arm64.deb ...
Unpacking libgl-dev:arm64 (1.4.0-1) ...
Setting up libglx-dev:arm64 (1.4.0-1) ...
Setting up libgl-dev:arm64 (1.4.0-1) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Failed to check for processor microcode upgrades.
Restarting services...
Service restarts being deferred:
systemctl restart NetworkManager.service
/etc/needrestart/restart.d/dbus.service
systemctl restart gdm.service
systemctl restart gdm3.service
systemctl restart networkd-dispatcher.service
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service
systemctl restart user@1001.service
systemctl restart user@1003.service
systemctl restart user@1005.service
systemctl restart user@130.service
systemctl restart wpa_supplicant.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
$ sudo apt install libglu1-mesa-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libapr1 libaprutil1 libflashrom1 libftdi1-2 libllvm13 libserf-1-1 libsvn1 libutf8proc2
mercurial mercurial-common subversion
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
libglu1-mesa-dev
0 upgraded, 1 newly installed, 0 to remove and 127 not upgraded.
Need to get 217 kB of archives.
After this operation, 910 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libglu1-mesa-dev arm64 9.0.2-1 [217 kB]
Fetched 217 kB in 2s (133 kB/s)
Selecting previously unselected package libglu1-mesa-dev:arm64.
(Reading database ... 218219 files and directories currently installed.)
Preparing to unpack .../libglu1-mesa-dev_9.0.2-1_arm64.deb ...
Unpacking libglu1-mesa-dev:arm64 (9.0.2-1) ...
Setting up libglu1-mesa-dev:arm64 (9.0.2-1) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Failed to check for processor microcode upgrades.
Restarting services...
Service restarts being deferred:
systemctl restart NetworkManager.service
/etc/needrestart/restart.d/dbus.service
systemctl restart gdm.service
systemctl restart gdm3.service
systemctl restart networkd-dispatcher.service
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service
systemctl restart user@1001.service
systemctl restart user@1003.service
systemctl restart user@1005.service
systemctl restart user@130.service
systemctl restart wpa_supplicant.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
$ sudo apt install libxext-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libapr1 libaprutil1 libflashrom1 libftdi1-2 libllvm13 libserf-1-1 libsvn1 libutf8proc2
mercurial mercurial-common subversion
Use 'sudo apt autoremove' to remove them.
Suggested packages:
libxext-doc
The following NEW packages will be installed:
libxext-dev
0 upgraded, 1 newly installed, 0 to remove and 127 not upgraded.
Need to get 85.5 kB of archives.
After this operation, 327 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libxext-dev arm64 2:1.3.4-1build1 [85.5 kB]
Fetched 85.5 kB in 1s (79.7 kB/s)
Selecting previously unselected package libxext-dev:arm64.
(Reading database ... 218226 files and directories currently installed.)
Preparing to unpack .../libxext-dev_2%3a1.3.4-1build1_arm64.deb ...
Unpacking libxext-dev:arm64 (2:1.3.4-1build1) ...
Setting up libxext-dev:arm64 (2:1.3.4-1build1) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Failed to check for processor microcode upgrades.
Restarting services...
Service restarts being deferred:
systemctl restart NetworkManager.service
/etc/needrestart/restart.d/dbus.service
systemctl restart gdm.service
systemctl restart gdm3.service
systemctl restart networkd-dispatcher.service
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service
systemctl restart user@1001.service
systemctl restart user@1003.service
systemctl restart user@1005.service
systemctl restart user@130.service
systemctl restart wpa_supplicant.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host
$ sudo apt install libjpeg62-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libapr1 libaprutil1 libflashrom1 libftdi1-2 libllvm13 libserf-1-1 libsvn1 libutf8proc2
mercurial mercurial-common subversion
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libjpeg62
The following NEW packages will be installed:
libjpeg62 libjpeg62-dev
0 upgraded, 2 newly installed, 0 to remove and 127 not upgraded.
Need to get 232 kB of archives.
After this operation, 558 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 libjpeg62 arm64 1:6b2-3 [67.7 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 libjpeg62-dev arm64 1:6b2-3 [164 kB]
Fetched 232 kB in 2s (142 kB/s)
Selecting previously unselected package libjpeg62:arm64.
(Reading database ... 218309 files and directories currently installed.)
Preparing to unpack .../libjpeg62_1%3a6b2-3_arm64.deb ...
Unpacking libjpeg62:arm64 (1:6b2-3) ...
Selecting previously unselected package libjpeg62-dev:arm64.
Preparing to unpack .../libjpeg62-dev_1%3a6b2-3_arm64.deb ...
Unpacking libjpeg62-dev:arm64 (1:6b2-3) ...
Setting up libjpeg62:arm64 (1:6b2-3) ...
Setting up libjpeg62-dev:arm64 (1:6b2-3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.4) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Failed to check for processor microcode upgrades.
Restarting services...
Service restarts being deferred:
systemctl restart NetworkManager.service
/etc/needrestart/restart.d/dbus.service
systemctl restart gdm.service
systemctl restart gdm3.service
systemctl restart networkd-dispatcher.service
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service
systemctl restart user@1001.service
systemctl restart user@1003.service
systemctl restart user@1005.service
systemctl restart user@130.service
systemctl restart wpa_supplicant.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
$ sudo apt install libpng-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libapr1 libaprutil1 libflashrom1 libftdi1-2 libllvm13 libserf-1-1 libsvn1 libutf8proc2
mercurial mercurial-common subversion
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libpng-tools
The following NEW packages will be installed:
libpng-dev libpng-tools
0 upgraded, 2 newly installed, 0 to remove and 127 not upgraded.
Need to get 223 kB of archives.
After this operation, 839 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libpng-dev arm64 1.6.37-3build5 [194 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libpng-tools arm64 1.6.37-3build5 [28.6 kB]
Fetched 223 kB in 2s (118 kB/s)
Selecting previously unselected package libpng-dev:arm64.
(Reading database ... 218333 files and directories currently installed.)
Preparing to unpack .../libpng-dev_1.6.37-3build5_arm64.deb ...
Unpacking libpng-dev:arm64 (1.6.37-3build5) ...
Selecting previously unselected package libpng-tools.
Preparing to unpack .../libpng-tools_1.6.37-3build5_arm64.deb ...
Unpacking libpng-tools (1.6.37-3build5) ...
Setting up libpng-tools (1.6.37-3build5) ...
Setting up libpng-dev:arm64 (1.6.37-3build5) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Failed to check for processor microcode upgrades.
Restarting services...
Service restarts being deferred:
systemctl restart NetworkManager.service
/etc/needrestart/restart.d/dbus.service
systemctl restart gdm.service
systemctl restart gdm3.service
systemctl restart networkd-dispatcher.service
systemctl restart systemd-logind.service
systemctl restart unattended-upgrades.service
systemctl restart user@1001.service
systemctl restart user@1003.service
systemctl restart user@1005.service
systemctl restart user@130.service
systemctl restart wpa_supplicant.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment