Wine 10.0 Release Brings New Drivers, Features & Changes

3 months 2 weeks ago

A fresh stable release of Wine — the open-source compatibility layer that makes it possible to run Windows apps and games on Linux and macOS — has been uncorked. More than 6,000 thousand changes were distilled in Wine 10.0, changes collected, collated, and curated over the past 12 months of Wine 9.x development releases. For those who’ve supped the dev cycle builds, the bulk of what’s new in Wine 10.0 will be familiar. Wine is not the ‘everyday essential’ it was in years past. Back then, web-based services weren’t as capable, so folks were wedded to specific pieces of Windows software, […]

You're reading Wine 10.0 Release Brings New Drivers, Features & Changes, a blog post from OMG! Ubuntu. Do not reproduce elsewhere without permission.

Joey Sneddon

Efficient Text Processing in Linux: Awk, Cut, Paste

3 months 2 weeks ago
by George Whittaker Introduction

In the world of Linux, the command line is an incredibly powerful tool for managing and manipulating data. One of the most common tasks that Linux users face is processing and extracting information from text files. Whether it's log files, configuration files, or even data dumps, text processing tools allow users to handle these files efficiently and effectively.

Three of the most fundamental and versatile text-processing commands in Linux are awk, cut, and paste. These tools enable you to extract, modify, and combine data in a way that’s quick and highly customizable. While each of these tools has a distinct role, together they offer a robust toolkit for handling various types of text-based data. In this article, we will explore each of these tools, showcasing their capabilities and providing examples of how they can be used in day-to-day tasks.

The cut Command

The cut command is one of the simplest yet most useful text-processing tools in Linux. It allows users to extract sections from each line of input, based on delimiters or character positions. Whether you're working with tab-delimited data, CSV files, or any structured text data, cut can help you quickly extract specific fields or columns.

Definition and Purpose

The purpose of cut is to enable users to cut out specific parts of a file. It's highly useful for dealing with structured text like CSVs, where each line represents a record and the fields are separated by a delimiter (e.g., a comma or tab).

Basic Syntax and Usage

cut -d [delimiter] -f [fields] [file]

  • -d [delimiter]: This option specifies the delimiter, which is the character that separates fields in the text. By default, cut treats tabs as the delimiter.
  • -f [fields]: This option is used to specify which fields you want to extract. Fields are numbered starting from 1.
  • [file]: The name of the file you want to process.
Examples of Common Use Cases
  1. Extracting columns from a CSV file

Suppose you have a CSV file called data.csv with the following content:

Name,Age,Location Alice,30,New York Bob,25,San Francisco Charlie,35,Boston

To extract the "Name" and "Location" columns, you would use:

cut -d ',' -f 1,3 data.csv

This will output:

Name,Location Alice,New York Bob,San Francisco Charlie,Boston

Go to Full Article
George Whittaker

Ubuntu Devs Debate Moving from IRC to Matrix

3 months 2 weeks ago

Ubuntu is mulling a switch to Matrix from IRC to handle real-time development discussion. Canonical’s Robie Basak has begun a discussion on the Ubuntu Developer Mailing list regarding a potential switch, in an effort to find consensus for or against such a move. But he urges devs in favour not to abandon Ubuntu IRC channels just yet. “First let’s discuss, and if we decide to move, then we can pick a date to move the “official” place for realtime Ubuntu developer conversation,” he writes. If Ubuntu’s development discussions — that is, discussions between approved Ubuntu developers, Canonical engineers, etc — […]

You're reading Ubuntu Devs Debate Moving from IRC to Matrix, a blog post from OMG! Ubuntu. Do not reproduce elsewhere without permission.

Joey Sneddon

Refine (Advanced GNOME Settings Apps) Adds More Options

3 months 2 weeks ago

A clutch of new customisation and configuration options were added to Refine, a GTK4/libadwaita app in the vein of GNOME Tweaks (but better), over the weekend. Refine is compelling due to its goal of offering the “convenience to add or remove options without touching a single line of source code” — though for a GUI option to exist it must be hooking into a variable within GNOME, i.e., it can’t magic up a toggle to make it rain glitter! A brief bit of turbulence ensnared those attempting to run the tool on Ubuntu after I covered it in early January […]

