W E N 2020 ANNUAL UBUNTU 0 8 1 MINT ARCH LINUX PAGES OF EXPERT KAOS TUTORIALS & AND MANY MORE! MUST-READ FEATURES ln a o t i it g i d i D E E 3 UM ALL THE BEST CONTENT FROM THE NO.1 LINUX MAGAZINE OL V 2020 annual Welcome to the Linux Format Annual 2020. From the hottest distros to the best ways to tweak them, these pages are replete with everything a Linux fan needs. Whether you’re taking your first few steps in escaping Windows or you’re an expert user who wants to get more from their open source system, you’ll find everything you need inside. Learn how to toughen up user-friendly distro Mint, explore encryption, secure your cloud storage, lock down your desktop and much more. Plus, check out a host of fun coding and maker projects, from building virtual machines to exploring quantum computing. We’ve even rounded up the best open source toolkit to help you do whatever you want, whenever you want to. 2020 annual Future PLC Richmond House, 33 Richmond Hill, Bournemouth, Dorset, BH2 6EZ Editorial Editor April Madden Art Editor Efrain Hernandez-Mendoza Editorial Director Jon White Senior Art Editor Andy Downes Linux Format Editorial Editor Neil Mohr Designer Efrain Hernandez-Mendoza Group Editor in Chief Graham Barlow Senior Art Editor Jo Gulliver Cover image Magictorch All copyrights and trademarks are recognised and respected Advertising Media packs are available on request Commercial Director Clare Dove [email protected] International Head of Print Licensing Rachel Shaw [email protected] Circulation Head of Newstrade Tim Mathers Production Head of Production Mark Constance Production Project Manager Clare Scott Advertising Production Manager Joanne Crosby Digital Editions Controller Jason Hudson Production Managers Keely Miller, Nola Cokely, Vivienne Calvert, Fran Twentyman Management Chief Content Officer Aaron Asadi Commercial Finance Director Dan Jotcham Head of Art & Design Greg Whitaker Printed by William Gibbons, 26 Planetary Road, Willenhall, West Midlands, WV13 3XT Distributed by Marketforce, 5 Churchill Place, Canary Wharf, London, E14 5HU www. marketforce.co.uk Tel: 0203 787 9001 Linux Format Annual 2020 © 2019 Future Publishing Limited We are committed to only using magazine paper which is derived from responsibly managed, certified forestry and chlorine-free manufacture. The paper in this magazine was sourced and produced from sustainable managed forests, conforming to strict environmental and socioeconomic standards. The manufacturing paper mill and printer hold full FSC and PEFC certification and accreditation. All contents © 2019 Future Publishing Limited or published under licence. All rights reserved. No part of this magazine may be used, stored, transmitted or reproduced in any way without the prior written permission of the publisher. Future Publishing Limited (company number 2008885) is registered in England and Wales. Registered office: Quay House, The Ambury, Bath BA1 1UA. All information contained in this publication is for information only and is, as far as we are aware, correct at the time of going to press. Future cannot accept any responsibility for errors or inaccuracies in such information. You are advised to contact manufacturers and retailers directly with regard to the price of products/services referred to in this publication. Apps and websites mentioned in this publication are not under our control. We are not responsible for their contents or any other changes or updates to them. This magazine is fully independent and not affiliated in any way with the companies mentioned herein. Future plc is a public company Chief executive Zillah Byng-Thorne quoted on the London Stock Non-executive chairman Richard Huntingford Exchange Chief financial officer Penny Ladkin-Brand (symbol: FUTR) www.futureplc.com Tel +44 (0)1225 442 244 Part of the bookazine series 2020 annual Essentials Get to know Linux and the many astonishing things you can do with it 10 Hot distros 54 Speed testing storage What’s the best Linux for you? What’s the fastest file system? 18 Mint 19 powered 58 Flatpack Get the most from Linux Mint Just what can you do with containers? 26 Escape Windows 62 Systems tracing in Linux just Run away from Redmond got better Find out how 34 Smart pattern matching Search for patterns with grep 66 Working in the terminal using plain English 36 Automate office tasks Use natural language in the terminal Script repetitive actions in Libre Office 40 Set up an email server Set up your own self-hosted server 44 Get to grips with file navigation Learn about structure 46 Forecast the weather l Who needs a GUI? 48 PowerShell vs grep Windows technology on Linux?! 10 52 Managing your tasks and calendar Organise everything from the terminal 6 Linux Format Annual 2020 Contents Privacy & Security Take back control – stop snoopers and hackers from ruining your Linux 70 Hacker secrets Tools of the trade 78 Harden Mint 19.1 Make Linux Mint stand up to anything 86 Encrypted cloud storage free Secure online storage with no fee 144 Safer browsers Lock down leaks and manage memory 94 Escape the cloud Lock down your data 126 102 Build a secure Nextcloud instance Make a self-hosted LAMP stack Projects 106 Restrict user access Reduce what users can do in your distro Get inspired – start building and making with a fistful of projects 108 Keep your desktop safe and secure Keep system security tight 126 Virtualisation Run Linux any time, any place, anywhere... 112 Monitoring users and admins What are your super users up to? 136 Quantum computing Learn what it is and how to get started 116 Create secret and secure web servers Hide your data 140 Build your own plugins Extend the functionality of WordPress 120 Guide to cryptography Behind the scenes with encryption 144 Learn to encode video faster & better Master tools and techniques 148 Create 3D photos You don’t need special equipment 152 The best maker projects Time to get hands-on 162 Create your own jukebox Set up your own touchscreen music player 164 The ultimate open source toolkit All the FOSS you’ll ever need 70 Linux Format Annual 2020 7 2020 annual Essentials Tools and techniques 10 Hot distros What’s the best flavour of Linux for you? 18 Mint 19 powered Get the most from Linux Mint 26 Escape Windows Run away from Redmond 34 Techniques for smart pattern matching Search for patterns with grep 36 Automate office tasks with simple scripts Script repetitive actions in Libre Office 40 Set up an email server Set up your own self-hosted server 44 Get to grips with Linux file navigation Learn about structure 46 Forecast the weather via the terminal Who needs a GUI? 48 PowerShell on Ubuntu vs grep on PDP-11 Windows technology on Linux?! 52 Managing your tasks and calendar Organise everything from the terminal 54 Speed testing storage What’s the fastest file system? 58 Flatpack and how to (ab)use containers Just what can you do with containers? 62 Systems tracing in Linux just got better Find out how 66 Working in the terminal using plain English Use natural language in the terminal Linux Format Annual 2020 9 LLiinnuuxx FFoorrmmaatt AAnnnnuuaall 22002200 Mayank Sharma can’t help you find your purpose in life, but he sure can help find a distribution for your purpose. inux, the kernel, by itself Later that year Peter MacDonald and uninstall packages. The next major L wouldn’t be of much use to created the Softlanding Linux System milestone in the Linux distribution most of us. Version 0.01 of the (SLS) distribution that offered a software timeline also happened in 1994 with the Linux kernel made its debut in collection on top of the X11 graphical birth of Marc Ewing’s Red Hat Linux. September 1991, but it only made sense interface, which had only recently been Together these three distributions form to a particular Finnish student and his ilk ported to Linux. SLS in turn spawned two the bedrock of the modern Linux of uber-geek hackers. major distributions. The first was distribution habitat. Although there have One of them, Owen Le Blanc of the Slackware created by Patrick Volkerding in been other independent distributions Manchester Computing Centre (MCC), July 1993. Over two decades later it such as Crux, Arch, Gentoo and Puppy, wrote a menu-driven installer to install the remains the oldest Linux distribution a majority of the current stock is an kernel along with a handful of GNU that’s still actively maintained. The other offshoot of the three oldest distributions. utilities, and in the process created the was Ian Murdoch’s Debian. Although it You’ll find hundreds of them on first Linux distribution in February 1992. had been in development for several distrowatch, all vying for a slice of your This distribution allowed even non-Unix months, v0.91 released in January 1994 hard disk. Over the next few pages we’ll users to get a taste of Linux and helped was its first public release and included a help you sort through the lot and pick the roll in more developers. simple package system that could install one that’ll serve you best. 10 Linux Format Annual 2020