Fading Coder

One Final Commit for the Last Sprint

Understanding the Command: update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 60

The update-alternatives utility is a standard tool in Debian-based Linux distributions (like Ubuntu) that manages multiple versions of programs providing the same functionality. It uses symbolic links and priority values to determine which version should be used by default when a command is invoked....

Automated Debian Mirror Performance Testing Suite

The following Bash utility performs multi-dimensional analysis of Debian package repository performance, measuring TCP handshake latency, total transfer time, and HTTP throughput across multiple geographic endpoints. #!/bin/bash # Multi-metric benchmark for Debian repository selection # Evaluates en...

Fix dpkg warnings about missing files list for packages

When apt/dpkg reports messages like "files list file for package … missing; assuming package has no files currently installed", it usually means the package’s .list metadata under /var/lib/dpkg/info is gone. The safest fix is to reinstall the affected packages. Below is a small workflow an...

Upgrade CMake on Ubuntu/Debian: Install a Newer Release and Fix Common Build Errors

When a project fails with "CMake 3.8 or higher is required" (or similar), your system’s CMake is too old. Below are two ways to install a newer CMake and how to resolve common issues during the process. 1. Check the current CMake version cmake --version 2. Remove the distribution CMake (op...