Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  1. The magic one-line ImageMagick 7 AppImage installer

    To install ImageMagick 7 on any distribution that supports AppImage, copy and paste this one-line script into your favourite shell:

  2. PAM SSH agent authentication (with Ansible)

    Specifically for use with Ansible, I’m known to recommend adding NOPASSWD: ALL to the sudoers entry and be done with it. No mucking about with sudo passwords (in essence users’ login passwords), no -K option, no passwords in clear-text files because people are unwilling to use Ansible vault, etc. It makes lives easier all around, and yes, I am aware that there are people who get the screaming heebie-jeebies when I say NOPASSWD:. So be it.

    There is an alternative to authenticating use of sudo using SSH agent forwarding instead of login passwords. If you’re new to agent forwarding, I recommend you read the Illustrated Guide to SSH Agent Forwarding, which explains the concept and its pitfalls very well.

  3. Jenkins

    In this article, you will learn more about how Jenkins’s deployment stages and pipeline tools can be used to help automate software development. You will learn how to leverage Jenkins’s deployment phases and Pipeline features to help automate your software development. You’ll leave with a better grasp on what a Jenkins Pipeline is and you’ll know how to set up Jenkins and the Pipeline plug-in.

  4. So long and thanks for all the disks!

    Free (as in libre) was a tradition that would continue until the very end of the disk series: one of the last floppies compiled contained a version of the touch command. Fish helped bring about wider knowledge of open source, GNU, Unix and its related command line tools to the Amiga user base, preparing a generation of young computer enthusiasts not only for the systems they might encounter at universities and workplaces but also for the coming of Linux. Thus, he contributed to building a foundation for the continued use and growth of free software after both the demise of his disk series and the Amiga platform, a legacy of which the effects are still highly tangible.

    Fish would go on to release a thousand disks before switching to distribution on CD-ROMs in 1994. However, the then imminent arrival of dial-up Internet (giving us commoners access to Aminet) meant that only a few of these CD:s were made. Though he and his disk series will live on in memory for as long as there are Amiga users, his real achievement was bringing the joy and philosophy of free software to a world-wide user base outside academia, long before free software itself helped build the Internet that made his disks obsolete.

    Here's to you, Fred, 35 years later. So long and thanks for all the disks!

  5. I wish systemd logged information about the source of "transactions"

    Modern Linux doesn't work this way, especially with systemd involved. Systemd has a D-Bus interface that people can use, there's hardware events that may trigger a reboot, there are various programs that may decide to ask systemd to reboot the system, and under some circumstances systemd itself can decide that a particular, harmless looking process failure or 'systemctl' transaction actually will trigger a reboot through some weird chain of dependencies and systemd unit settings. These days, it's entirely possible to have a system go through an orderly shutdown and reboot with no clues in the logs as to what actually did it or why it happened.

    However, systemd also has all of the information it needs to log a summary of this. Every time systemd starts a "transaction" (a set of changes to units), it knows what the starting request is and generally who asked for it (and how). It could routinely log this, which would make it much easier to trace back mysterious events later.

  6. How to Recover Deleted Files in Linux

    Losing data is one of the most unsettling and harrowing experiences that any user can go through. The prospect of not ever finding precious data once it is deleted or lost is what usually inspires anxiety and leaves users helpless. Thankfully, there are a couple of tools that you can use to recover deleted files on your Linux machines. We have tried out a few data recovery tools that can help you get back your deleted files and one that stood out among the rest. This is the TestDisk data recovery tool.

    TestDisk is an opensource and powerful data recovery tool that, apart from recovering your data, rebuilds and recovers boot partitions and fixes partition tables. It recovers deleted files from filesystems such as FAT, exFAT ext3, ext4, and NTFS to mention just a few, and copies them to another location. TestDisk is a command-line data recovery tool, and this is one of the attributes that sets it apart from other data recovery tools.

    In this guide, we will demonstrate how you can recover deleted files in Linux using the Test disk utility tool. We will demonstrate how TestDisk can recover deleted data from a removable USB drive in Ubuntu 20.04.

  7. How to Install Gtop System Monitoring Tool in Linux

    System monitoring is an important aspect of Linux administration as it helps a Linux user or administrator identify and later investigate the performance statuses of various operating system software and hardware elements related to the system’s disk usage, CPU utilization, and main memory consumption.

    Gtop is an ideal candidate for Linux system monitoring due to its rich and graphical monitoring dashboard/interface. Its graphical display accounts for the operating system’s disk usage, CPU, and main memory info. Gtop’s visual layout also projects running processes statistics like how much resource is being utilized or overused.

  8. How to install Python 3.10 on Debian 11? - Unixcop the Unix / Linux the admins deams

    Hello friends. In this rather short post, we will help you to install Python 3.10 on Debian 11.

    Debian 11 has Python, do I have to upgrade?

    The answer to this question depends on the needs of each user. Some users are developers in this language and therefore need to take advantage of the latest features of this; On the other hand, there are also the testers who with their expertise help the growth of the language and the applications that use it.

    There is also a third group more focused on server administration. These are more careful at the moment of making any new installation, but they can also be forced to instate it in favor of some scripts, libraries, or programs that require it.

    On the opposite side are the desktop users who are not forced to do this. If you are an occasional system user or do not belong to any of this group then it is not strictly necessary leaving the decision up to you,

    So, let’s go for it. The process is fast and secure.

More in Tux Machines

