Ben Chuanlong Du's Blog

It is never too late to learn.

Package Management for Debian and Ubuntu

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  • dpkg: low-level (without deps manageent)
  • apt-get (and apt-*): low-level (with deps management)
  • apt: user friendly
  • aptitude: even more user friendly
  • ~~wajig~~: use apt or aptitude instead

Overall, apt and aptitude are …

Package Management in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There are many different ways to install packages in Linux.

  1. Build from source.

  2. Pre-built binaries.

  3. Use distribution specific tools. For example,

    Notice that Atomic Linux distributions …

Transform Text Using sed

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Alternatives

  1. sad is a simpler alternative to sed. sad is implemented in Rust and has built-in integration of fzf, which makes it easy to visually inspect changes.

  2. For complicated text substitutions …

Linux Administrator Tools

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. BCC is a toolkit for creating efficient kernel tracing and manipulation programs leveraging extended Berkeley Packet Filters (eBPF).

  2. webmin, cloudmin, usermin

  3. id, adduser, gpasswd (recommended for adding/removing groups)

  4. RustNet, uptime …

Dual Boot Linux and Windows

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

I personally don't see much value in dual booting Linux and Windows. Please refer to Windows Emulation on Linux if you need to run Windows apps on Linux.

Mount the Windows …