Ben Chuanlong Du's Blog

It is never too late to learn.

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 …

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 …

Install the Latest JDK on Mac

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

You can install the latest version of JDK using the following command.

brew install --cask temurin

For more details, please refer to chat with Gemini .

Desktop Environments for Linux

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

  1. desktop files in /usr/share/applications/ different DEs might have different format. At least I know that a desktop file created by Xfce cannot be used in GNOME, not sure the …

Tips on Linux

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

Tricks and Traps

  1. Use full paths of commands when you use a batch account or schedule a cron job. The reason is that batch account and/or cron might have different …

Tips on macOS

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

  1. Print Mac OS X operating system version information.

    sw_vers -productName
    
  2. You can use Homebrew to install applications in Mac similar to the command apt-get or wajig in Debian series of Linux …