Vous consultez actuellement le France version du site.
Voulez-vous passer à votre site local ?
26 TEMPS DE LECTURE MIN

Ubuntu

LIGHTSPEED UBUNTU

Fitness guru Jonni Bidwell is here to trim down your Ubuntu installations for summer. Not a single star jump required.

CREDIT: Magictorch

Canonical’s latest version of Ubuntu (23.04) hit the mirrors back in April. And if you like to live on the edge, you might well already be running it. It’s an intermediate release (with only nine months of support as opposed to the five years provided to major releases), so if you’re running the last LTS release (22.04), you may well prefer to stick with that. Either way, we’re going to take this opportunity to look at how you can streamline and slimline your Ubuntu install.

We’ll start by swapping Gnome for a lighter desktop environment, such as Xfce or LXQt. If you’re running Ubuntu Server, this probably won’t be of much interest, as you’re likely already running the lightest desktop possible (ie none). So if you’d like to run Ubuntu Server, though, either at home or in the cloud. It’s a great way to make use of an old machine or cheap virtual private server (VPS), so we’ll look at setting that up and reducing its memory footprint.

Finally, we’ll combine the two tactics and explain how to run a remote desktop so smoothly you wouldn’t know it was remote. Except you would, ’cos we told you. Anyway, it works with Microsoft’s Remote Desktop Protocol (RDP) or the more traditional VNC. And it’s a good excuse for us to show off what’s new in the latest Ubuntu and to augur what might be coming in future versions.

Ubuntu Large Lobster

owards the end of the halcyon era of the LXFDVD, we started to get concerned. And not T just because of the growing threat of global annihilation (which, in hindsight, was much tamer in 2020 than it is now). No, rather by the growing sizes of the Desktop Ubuntu ISO images. In days of yore, we’d never hesitate to include a new Ubuntu release on the DVD, but where not so long ago they were around 2GB (less than half of the space on our optical media), the last LTS release weighed in at a hefty 3.4GB.

It’s not fair to dismiss all this as bloat. As the kernel supports ever more hardware, it grows out of necessity. Additional firmware is required, too. In general, it would be silly to expect individual package sizes to do anything but increase over time. And naturally to pull in more and more dependencies as they evolve. Love ’em or hate ’em, the inclusion of Snaps (Canonical’s preferred package format) have increased Ubuntu’s footprint quite markedly as well. It will come as no surprise, then, that the latest ISO is larger still – around 4.5GiB (or 4.8GB). Making it too bulky for a regular LXFDVD, if that were still at thing.

The selection of GUI applications included in a default install is already pretty minimal. And if you really don’t want LibreOffice and media players (placing you firmly in a minority camp), the Minimal Install option has been available since 18.04. This shaves around half a gigabyte off the standard install size (which we carefully measured to be 11GB in the latest Ubuntu 23.04). New in Lunar Lobster is an official mini ISO, which is only 140MB. This includes not much besides a network installer, which gives you a menu enabling you to select the latest interim or LTS release in either Desktop or Server form. So, it’s a convenience (you don’t have to make lots of different install media) rather than a way of minifying your install. What’s interesting is that it downloads those ISOs into memory and chainloads them, circumventing the time taken to write the full ISOs to USB.

Here’s our fresh install of the flagship Gnome release of Ubuntu 23.04. It’s not bloated, but we can do better.

Two years of Wayland

Wayland has been the default display server in the flagship Ubuntu flavour since 21.04. These days, the Gnome/Wayland combination is considered fine (even on Nvidia hardware). Wayland is included in Kubuntu (although it’s not the default) and is not supported by Xfce (and hence Xubuntu) or Xfwm (and hence Lubuntu). Wayland is touted as being lighter and leaner than creaky old X.Org. Any Wayland desktop includes its own X compositor in the form of XWayland, so one might argue that the lighter setup (until XWayland is really no longer required) is to stick with X.Org (or have no GUI at all). New in this release is the use of PipeWire by default. All the flavours have adopted this change and it’s hoped that it’ll solve long-standing problems with PulseAudio and Bluetooth headsets.

NEW INSTALLER

One of the most visible new features in the Desktop edition of Ubuntu 23.04 is the installer. It uses Google’s Flutter toolkit, so looks much slicker than Ubiquity, its predecessor. Under the hood it uses Subiquity, the command-line installer used by Ubuntu Server. During installation, you can replace the nice slideshow with the Subiquity logs and see exactly what it’s doing.

The partitioning tool has seen major improvements, too, so there shouldn’t be any need to pre-partition your drive with Gparted if you’re planning to dual boot or have other exotic disk setups. We still recommend, perhaps out of an abundance of caution, using Windows to do this if you’re dual booting with Windows, though.

During early release, there was a number of bugs in the installer, some of which meant people ended up with incomplete installations. These have been fixed, but if you do run into problems, you can download an image with the legacy desktop installer from the download page.

Débloquez cet article et bien plus encore avec
Vous pouvez en profiter :
Découvrez l'intégralité de cette édition
Accès instantané à plus de 600 titres
Des milliers d'anciens numéros
Pas de contrat ni d'engagement
Essayer pour €1.09
S'ABONNER
30 jours d'accès, puis seulement €11,99 / mois. Résiliation à tout moment. Nouveaux abonnés uniquement.