Graphics: RenderDoc, Mesa, and Vulkan

  • RenderDoc 1.17 Released For This Leading Open-Source Graphics Debugging Tool - Phoronix

    RenderDoc 1.17 released this week as the newest version of this leading cross-platform, cross-API graphics debugging utility. RendertDoc 1.17 continues to be a gem for developers working with Vulkan and OpenGL along with Direct3D 11/12. RenderDoc as the MIT-licensed frame-capture-based graphics debugger works extremely well for game/engine developers as well as GPU driver developers in working through different issues.

  • DMA-BUF Feedback Support For Wayland Lands In Mesa 22.0's EGL Code - Phoronix

    Landing in Mesa on Black Friday was DMA-BUF Feedback support within the EGL code as another important step forward for Wayland. Introduced earlier this week was Wayland Protocols 1.24 and the primary addition to that collection of protocols is DMA-BUF feedback support. The DMA-BUF "feedback" support is important for Wayland multi-GPU systems where needing to know more information about the GPU device used by the compositor and for being able to efficiently exchange buffers between the secondary and primary GPUs.

  • RADV Vulkan Driver Finally Adds VK_KHR_synchronization2 Support - Phoronix

    The Mesa Radeon Vulkan driver "RADV" has added support for the prominent VK_KHR_synchronization2 extension introduced earlier this year. Added back in February with Vulkan 1.2.170 was VK_KHR_synchronization2 for simplifying the core synchronization APIs of this industry-standard graphics API. VK_KHR_synchronization2 makes Vulkan synchronization handling easier to deal with Those interested in the changes with the "synchronization2" revision can see this Khronos blog post going over the Vulkan synchronization handling in detail along with the changes from this extension.

Kernel: Futex2, Fixes, and Other New Features for Linux 5.16

  • Futex2 Brings Linux Gaming To The Next Level - Invidious

    Futex2 has been a work in progress by Valve and collabora for a very long time and it seems like it's finally going to make it's way into the kernel.

  • Patch out for Alder Lake Linux bug that reminds of the Windows 11 Ryzen CPPC issue - Neowin

    Linux boss Linus Torvalds merged earlier today several important patches for Intel CPU generally related to performance states (P-states) on Linux.

  • Linux 5.16 Merges Fix For One Of The Intel Alder Lake Issues - Phoronix

    Merged this Friday afternoon into the Linux 5.16 development kernel is fixing a performance issue affecting some Intel Alder Lake motherboards. The fix merged a short time ago is the item previously covered within Linux ITMT Patch Fixes Intel "Alder Lake" Hybrid Handling For Some Systems. As explained in that prior article, TurboBoost Max 3.0 / ITMT (Turbo Boost Max Technology) code within the kernel isn't being enabled for some systems, particularly if overclocking or even any memory XMP / optimal settings. The ASUS Z690 board I've been primarily using for the i9-12900K was affected as are numerous other boards. I've also heard reports of some motherboards running purely stock are even having this issue.

  • Intel Preparing USI Stylus Support For Linux - Phoronix

    Intel open-source driver engineers have been working on USI stylus support for the Linux kernel. The Universal Stylus Initiative (USI) aims to offer interoperability of active styluses across touchscreen devices. The Universal Stylus Initiative has a goal of allowing all styluses that comply with USI to work across devices. USI is backed by the likes of Google who wants to see USI working uniformally across Chromebooks, Dell and other hardware vendors, Intel is also involved and leading the upstream Linux support patches, and peripheral vendors like Logitech are also supporting the standard. Other big names like Wacom, Samsung, and many other players from desktop to laptops to mobile.

Open Hardware/Modding With LineageOS and Arduino

  • Ham Radio Gets Brain Transplant | Hackaday

    Old radios didn’t have much in the way of smarts. But as digital synthesis became more common, radios often had as much digital electronics in them as RF circuits. The problem is that digital electronics get better and better every year, so what looked like high-tech one year is quaint the next. [IMSAI Guy] had an Icom IC-245 and decided to replace the digital electronics inside with — among other things — an Arduino.

  • My phone - November 2021

    My current phone is the Google Pixel 3a from 2019. It’s running the LineageOS operating system without the Open GApps stack (GApps is short for “Google Apps”). This means there’s no proprietary software or tracking from Google on the phone by default.

  • PiGlass V2 Embraces The New Raspberry Pi Zero 2 | Hackaday

    Well, that certainly didn’t take long. It’s been just about a month since the Raspberry Pi Zero 2 hit the market, and we’re already seeing folks revisit old projects to reap the benefits of the drop-in upgrade that provides five times the computational power in the same form factor. Take for example the PiGlass v2 that [Matt] has been working on. He originally put the Pi Zero wearable together back in 2018, and while it featured plenty of bells and whistles like a VuFine+ display, 5 MP camera, and bone conduction audio, the rather anemic hardware of the original Zero kept it from reaching its true potential.

October/November in KDE Itinerary

Since the last summary KDE Itinerary has been moving with big steps towards the upcoming 21.12 release, with work on individual transport modes, more convenient ticket access, trip editing, a new health certificate UI, better transfer handling and many more improvements.

New Features
Current ticket access A small but very convenient new addition is the “Current ticket” action, which immediately navigates you to the details page of the most current element on the itinerary. That comes in handy when having to show or scan your ticket and avoids having to find the right entry in the list in a rush. This action is now also accessible from jump list actions in the taskbar on Linux, or app shortcuts on Android. Combined with the easily accessible barcode scanmode mentioned last time it’s now just two clicks or taps to get ready for a ticket check. Read more