debian 9.0 stretchに最初から入っていたパッケージ一覧

やったこと

リンクステーションにdebianをインストール
インストール時にwebサーバーを追加で選択
gitをインストール
sudoをインストール

パッケージ一覧

# dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  adduser        3.115        all          add and remove users and groups
ii  analog         2:6.0-22     armel        web server log analyzer
ii  apache2        2.4.25-3+deb armel        Apache HTTP Server
ii  apache2-bin    2.4.25-3+deb armel        Apache HTTP Server (modules and o
ii  apache2-data   2.4.25-3+deb all          Apache HTTP Server (common files)
ii  apache2-doc    2.4.25-3+deb all          Apache HTTP Server (on-site docum
ii  apache2-utils  2.4.25-3+deb armel        Apache HTTP Server (utility progr
ii  apt            1.4.8        armel        commandline package manager
ii  apt-listchange 3.10         all          package change history notificati
ii  apt-utils      1.4.8        armel        package management related utilit
ii  base-files     9.9+deb9u6   armel        Debian base system miscellaneous 
ii  base-passwd    3.5.43       armel        Debian base system master passwor
ii  bash           4.4-5        armel        GNU Bourne Again SHell
ii  bash-completio 1:2.1-4.3    all          programmable completion for the b
ii  bind9-host     1:9.10.3.dfs armel        Version of 'host' bundled with BI
ii  bsdmainutils   9.0.12+nmu1  armel        collection of more utilities from
ii  bsdutils       1:2.29.2-1+d armel        basic utilities from 4.4BSD-Lite
ii  busybox        1:1.22.0-19+ armel        Tiny utilities for small and embe
ii  bzip2          1.0.6-8.1    armel        high-quality block-sorting file c
ii  ca-certificate 20161130+nmu all          Common CA certificates
ii  coreutils      8.26-3       armel        GNU core utilities
ii  cpio           2.11+dfsg-6  armel        GNU cpio -- a program to manage a
ii  cron           3.0pl1-128+d armel        process scheduling daemon
ii  dash           0.5.8-2.4    armel        POSIX-compliant shell
ii  dbus           1.10.26-0+de armel        simple interprocess messaging sys
ii  debconf        1.5.61       all          Debian configuration management s
ii  debconf-i18n   1.5.61       all          full internationalization support
ii  debian-archive 2017.5       all          GnuPG archive keys of the Debian 
ii  debian-faq     8.1          all          Debian Frequently Asked Questions
ii  debianutils    4.8.1.1      armel        Miscellaneous utilities specific 
ii  device-tree-co 1.4.2-1      armel        Device Tree Compiler for Flat Dev
ii  devio          1.2-1.2+b1   armel        correctly read (or write) a regio
ii  dh-python      2.20170125   all          Debian helper tools for packaging
ii  diffutils      1:3.5-3      armel        File comparison utilities
ii  discover       2.1.2-7.1+de armel        hardware identification system
ii  discover-data  2.2013.01.11 all          Data lists for Discover hardware 
ii  distro-info-da 0.36         all          information about the distributio
ii  dmsetup        2:1.02.137-2 armel        Linux Kernel Device Mapper usersp
ii  doc-debian     6.4          all          Debian Project documentation and 
ii  dpkg           1.18.25      armel        Debian package management system
ii  e2fslibs:armel 1.43.4-2     armel        ext2/ext3/ext4 file system librar
ii  e2fsprogs      1.43.4-2     armel        ext2/ext3/ext4 file system utilit
ii  file           1:5.30-1+deb armel        Recognize the type of data in a f
ii  findutils      4.6.0+git+20 armel        utilities for finding files--find
ii  flash-kernel   3.79         armel        utility to make certain embedded 
ii  fontconfig-con 2.11.0-6.7   all          generic font configuration librar
ii  fonts-dejavu-c 2.37-1       all          Vera font family derivate with ad
ii  gcc-6-base:arm 6.3.0-18+deb armel        GCC, the GNU Compiler Collection 
ii  geoip-database 20170512-1   all          IP lookup command line tools that
ii  gettext-base   0.19.8.1-2   armel        GNU Internationalization utilitie
ii  git            1:2.11.0-3+d armel        fast, scalable, distributed revis
ii  git-man        1:2.11.0-3+d all          fast, scalable, distributed revis
ii  gnupg          2.1.18-8~deb armel        GNU privacy guard - a free PGP re
ii  gnupg-agent    2.1.18-8~deb armel        GNU privacy guard - cryptographic
ii  gpgv           2.1.18-8~deb armel        GNU privacy guard - signature ver
ii  grep           2.27-2       armel        GNU grep, egrep and fgrep
ii  groff-base     1.22.3-9     armel        GNU troff text-formatting system 
ii  gzip           1.6-5+b1     armel        GNU compression utilities
ii  hdparm         9.51+ds-1+de armel        tune hard disk parameters for hig
ii  hostname       3.18+b1      armel        utility to set/show the host name
ii  ifupdown       0.8.19       armel        high level tools to configure net
ii  init           1.48         armel        metapackage ensuring an init syst
ii  init-system-he 1.48         all          helper tools for all init systems
ii  initramfs-tool 0.130        all          generic modular initramfs generat
ii  initramfs-tool 0.130        all          generic modular initramfs generat
ii  installation-r 2.62         all          system installation report
ii  iproute2       4.9.0-1+deb9 armel        networking and traffic control to
ii  iptables       1.6.0+snapsh armel        administration tools for packet f
ii  iputils-ping   3:20161105-1 armel        Tools to test the reachability of
ii  isc-dhcp-clien 4.3.5-3+deb9 armel        DHCP client for automatically obt
ii  isc-dhcp-commo 4.3.5-3+deb9 armel        common manpages relevant to all o
ii  iso-codes      3.75-1       all          ISO language, territory, currency
ii  klibc-utils    2.0.4-9      armel        small utilities built with klibc 
ii  kmod           23-2         armel        tools for managing Linux kernel m
ii  krb5-locales   1.15-1+deb9u all          internationalization support for 
ii  less           481-2.1      armel        pager program similar to more
ii  libacl1:armel  2.2.52-3+b1  armel        Access control list shared librar
ii  libapparmor1:a 2.11.0-3+deb armel        changehat AppArmor library
ii  libapr1:armel  1.5.2-5      armel        Apache Portable Runtime Library
ii  libaprutil1:ar 1.5.4-3      armel        Apache Portable Runtime Utility L
ii  libaprutil1-db 1.5.4-3      armel        Apache Portable Runtime Utility L
ii  libaprutil1-ld 1.5.4-3      armel        Apache Portable Runtime Utility L
ii  libapt-inst2.0 1.4.8        armel        deb package format runtime librar
ii  libapt-pkg5.0: 1.4.8        armel        package management runtime librar
ii  libassuan0:arm 2.4.3-2      armel        IPC library for the GnuPG compone
ii  libattr1:armel 1:2.4.47-2+b armel        Extended attribute shared library
ii  libaudit-commo 1:2.6.7-2    all          Dynamic library for security audi
ii  libaudit1:arme 1:2.6.7-2    armel        Dynamic library for security audi
ii  libbind9-140:a 1:9.10.3.dfs armel        BIND9 Shared Library used by BIND
ii  libblkid1:arme 2.29.2-1+deb armel        block device ID library
ii  libbsd0:armel  0.8.3-1      armel        utility functions from BSD system
ii  libbz2-1.0:arm 1.0.6-8.1    armel        high-quality block-sorting file c
ii  libc-bin       2.24-11+deb9 armel        GNU C Library: Binaries
ii  libc-l10n      2.24-11+deb9 all          GNU C Library: localization files
ii  libc6:armel    2.24-11+deb9 armel        GNU C Library: Shared libraries
ii  libcap-ng0:arm 0.7.7-3+b1   armel        An alternate POSIX capabilities l
ii  libcap2:armel  1:2.25-1     armel        POSIX 1003.1e capabilities (libra
ii  libclass-isa-p 0.36-5       all          report the search path for a clas
ii  libcomerr2:arm 1.43.4-2     armel        common error description library
ii  libcryptsetup4 2:1.7.3-4    armel        disk encryption support - shared 
ii  libcurl3-gnutl 7.52.1-5+deb armel        easy-to-use client-side URL trans
ii  libdb5.3:armel 5.3.28-12+de armel        Berkeley v5.3 Database Libraries 
ii  libdbus-1-3:ar 1.10.26-0+de armel        simple interprocess messaging sys
ii  libdebconfclie 0.227        armel        Debian Configuration Management S
ii  libdevmapper1. 2:1.02.137-2 armel        Linux Kernel Device Mapper usersp
ii  libdiscover2   2.1.2-7.1+de armel        hardware identification library
ii  libdns-export1 1:9.10.3.dfs armel        Exported DNS Shared Library
ii  libdns162:arme 1:9.10.3.dfs armel        DNS Shared Library used by BIND
ii  libedit2:armel 3.1-20160903 armel        BSD editline and history librarie
ii  libelf1:armel  0.168-1      armel        library to read and write ELF fil
ii  liberror-perl  0.17024-1    all          Perl module for error/exception h
ii  libestr0       0.1.10-2     armel        Helper functions for handling str
ii  libexpat1:arme 2.2.0-2+deb9 armel        XML parsing C library - runtime l
ii  libfastjson4:a 0.99.4-1     armel        fast json library for C
ii  libfdisk1:arme 2.29.2-1+deb armel        fdisk partitioning library
ii  libffi6:armel  3.2.1-6      armel        Foreign Function Interface librar
ii  libfontconfig1 2.11.0-6.7+b armel        generic font configuration librar
ii  libfreetype6:a 2.6.3-3.2    armel        FreeType 2 font engine, shared li
ii  libgcc1:armel  1:6.3.0-18+d armel        GCC support library
ii  libgcrypt20:ar 1.7.6-2+deb9 armel        LGPL Crypto library - runtime lib
ii  libgd3:armel   2.2.4-2+deb9 armel        GD Graphics Library
ii  libgdbm3:armel 1.8.3-14     armel        GNU dbm database routines (runtim
ii  libgeoip1:arme 1.6.9-4      armel        non-DNS IP-to-country resolver li
ii  libgmp10:armel 2:6.1.2+dfsg armel        Multiprecision arithmetic library
ii  libgnutls30:ar 3.5.8-5+deb9 armel        GNU TLS library - main runtime li
ii  libgpg-error0: 1.26-2       armel        library for common error values a
ii  libgssapi-krb5 1.15-1+deb9u armel        MIT Kerberos runtime libraries - 
ii  libhogweed4:ar 3.3-1+b2     armel        low level cryptographic library (
ii  libicu57:armel 57.1-6+deb9u armel        International Components for Unic
ii  libidn11:armel 1.33-1       armel        GNU Libidn library, implementatio
ii  libidn2-0:arme 0.16-1+deb9u armel        Internationalized domain names (I
ii  libip4tc0:arme 1.6.0+snapsh armel        netfilter libip4tc library
ii  libip6tc0:arme 1.6.0+snapsh armel        netfilter libip6tc library
ii  libiptc0:armel 1.6.0+snapsh armel        netfilter libiptc library
ii  libisc-export1 1:9.10.3.dfs armel        Exported ISC Shared Library
ii  libisc160:arme 1:9.10.3.dfs armel        ISC Shared Library used by BIND
ii  libisccc140:ar 1:9.10.3.dfs armel        Command Channel Library used by B
ii  libisccfg140:a 1:9.10.3.dfs armel        Config File Handling Library used
ii  libjbig0:armel 2.1-3.1+b2   armel        JBIGkit libraries
ii  libjpeg62-turb 1:1.5.1-2    armel        libjpeg-turbo JPEG runtime librar
ii  libk5crypto3:a 1.15-1+deb9u armel        MIT Kerberos runtime libraries - 
ii  libkeyutils1:a 1.5.9-9      armel        Linux Key Management Utilities (l
ii  libklibc       2.0.4-9      armel        minimal libc subset for use with 
ii  libkmod2:armel 23-2         armel        libkmod shared library
ii  libkrb5-3:arme 1.15-1+deb9u armel        MIT Kerberos runtime libraries
ii  libkrb5support 1.15-1+deb9u armel        MIT Kerberos runtime libraries - 
ii  libksba8:armel 1.3.5-2      armel        X.509 and CMS support library
ii  libldap-2.4-2: 2.4.44+dfsg- armel        OpenLDAP libraries
ii  libldap-common 2.4.44+dfsg- all          OpenLDAP common files for librari
ii  liblocale-gett 1.07-3+b1    armel        module using libc functions for i
ii  liblockfile-bi 1.14-1+b1    armel        support binaries for and cli util
ii  liblogging-std 1.0.5-2+b2   armel        easy to use and lightweight loggi
ii  liblognorm5:ar 2.0.1-1.1+b1 armel        log normalizing library
ii  liblua5.2-0:ar 5.2.4-1.1+b2 armel        Shared library for the Lua interp
ii  liblwres141:ar 1:9.10.3.dfs armel        Lightweight Resolver Library used
ii  liblz4-1:armel 0.0~r131-2+b armel        Fast LZ compression algorithm lib
ii  liblzma5:armel 5.2.2-1.2+b1 armel        XZ-format compression library
ii  liblzo2-2:arme 2.08-1.2+b2  armel        data compression library
ii  libmagic-mgc   1:5.30-1+deb armel        File type determination library u
ii  libmagic1:arme 1:5.30-1+deb armel        Recognize the type of data in a f
ii  libmnl0:armel  1.0.4-2      armel        minimalistic Netlink communicatio
ii  libmount1:arme 2.29.2-1+deb armel        device mounting library
ii  libmpdec2:arme 2.4.2-1      armel        library for decimal floating poin
ii  libncurses5:ar 6.0+20161126 armel        shared libraries for terminal han
ii  libncursesw5:a 6.0+20161126 armel        shared libraries for terminal han
ii  libnetfilter-c 1.0.6-2      armel        Netfilter netlink-conntrack libra
ii  libnettle6:arm 3.3-1+b2     armel        low level cryptographic library (
ii  libnewt0.52:ar 0.52.19-1+b1 armel        Not Erik's Windowing Toolkit - te
ii  libnfnetlink0: 1.0.1-3      armel        Netfilter netlink library
ii  libnghttp2-14: 1.18.1-1     armel        library implementing HTTP/2 proto
ii  libnpth0:armel 1.3-1        armel        replacement for GNU Pth using sys
ii  libp11-kit0:ar 0.23.3-2     armel        library for loading and coordinat
ii  libpam-modules 1.1.8-3.6    armel        Pluggable Authentication Modules 
ii  libpam-modules 1.1.8-3.6    armel        Pluggable Authentication Modules 
ii  libpam-runtime 1.1.8-3.6    all          Runtime support for the PAM libra
ii  libpam-systemd 232-25+deb9u armel        system and service manager - PAM 
ii  libpam0g:armel 1.1.8-3.6    armel        Pluggable Authentication Modules 
ii  libpci3:armel  1:3.5.2-1    armel        Linux PCI Utilities (shared libra
ii  libpcre3:armel 2:8.39-3     armel        Old Perl 5 Compatible Regular Exp
ii  libperl5.24:ar 5.24.1-3+deb armel        shared Perl library
ii  libpipeline1:a 1.4.1-2      armel        pipeline manipulation library
ii  libpng16-16:ar 1.6.28-1     armel        PNG library - runtime (version 1.
ii  libpopt0:armel 1.16-10+b2   armel        lib for parsing cmdline parameter
ii  libprocps6:arm 2:3.3.12-3+d armel        library for accessing process inf
ii  libpsl5:armel  0.17.0-3     armel        Library for Public Suffix List (s
ii  libpython-stdl 2.7.13-2     armel        interactive high-level object-ori
ii  libpython2.7-m 2.7.13-2+deb armel        Minimal subset of the Python lang
ii  libpython2.7-s 2.7.13-2+deb armel        Interactive high-level object-ori
ii  libpython3-std 3.5.3-1      armel        interactive high-level object-ori
ii  libpython3.5-m 3.5.3-1+deb9 armel        Minimal subset of the Python lang
ii  libpython3.5-s 3.5.3-1+deb9 armel        Interactive high-level object-ori
ii  libreadline7:a 7.0-3        armel        GNU readline and history librarie
ii  librtmp1:armel 2.4+20151223 armel        toolkit for RTMP streams (shared 
ii  libsasl2-2:arm 2.1.27~101-g armel        Cyrus SASL - authentication abstr
ii  libsasl2-modul 2.1.27~101-g armel        Cyrus SASL - pluggable authentica
ii  libsasl2-modul 2.1.27~101-g armel        Cyrus SASL - pluggable authentica
ii  libseccomp2:ar 2.3.1-2.1+de armel        high level interface to Linux sec
ii  libselinux1:ar 2.6-3+b3     armel        SELinux runtime shared libraries
ii  libsemanage-co 2.6-2        all          Common files for SELinux policy m
ii  libsemanage1:a 2.6-2        armel        SELinux policy management library
ii  libsepol1:arme 2.6-2        armel        SELinux library for manipulating 
ii  libslang2:arme 2.3.1-5      armel        S-Lang programming library - runt
ii  libsmartcols1: 2.29.2-1+deb armel        smart column output alignment lib
ii  libsqlite3-0:a 3.16.2-5+deb armel        SQLite 3 shared library
ii  libss2:armel   1.43.4-2     armel        command-line interface parsing li
ii  libssh2-1:arme 1.7.0-1      armel        SSH2 client-side library
ii  libssl1.0.2:ar 1.0.2q-1~deb armel        Secure Sockets Layer toolkit - sh
ii  libssl1.1:arme 1.1.0j-1~deb armel        Secure Sockets Layer toolkit - sh
ii  libstdc++6:arm 6.3.0-18+deb armel        GNU Standard C++ Library v3
ii  libswitch-perl 2.17-2       all          switch statement for Perl
ii  libsystemd0:ar 232-25+deb9u armel        systemd utility library
ii  libtasn1-6:arm 4.10-1.1+deb armel        Manage ASN.1 structures (runtime)
ii  libtext-charwi 0.04-7+b5    armel        get display widths of characters 
ii  libtext-iconv- 1.7-5+b4     armel        converts between character sets i
ii  libtext-wrapi1 0.06-7.1     all          internationalized substitute of T
ii  libtiff5:armel 4.0.8-2+deb9 armel        Tag Image File Format (TIFF) libr
ii  libtinfo5:arme 6.0+20161126 armel        shared low-level terminfo library
ii  libudev1:armel 232-25+deb9u armel        libudev shared library
ii  libunistring0: 0.9.6+really armel        Unicode string library for C
ii  libusb-0.1-4:a 2:0.1.12-30  armel        userspace USB programming library
ii  libusb-1.0-0:a 2:1.0.21-1   armel        userspace USB programming library
ii  libustr-1.0-1: 1.0.4-6      armel        Micro string library: shared libr
ii  libuuid1:armel 2.29.2-1+deb armel        Universally Unique ID library
ii  libwebp6:armel 0.5.2-1      armel        Lossy compression of digital phot
ii  libwrap0:armel 7.6.q-26     armel        Wietse Venema's TCP wrappers libr
ii  libx11-6:armel 2:1.6.4-3+de armel        X11 client-side library
ii  libx11-data    2:1.6.4-3+de all          X11 client-side library
ii  libxapian30:ar 1.4.3-2+deb9 armel        Search engine library
ii  libxau6:armel  1:1.0.8-1    armel        X11 authorisation library
ii  libxcb1:armel  1.12-1       armel        X C Binding
ii  libxdmcp6:arme 1:1.1.2-3    armel        X11 Display Manager Control Proto
ii  libxml2:armel  2.9.4+dfsg1- armel        GNOME XML library
ii  libxpm4:armel  1:3.5.12-1   armel        X11 pixmap library
ii  libxtables12:a 1.6.0+snapsh armel        netfilter xtables library
ii  linux-base     4.5          all          Linux image base package
ii  linux-image-4. 4.9.130-2    armel        Linux 4.9 for Marvell Kirkwood/Or
ii  linux-image-ma 4.9+80+deb9u armel        Linux for Marvell Kirkwood/Orion 
ii  locales        2.24-11+deb9 all          GNU C Library: National Language 
ii  login          1:4.4-4.1    armel        system login tools
ii  logrotate      3.11.0-0.1   armel        Log rotation utility
ii  lsb-base       9.20161125   all          Linux Standard Base init script f
ii  lsb-release    9.20161125   all          Linux Standard Base version repor
ii  lsof           4.89+dfsg-0. armel        Utility to list open files
ii  man-db         2.7.6.1-2    armel        on-line manual pager
ii  manpages       4.10-2       all          Manual pages about using a GNU/Li
ii  mawk           1.3.3-17+b3  armel        a pattern scanning and text proce
ii  mime-support   3.60         all          MIME files 'mime.types' & 'mailca
ii  mount          2.29.2-1+deb armel        tools for mounting and manipulati
ii  mtd-utils      1:2.0.0-1    armel        Memory Technology Device Utilitie
ii  multiarch-supp 2.24-11+deb9 armel        Transitional package to ensure mu
ii  nano           2.7.4-1      armel        small, friendly text editor inspi
ii  ncurses-base   6.0+20161126 all          basic terminal type definitions
ii  ncurses-bin    6.0+20161126 armel        terminal-related programs and man
ii  ncurses-term   6.0+20161126 all          additional terminal type definiti
ii  netbase        5.4          all          Basic TCP/IP networking system
ii  netcat-traditi 1.10-41+b1   armel        TCP/IP swiss army knife
ii  openssh-client 1:7.4p1-10+d armel        secure shell (SSH) client, for se
ii  openssh-server 1:7.4p1-10+d armel        secure shell (SSH) server, for se
ii  openssh-sftp-s 1:7.4p1-10+d armel        secure shell (SSH) sftp server mo
ii  openssl        1.1.0j-1~deb armel        Secure Sockets Layer toolkit - cr
ii  passwd         1:4.4-4.1    armel        change and administer password an
ii  patch          2.7.5-1+deb9 armel        Apply a diff file to an original
ii  pciutils       1:3.5.2-1    armel        Linux PCI Utilities
ii  perl           5.24.1-3+deb armel        Larry Wall's Practical Extraction
ii  perl-base      5.24.1-3+deb armel        minimal Perl system
ii  perl-modules-5 5.24.1-3+deb all          Core Perl modules
ii  pinentry-curse 1.0.0-2      armel        curses-based PIN or pass-phrase e
ii  powermgmt-base 1.31+nmu1    all          Common utils and configs for powe
ii  procps         2:3.3.12-3+d armel        /proc file system utilities
ii  python         2.7.13-2     armel        interactive high-level object-ori
ii  python-apt-com 1.4.0~beta3  all          Python interface to libapt-pkg (l
ii  python-minimal 2.7.13-2     armel        minimal subset of the Python lang
ii  python2.7      2.7.13-2+deb armel        Interactive high-level object-ori
ii  python2.7-mini 2.7.13-2+deb armel        Minimal subset of the Python lang
ii  python3        3.5.3-1      armel        interactive high-level object-ori
ii  python3-apt    1.4.0~beta3  armel        Python 3 interface to libapt-pkg
ii  python3-charde 2.3.0-2      all          universal character encoding dete
ii  python3-debian 0.1.30       all          Python 3 modules to work with Deb
ii  python3-debian 2.6.1        all          Python interface to Debian's Bug 
ii  python3-httpli 0.9.2+dfsg-1 all          comprehensive HTTP client library
ii  python3-minima 3.5.3-1      armel        minimal subset of the Python lang
ii  python3-pkg-re 33.1.1-1     all          Package Discovery and Resource Ac
ii  python3-pycurl 7.43.0-2     armel        Python bindings to libcurl (Pytho
ii  python3-pysimp 1.16-2       all          simple and lightweight SOAP Libra
ii  python3-report 7.1.7+deb9u2 all          Python modules for interacting wi
ii  python3-reques 2.12.4-1     all          elegant and simple HTTP library f
ii  python3-six    1.10.0-3     all          Python 2 and 3 compatibility libr
ii  python3-urllib 1.19.1-1     all          HTTP library with thread-safe con
ii  python3.5      3.5.3-1+deb9 armel        Interactive high-level object-ori
ii  python3.5-mini 3.5.3-1+deb9 armel        Minimal subset of the Python lang
ii  readline-commo 7.0-3        all          GNU readline and history librarie
ii  rename         0.20-4       all          Perl extension for renaming multi
ii  reportbug      7.1.7+deb9u2 all          reports bugs in the Debian distri
ii  rsync          3.1.2-1+deb9 armel        fast, versatile, remote (and loca
ii  rsyslog        8.24.0-1     armel        reliable system and kernel loggin
ii  sed            4.4-1        armel        GNU stream editor for filtering/t
ii  sensible-utils 0.0.9+deb9u1 all          Utilities for sensible alternativ
ii  sgml-base      1.29         all          SGML infrastructure and SGML cata
ii  ssl-cert       1.0.39       all          simple debconf wrapper for OpenSS
ii  sudo           1.8.19p1-2.1 armel        Provide limited super user privil
ii  systemd        232-25+deb9u armel        system and service manager
ii  systemd-sysv   232-25+deb9u armel        system and service manager - SysV
ii  sysvinit-utils 2.88dsf-59.9 armel        System-V-like utilities
ii  tar            1.29b-1.1    armel        GNU version of the tar archiving 
ii  task-ssh-serve 3.39         all          SSH server
ii  task-web-serve 3.39         all          web server
ii  tasksel        3.39         all          tool for selecting tasks for inst
ii  tasksel-data   3.39         all          official tasks used for installat
ii  telnet         0.17-41      armel        basic telnet client
ii  traceroute     1:2.1.0-2    armel        Traces the route taken by packets
ii  tzdata         2018i-0+deb9 all          time zone and daylight-saving tim
ii  u-boot-tools   2016.11+dfsg armel        companion tools for Das U-Boot bo
ii  ucf            3.0036       all          Update Configuration File(s): pre
ii  udev           232-25+deb9u armel        /dev/ and hotplug management daem
ii  usbutils       1:007-4+b1   armel        Linux USB utilities
ii  util-linux     2.29.2-1+deb armel        miscellaneous system utilities
ii  vim-common     2:8.0.0197-4 all          Vi IMproved - Common files
ii  vim-tiny       2:8.0.0197-4 armel        Vi IMproved - enhanced vi editor 
ii  wamerican      7.1-1        all          American English dictionary words
ii  wget           1.18-5+deb9u armel        retrieves files from the web
ii  whiptail       0.52.19-1+b1 armel        Displays user-friendly dialog box
ii  xml-core       0.17         all          XML infrastructure and XML catalo
ii  xxd            2:8.0.0197-4 armel        tool to make (or reverse) a hex d
ii  xz-utils       5.2.2-1.2+b1 armel        XZ-format compression utilities
ii  zlib1g:armel   1:1.2.8.dfsg armel        compression library - runtime

タイピングの最適化

Realforceのタイピング大会の動画を見てからタイピングにちょっとはまった。
キーボードは好きだったけれどタイピングはとても遅くてそんなに練習したことなかったのでe-typingで始めたばかりのころの記録を残しておきたい。
f:id:ultra-genma:20190113214705p:plain

ふをhuと打つくらいタイピングを気にしていなかったので来年くらいまで頑張って練習して500wpmを目指したい。

単語 最適化前 最適化後
hu fu
こんな konnna koxnna
きかい kikai kicai
あんこ annko anko
ぁぃぅぇぉ xa xi xu xe xo、la li lu le lo la xi xu le xo

LS-CH1.0TLにDebian 9.0 stretchをインストールする

環境

・Buffalo NAS LinkStation LS-CHLシリーズ LS-CH1.0TL
Debian 9.0 stretch
理研 http://ftp.riken.jp/Linux/debian/debian/dists/stretch/main/installer-armel/current/images/kirkwood/network-console/buffalo/ls-chlv2/


準備

NASのHDD 1TBを外して余っていた1.5TBに交換し必要ならフォーマットする
Debian 9.0 stretchを理研などからダウンロード
uImage.buffalo
uImage.buffalo

debian公式のサーバーリスト
https://www.debian.org/CD/http-ftp/#stable 適当なサーバーからインストラーをダウンロードする

最新版はここからダウンロードする
更新日が2019/01/02なので頻繁に更新している模様
Index of /daily-images/armel/daily/kirkwood/network-console/buffalo/ls-chlv2
※こちらの開発版のようなものは何時間経ってもインストール完了しなかったので、安定版がおすすめ。

どうでも良いけどこの地球流体電脳倶楽部って公式のリストになくて名前がとても怪しい
http://ftp.jp.debian.org/ http://ftp.jp.debian.org/debian/dists/stretch/main/installer-armel/current/images/kirkwood/network-console/buffalo/ls-chlv2/


手順

Partedコマンドを使用してパーティションテーブルを作成する

$ sudo parted /dev/sdd
GNU Parted 3.2
/dev/sdd を使用
GNU Parted へようこそ! コマンド一覧を見るには 'help' と入力してください。
(parted) print                                                            
モデル: ATA ST31500341AS (scsi)
ディスク /dev/sdd: 1500GB
セクタサイズ (論理/物理): 512B/512B
パーティションテーブル: gpt
ディスクフラグ: 

番号  開始  終了  サイズ  ファイルシステム  名前  フラグ

(parted) mklabel gpt
警告: いま存在している /dev/sdd のディスクラベルは破壊され、このディスクの全データが失われます。続行しますか?
はい(Y)/Yes/いいえ(N)/No? y                                               
(parted) mkpart boot 2048s 1024MiB                                        
(parted) mkpart root 1024MiB 6144MiB                       
(parted) mkpart swap 6144MiB 6400MiB                                   
(parted) mkpart data 6400Mi -1
(parted) print                                                            
モデル: ATA ST31500341AS (scsi)
ディスク /dev/sdd: 1500GB
セクタサイズ (論理/物理): 512B/512B
パーティションテーブル: gpt
ディスクフラグ: 

番号  開始    終了    サイズ  ファイルシステム  名前  フラグ
 1    1049kB  1074MB  1073MB                    boot
 2    1074MB  6442MB  5369MB                    root
 3    6442MB  6711MB  268MB                     swap
 4    6711MB  1500GB  1494GB                    data

(parted) quit
通知: 必要であれば /etc/fstab を更新するのを忘れないようにしてください。

f:id:ultra-genma:20190103124447p:plain GPartedで確認するとこうなっている

sdd1をext3でフォーマットする

$ sudo mkfs.ext3 /dev/sdd1                                
mke2fs 1.42.13 (17-May-2015)
/dev/sdd1 contains a ext4 file system labelled 'boot'
    last mounted on /media/<user_name>/boot on Thu Jan  3 10:16:06 2019
Proceed anyway? (y,n) y
Creating filesystem with 261888 4k blocks and 65536 inodes
Filesystem UUID: 2c4d8530-706c-43f0-aad0-b4dd2a4362dd
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

※sdd2、sdd3、sdd4はdebianインストール時にパーティション設定を行うため、フォーマット不要

マウントしてファイルをダウンロードする
※こちらの開発版のようなものは何時間経ってもインストール完了しなかったので、安定版をダウンロードしてHDDに置くことをおすすめ。

$ sudo mount /dev/sdd1 /mnt

$ sudo wget https://d-i.debian.org/daily-images/armel/daily/kirkwood/network-console/buffalo/ls-chlv2/uImage.buffalo
--2019-01-03 10:33:30--  https://d-i.debian.org/daily-images/armel/daily/kirkwood/network-console/buffalo/ls-chlv2/uImage.buffalo
d-i.debian.org (d-i.debian.org) をDNSに問いあわせています... 2001:67c:2564:a119::148:14, 2001:4f8:1:c::15, 2001:41c8:1000:21::21:4, ...
d-i.debian.org (d-i.debian.org)|2001:67c:2564:a119::148:14|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 2048715 (2.0M)
`uImage.buffalo' に保存中

uImage.buffalo      100%[===================>]   1.95M  1.05MB/s    時間 1.9s  

2019-01-03 10:33:33 (1.05 MB/s) - `uImage.buffalo' へ保存完了 [2048715/2048715]

$ sudo wget https://d-i.debian.org/daily-images/armel/daily/kirkwood/network-console/buffalo/ls-chlv2/initrd.buffalo
--2019-01-03 10:34:42--  https://d-i.debian.org/daily-images/armel/daily/kirkwood/network-console/buffalo/ls-chlv2/initrd.buffalo
d-i.debian.org (d-i.debian.org) をDNSに問いあわせています... 2001:4f8:1:c::15, 2001:41c8:1000:21::21:4, 2001:67c:2564:a119::148:14, ...
d-i.debian.org (d-i.debian.org)|2001:4f8:1:c::15|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 12271532 (12M)
`initrd.buffalo' に保存中

initrd.buffalo      100%[===================>]  11.70M  5.61MB/s    時間 2.1s  

2019-01-03 10:34:44 (5.61 MB/s) - `initrd.buffalo' へ保存完了 [12271532/12271532]

bootにファイルをコピーする

$ sudo mv *.buffalo /mnt

アンマウントする

$ sudo umount /mnt

ここまで準備できたらHDDをNASのケースに戻す
NASを接続し、ルーターなどからIPアドレスを確認する
192.168.1.まではわかっていたので総当りして、192.168.1.7でsshログインした
user:installer
password:install

$ssh installer@192.168.1.7

ログインできたらstart installerを選択してインストールを続ける

f:id:ultra-genma:20190103124717p:plain f:id:ultra-genma:20190103124739p:plain f:id:ultra-genma:20190103124817p:plain f:id:ultra-genma:20190103124803p:plain proxyは空のままContinueを押す
Download installer coponentsの項目もとりあえず何も選択せずにContinueする

2時間以上かかってなんとか完了する
うまく行くとinstallerユーザーは使えなくなっている
設定したユーザーでログインでき、rootはsuコマンドで入る


参考

*公式っぽい資料
https://miniconf.debian.or.jp/assets/files/Debian%20Installer%20for%20Buffalo%20Linkstation%20NAS.pdf

*LinkStation LS-XHL(またはLS-CHL)にDebianをインストール https://wv4short.com/installing_debian_8_to_linkstation_ls-xhl_part1/

*LinkStation/玄箱をハックしよう http://www.yamasita.jp/linkstation/index.html

*ハックサイトまとめ http://wiki.nothing.sh/page/BUFFALO%20Hack/%BB%B2%B9%CD%A5%B5%A5%A4%A5%C8

*LinkStation LS-CHLシリーズのHDD交換 https://kumasan114.blog.fc2.com/blog-entry-655.html

Wineのインストール

環境

Ubuntu 16.04 64bit

方法

64bit OSなので32bitアーキテクチャを有効にする

sudo dpkg --add-architecture i386 

リポジトリキーを追加する

wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key

リポジトリを追加する

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' 

アップデートする

sudo apt update

インストールする

sudo apt install --install-recommends winehq-stable

Winetricksのインストール

sudo apt install winetricks

Winetricksをアプリ一覧から起動する
"Select the default wineprefix" > "OK"
"Install a Windows DLL or component" > "OK"

フォントをインストールしようとしてsha1sumのエラーが出るとき

フォントのファイルがなぜか0byteになっているので置き換える
"Select the default wineprefix" > "OK"
"Install a font" > "OK"
"all fonts" > "OK"
~/.cache/winetricks/takao/takao-fonts-ttf-003.02.01.zipの https://launchpad.net/takao-fonts/+milestone/003.02.01をダウンロードして置き換える

ttf-baekmuk_2.2.orig.tar.gz https://launchpad.net/ubuntu/+source/ttf-baekmuk/2.2-3

PowerPointViewer.exe https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe/download

文字化け

/usr/share/fontsのなかの.ttfファイルを全てコピー
~/.wine/drive_c/windows/Fontsにペースト

まだ直してないエラー

0009:fixme:win:EnumDisplayDevicesW ((null),0,0x315154,0x00000000), stub!
0009:fixme:win:WINNLSEnableIME hwnd (nil) enable 0: stub!
0009:fixme:dpnet:IDirectPlay8PeerImpl_Host (0x178080)->(0x315400,0x10011c18,1,(nil),(nil),(nil),0): stub
0009:fixme:imm:ImeHandleNotify WM_IME_NOTIFY:IMN_SETCOMPOSITIONWINDOW
0009:fixme:d3d:state_zenable W buffer is not well handled

参考

https://wiki.winehq.org/Ubuntu

スクリーンショットとファイルシステムを読み込み専用で再マウント

Ubuntuでウィンドウ1つのスクリーンショットを撮るとき、いつもスクリーンショットが撮れなくなっていてもう諦めていた。ファイルシステムがRead Onlyになってスクリーンショットが保存できなくなるので仕方なく毎回パソコンを再起動していた。Ubuntuのバグがと思っていろいろ調べたけど何もそれらしい情報が出てこない。18.04にアップグレードすれば直るのではとか思いながらそんな状態を半年以上放置していた。

使用しているOSはUbuntu 16.04、キーボードはHHKB Lite。さらにキーボードをなんとなく真っ黒にペイントして印刷してある文字は見られない。配置は手が大体覚えているけれど、ファンクションキーとの組み合わせなどは適当に当たるまでその辺のキーを連打していた。

HHKBでスクリーンショットを撮るときのショートカットはAlt+Fn(Function)+PSc(Print Screen)の3つを押す必要がある。PScキーはIキーと同じなのだけれど正確に覚えていなかったのでYキーあたりかと思い、Alt+Fnを押しながら毎回Y、U、Iキーあたりを押していた。

今日HDDのパーティションを分けている時に同じRead Onlyになる現象が起きてパソコンを再起動した時におもむろにAlt+UとかにファイルシステムがRead Onlyになるショートカットでも振られているのではと思って調べたらまさに

Alt+SysRq+U : ファイルシステムを読み込み専用で再マウント

と出てきて驚いた。 SysRqとは何かと調べてみたら「マジックSysRqキー※」というもので、HHKBだけか分からないけれど運が悪いことにPScキーと同じキーに「PSc/SRq」と書かれている。 いつも適当にAlt+Fnを押したままU、Y、I、あたりを押していたのでAlt+Fn+I(=Alt+SysRq)→Alt+Fn+Uとなって読み込み専用になっていたらしい。Alt+Fn+Iが正しいので最初にスクリーンショットが撮れるはずだだと思うけれどカシャッと音がするまで少しラグがあるのでいろいろ連打していたのも運が悪かった。

やっと原因がわかったので正確にPScキーを覚えてもう間違えないようにしたら失敗することなくスクリーンショットが撮れるようになった。 原因が分かるまでとても長かった。でもUbuntuが嫌いになってWindowsに戻らなくて良かった。



【参考】
※マジックSysRqキー
Linuxカーネルでシステム状態に関する低レベルコマンドを発行するキーシーケンスである。 マジックSysRqキー - Wikipedia


ショートカット 備考
Alt+SysRq+R キーボードをrawモードからXLATEモードへ切り替え
Alt+SysRq+E 全てのプロセスを終了
Alt+SysRq+I 全てのプロセスを強制終了
Alt+SysRq+S ファイルシステムをsync
Alt+SysRq+U ファイルシステムを読み込み専用で再マウント
Alt+SysRq+B 再起動

Linuxmania: キーボードショートカット集(Fedora,Ubuntu,CentOS)

ブラウザの検索バーでUbuntuのファイルが見られる

Ubuntuでおもむろに検索しようとしてファイルパスをFirefoxの検索バーに入力したら、ファイルの中が見られて驚いた。
こんな機能あったこと知らなかった。
例えば

/proc/acpi/wakeup

を検索バーに入力すると

Device   S-state   Status   Sysfs node
PS2K      S3    *enabled   pnp:00:05
PS2M      S3    *disabled
RP01      S4    *disabled  pci:0000:00:1c.0
PXSX      S4    *disabled
RP02      S4    *disabled

のように表示される。

UbuntuにVisual Studio Codeをインストール

○環境

Ubuntu 16.04 LTS


Visual Studio Code

.deb 64 bitを適当なフォルダにダウンロード
ダウンロードしたファイル:code_1.27.2-1536736588_amd64
code.visualstudio.com


○方法

コマンド2つ実行するのみ

sudo dpkg -i code_1.27.2-1536736588_amd64.deb
sudo apt-get install -f # Install dependencies

このdebパッケージをインストールするだけで、自動アップデートを行うaptリポジトリとsigning keyもインストールされる

マニュアルでリポジトリとsigning keyをインストールするには以下のスクリプトを実行する

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

続いてパッケージキャッシュのアップデートとパッケージのインストールは以下のコマンドを実行する

sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install code # or code-insiders

○インストールしたエクステンション

C/C++ for Visual Studio Code
marketplace.visualstudio.com

Python
marketplace.visualstudio.com


○参考

code.visualstudio.com