En savoir plus
Pocketmags Plus
Pocketmags Plus

Cet article est tiré de...


View Issues
Linux Format
July 2023
VOIR EN MAGASIN

Autres articles dans ce numéro


Linux Format
Linux Format
Future Publishing Limited, Quay House, The Ambury, Bath,
WELCOME
MEET THE TEAM
We’re trying to keep things light this issue, so what’s your top tip for making something run faster or use less memory?
Keep it light
It’s fascinating to read the constant online forum
REGULARS AT A GLANCE
Newsdesk
THIS ISSUE: Art apps get touch-ups HDR Hackfest hopes KeePassXC passes test Ghostly chicken haunts AMD CPUs
It’s a wrap on HDR Hackfest
Exciting plans are in motion after the 2023 HDR Hackfest in Prague. Simon Ser shares his hopes.
KeePassXC passes audit
Independent security consultant was impressed.
NOT END OF LIFE
Joe Brockmeier is head of community, Percona.
KERNEL KUDOS
Muhammad Usama Anjum is a software developer at Collabora.
AMD haunted by spectral chicken
Kernel code is hen-pecked.
X.Org cleanup
Certain X.Org packages are retired and now archive-only.
Linus commits
Torvalds explains his changes to the Linux kernel.
Distro watch
What’s behind the free software sofa?
IN EURO WE TRUST
Italo Vignoli is one of founders of LibreOffice and The Document Foundation.
BUG OUT
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters keeps up with all the latest happenings in the Linux kernel, so you don’t have to.
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to answers@linuxformat.com your Intel branch prediction.
Mailserver
WRITE TO US Do you have a burning
HotPicks
THE BEST NEW OPEN SOURCE SOFTWARE ON THE PLANET
REVIEWS
Adata Legend 960 Max
Heatsinks make everything better, even Shane Downing.
Nvidia RTX 4070
Put that foreign holiday on hold, shouts Dave James, it’s time to invest in a shiny new graphics card instead!
Tiny Core Linux 14.0
Hold on tight as Nate Drake dares to embark on a white-knuckle ride on the stripped-down Tiny Core Linux!
Lubuntu 23.04
Nate Drake samples the lighter flavour of Ubuntu and has brought enough to share.
MidnightBSD 3.0.0
Nate Drake almost gets lost in the labyrinth that is MidnightBSD – a surprising open source alternative to Linux.
ROUNDUP
Kotlin Go Rust Python C++
The Verdict
Beginner coding languages
Pi USER
It’s artificial not human intelligence
The Pi Foundation outlines its approach to teaching AI to young learners.
Micropython 1.20
Supports the Pico!
More GPIO!
Same old SOC.
YOUR JAMMY EVENT HERE!
Les Pounder works with groups such as the
Ubuntu 23.04 Beta
Les Pounder loves the B-52s’ ‘Rock Lobster’ but will he find Ubuntu 23.04 Lunar Lobster also rocks or is just a bit rocky?
Creality CR-M4
“Look at the size of that thing!” cries Denise Bertacchi, but this 3D printer from Creality is certainly no moon.
Setting up virtual Python environments
Les Pounder enjoys dancing to Jamiroquai’s ‘Virtual Insanity’, but much prefers losing himself in Python’s virtual environments.
Eye spy with my little Pi API…
Tam Hanna uses the new Raspberry Pi Camera API and Microsoft Azure to create a machine that can classify things.
IN DEPTH
Join the Pod, Man!
Aaron Peters, unabashed container newbie, explores the Podman management application and why you might pick it over Docker.
Stay on top of your to-do list
If creating to-do lists were an Olympic event, Shashank Sharma would be a winner, seeing as how his just keep on growing.
Search desktop file contents instantly
Super-sleuth Nick Peers reveals how to find any file by searching its contents as well as filenames with the help of Recoll.
Climbing the ALPs
Piling survival essentials such as containers, Btrfs and KVM into his backpack, Matt Holder sets out to conquer OpenSUSE’s latest technological answer to immutable OSes.
TUTORIALS
LISP - exploring the original AI language
Discover one of the first programming languages, which Mike Bedford realises couldn’t have been more different from its early stablemates.
Creating better documents in AsciiDoc
Making well-formatted documents is a snap for Karsten Günther because he’s learnt how to use a metaformat – and now you can, too.
Master Linux VM creation in Azure
Swallowing his pride, Stuart Burns tests out what Microsoft has to offer for Linux servers in its Azure cloud.
Kicking your music ’80s Amiga-style
Musical Michael Reed shows you how to create an Amigastyle tracker tune using modern open source Linux software.
CODING ACADEMY
Generate and then solve mazes with C
David Bolton demonstrates how a Raspberry Pi can create mazes in C/SDL and then solve them with animations.
Spice up your Python console applications
Matt Holder demonstrates how to use the Python Rich library to add formatting to your console applications.
Chat
X
Support Pocketmags