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 …

Tips on Multipass

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

Multipass vs LXD

  1. LXD supports both containers and VMs while multipass supports only (Ubuntu) VMs.

  2. LXD is more lightweight compared to multipass.

  3. LXD does not require CPU virtualization while multipass relies …

Install the Latest Version of Software on Ubuntu

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

Using PPA

Using snap

The snap version of a software is usually more up-to-date than the version installed using apt-get. For example, NevoVim (installed using apt-get) on Ubuntu 20.04 is …