Lynxbee topic

Ubuntu

TFTP Client Setup on Ubuntu: Install, Configure, and Transfer Files

TFTP is a lightweight UDP-based file transfer protocol used for booting devices, flashing firmware, and transferring files to routers, embedded devices, and switches. It's ideal when devices have limited resources or you need to push firmware or config during boot, at the cost of no authentication o

Install Inkscape on Ubuntu Linux

Inkscape is a free and open-source vector graphics editor for creating scalable, high-quality designs (SVG, PNG, EPS, PDF, AI). Ubuntu users can install it via APT, Snap, or Flatpak.

Record the Ubuntu Desktop to Video Files

Recording screencasts on Ubuntu can be done using native GNOME desktop keybindings or third-party Linux utilities. Depending on whether you need a quick short clip or a full video tutorial with microphone audio, Ubuntu offers built-in tools as well as dedicated recording software.

Upgrade Ubuntu Server or Desktop from the Command Line

Upgrading your Ubuntu installation upgrades system packages, kernel versions, and security patches to the next release. The canonical tool for performing version upgrades from the terminal is do-release-upgrade , which safely updates package repositories, handles dependencies, and cleans up obsolet

Fix dpkg Dependency Errors on Ubuntu Safely

Prefer `apt install ./package.deb` so Ubuntu can resolve repository dependencies in one transaction. If `dpkg -i` already left packages unpacked or unconfigured, diagnose the exact state, repair it without blind removals, and verify the package database.

Convert AVI to MP4 with HandBrake on Ubuntu

A practical Ubuntu workflow for turning AVI and other supported sources into broadly compatible MP4 video. Use HandBrake’s official Flatpak, choose a preset intentionally, protect the source, and verify video, audio, subtitles, and playback.

Build and Use libusb on Ubuntu Linux

Use Ubuntu’s libusb development package for ordinary application builds, or compile a reviewed upstream release into an isolated prefix when you need a newer or controlled version. Then verify the complete toolchain with pkg-config and a real USB device-enumeration program.

Install MySQL Workbench on Ubuntu Safely

Install Oracle’s current MySQL Workbench build on a supported Ubuntu release through the official MySQL APT repository. This guide replaces an obsolete Ubuntu 20.04 package recipe and shows how to verify the source, launch Workbench, and create a secure connection.

Discover mDNS and DNS-SD Services on Linux

Use mdns-scan for a quick inventory of DNS-SD service types, then use Avahi to resolve actual instances, hosts, ports, and TXT metadata. This guide also explains the multicast boundary and why discovery commonly fails across Wi-Fi isolation, VLANs, containers, and firewalls.

Build the Flutter Engine on Ubuntu

Flutter engine work is not the same as ordinary Flutter app development. This setup checks out the current monorepo, synchronizes its pinned toolchains, builds a debuggable host engine, and connects it to a local Flutter app.

Fix apt Stuck at 0% Connecting on Ubuntu

When apt pauses at “0% Connecting,” the last displayed address is evidence, not a diagnosis. Determine whether DNS, IPv6 routing, IPv4 routing, a proxy, TLS, a captive portal, the selected mirror, or an unsupported Ubuntu release is failing before changing system-wide address selection.

Hear Your Microphone Through Speakers on Linux

Create a temporary audio loopback from a named microphone source to a named speaker or headphone sink using pactl. Start at a conservative volume and latency, save the returned module ID, unload that module to stop monitoring, and control acoustic feedback before turning anything up.

Fix dpkg and apt Lock Errors Safely

An apt or dpkg lock usually means another package operation is already protecting the package database. Do not delete the lock file. Identify the owner, let healthy updates finish, terminate only a genuinely frozen frontend, then complete pending configuration and dependency repair.

Fix curl/curl.h Missing on Ubuntu C Builds

The `curl` command is not the libcurl development kit. Current Ubuntu builds normally need `libcurl4-openssl-dev`, which supplies headers and build metadata. Use pkg-config or CMake’s CURL target so transitive link flags and non-default installation paths remain correct.

Fix openssl/ssl.h Missing on Ubuntu Builds

The OpenSSL command and runtime library are not enough to compile C/C++ code. Ubuntu puts headers, unversioned linker files, and pkg-config metadata in `libssl-dev`. Install it for the correct architecture, then let pkg-config or CMake supply paths instead of hard-coding `/usr/include`.

Set a Static IP on Ubuntu Without Losing Access

A stable address is usually safest as a DHCP reservation. When the host itself must own a static address, identify the active renderer, choose an address outside the dynamic pool, validate Netplan syntax, use rollback-capable apply, and verify link, route, DNS, and remote access separately.

Protect Apache with Basic Auth on Ubuntu

HTTP Basic authentication can place a small, auditable username/password gate in front of an Apache directory. Use it only over HTTPS, keep the password file outside the document root, validate configuration before reload, and test both unauthorized and authorized paths without exposing credentials.

Set Up Flutter on Ubuntu and Read flutter doctor

Build a reliable Flutter development environment on Ubuntu, then prove each layer works. This setup covers the Flutter SDK, Android toolchain, licenses, emulator or USB device, a real test app, and the difference between required and optional flutter doctor checks.

Run OpenGrok Code Search on Ubuntu

The old Java 8, Tomcat 8, and Snap ctags recipe no longer matches OpenGrok’s requirements. This deployment uses the maintained official container, pins a release, keeps source read-only, persists index data, binds locally, and explains indexing and upgrades.

Fix “sudo: unable to resolve host” on Ubuntu

This warning usually means the machine’s active hostname no longer resolves through its configured Name Service Switch sources. Diagnose the exact name first, correct `/etc/hosts` or hostname configuration safely, and verify through `getent` before changing DNS.

Shuffle Music from the Ubuntu Command Line

For a trusted local music folder, mpv can recurse and shuffle it directly. This article also preserves the MPlayer workflow, fixes fragile filename handling, shows reusable playlists, and explains playback controls and audio troubleshooting.

Engineering weekly

Useful technical knowledge, not inbox noise.

Receive verified fixes, references, labs, and tools. Confirm by email; unsubscribe any time.