You're reading Refine (Advanced GNOME Settings Apps) Adds More Options, a blog post from OMG! Ubuntu. Do not reproduce elsewhere without permission.

Joey Sneddon

Linux Kernel 6.13 Released with Big Changes

3 months 2 weeks ago

The first new kernel release of the year has arrived — yes, Linux 6.13 has gone stable. Linux kernel 6.13 adds, as ever, a vast array of improvements, from an updated Raspberry Pi graphics driver promising speed gains, to lazy preemption logic, expanded Rust support and new drivers for a host of hardware, peripherals and digital doohickeys. Plus, as with all new kernel releases there’s ongoing work to support new and upcoming CPUs and GPUs from industry titans Intel and AMD. Linus Torvalds quietly confirmed the Linux 6.13 release in an email to the Linux Kernel Mailing List (LKML), noting that as […]

You're reading Linux Kernel 6.13 Released with Big Changes, a blog post from OMG! Ubuntu. Do not reproduce elsewhere without permission.

Joey Sneddon

How to Configure Network Interfaces with Netplan on Ubuntu

3 months 3 weeks ago
by George Whittaker

Netplan is a modern network configuration tool introduced in Ubuntu 17.10 and later adopted as the default for managing network interfaces in Ubuntu 18.04 and beyond. With its YAML-based configuration files, Netplan simplifies the process of managing complex network setups, providing a seamless interface to underlying tools like systemd-networkd and NetworkManager.

In this guide, we’ll walk you through the process of configuring network interfaces using Netplan, from understanding its core concepts to troubleshooting potential issues. By the end, you’ll be equipped to handle basic and advanced network configurations on Ubuntu systems.

Understanding Netplan

Netplan serves as a unified tool for network configuration, allowing administrators to manage networks using declarative YAML files. These configurations are applied by renderers like:

  • systemd-networkd: Ideal for server environments.

  • NetworkManager: Commonly used in desktop setups.

The key benefits of Netplan include:

  1. Simplicity: YAML-based syntax reduces complexity.

  2. Consistency: A single configuration file for all interfaces.

  3. Flexibility: Supports both simple and advanced networking scenarios like VLANs and bridges.

Prerequisites

Before diving into Netplan, ensure you have the following:

  • A supported Ubuntu system (18.04 or later).

  • Administrative privileges (sudo access).

  • Basic knowledge of network interfaces and YAML syntax.

Locating Netplan Configuration Files

Netplan configuration files are stored in /etc/netplan/. These files typically end with the .yaml extension and may include filenames like 01-netcfg.yaml or 50-cloud-init.yaml.

Important Tips:
  • Backup existing configurations: Before making changes, create a backup with the command:

    sudo cp /etc/netplan/01-netcfg.yaml /etc/netplan/01-netcfg.yaml.bak
  • YAML Syntax Rules: YAML is indentation-sensitive. Always use spaces (not tabs) for indentation.

Configuring Network Interfaces with Netplan

Here’s how you can configure different types of network interfaces using Netplan.

Step 1: Identify Network Interfaces

Before modifying configurations, identify available network interfaces using:

Go to Full Article
George Whittaker

Linux Mint 22.1 Released, This is What’s New

3 months 3 weeks ago

A major new release of Linux Mint is now available to download. Linux Mint 22.1 is the first update in the Linux Mint 22.x series and, like that version, is built on top of Ubuntu 24.04 LTS and uses Linux Kernel 6.8 (though the distro plans to release newer kernel updates more often by opting-in to the Ubuntu HWE). Being based on Ubuntu 24.04 LTS means Linux Mint 22.1 receives on-going updates until July 2029. Though it features few foundational changes, Linux Mint 22.1 brings improvements to what sits on top – a new version of the Cinnamon desktop, Wayland-friendly features, new […]

You're reading Linux Mint 22.1 Released, This is What’s New, a blog post from OMG! Ubuntu. Do not reproduce elsewhere without permission.

Joey Sneddon