Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Install HPLIP 3.22.6 On Ubuntu / Fedora | Tips On UNIX

    This tutorial will be helpful for beginners to download and install HPLIP 3.22.6 on Ubuntu 22.04 LTS, Fedora 36, and other Linux distributions.

    HPLIP – HP Linux Image and Printing, developed by HP for Printing, scanning, and faxing with HP inkjet and laser-based printers on Linux platforms.

    The latest version of HPLIP 3.22.6 contains new Distro support and added support to the new printers.

  • Nginx – Using HTTP2

    There goes a lot more behind the scenes between a browser and a server than we might think. Our browser may be handed a index.html but on processing, it (the browser) may need to get additional documents such as style sheets, JavaScript files, etc. This requires multiple connections to the server. Making a connection requires performing the TCP three-way handshake, exchanging headers, etc. all of which introduces unnecessary overhead, as well as latency to the client. It is in this context that the need for a better way to serve documents become apparent.

    It wasn’t until the publication of the HTTP/2 protocol that the issue could be solved. HTTP/2 protocol, officially RFC 7540 or more recently RFC 9113, is a replacement for the older HTTP/1.1 which provides an optimized method for transportation of documents over TCP. It allows multiplexing connections so that multiple documents can be sent over the same stream. It also allows compressing the headers and many requests into a single packet. Furthermore, it provides an optional feature called server push whereby a server can send additional documents that the client may need along side the response for the document that was actually requested. For example, a server may send the style sheets and JavaScript files along side the response for the request to an HTML file.

  • How to Install Latest Linux Kernel in RHEL 8

    A Kernel is somewhat the soul of an operating system since it exists at its core. Once you start/boot your machine, the Kernel takes control of the entire system. Each RHEL 8 distribution is shipped with a custom-built kernel.

    Since a Kernel is the primary bridge of communication between the hardware and software components of an entire computer system, it is responsible for such a system’s integrity and supported hardware compatibility. Also, it is the kernel that provides an interfacing link between system processes and computer hardware.

  • dnf-automatic: Enable Automatic Updates for RHEL-based distributions - TREND OCEANS

    There are new vulnerabilities being disclosed every day that put your server at a security risk. This stress of updating your system for the latest security patch or application update can be relieved by automating the update process using the dnf-automatic command.

    The dnf-automatic is a command-line tool for RHEL-based distributions such as Fedora, AlmaLinux, Rocky Linux, etc., for automating the update process using systemd timers. It will periodically check the system for the latest release or security update and update them without your interaction as a background process.

  • Install Python 3.9 or 3.8 on Ubuntu 22.04 LTS Jammy JellyFish

    Learn how to use the PPA repository to install Python’s old versions such as 3.9. 3.8, 3.7, and more on Ubuntu 22.04 Jammy JellyFish using the command terminal.

    Python is freely available for the common operating systems. The programming language is standard equipment in many Linux distributions. Python can also be used on many mobile operating systems. For web servers, WSGI (Web Server Gateway Interface) is a universal interface between the server and Python.

    It offers clear syntax and good readability. It is considered easy to learn and can be interpreted in the common operating systems. Python supports several programming paradigms such as functional, object-oriented, or aspect-oriented programming and can also be used as a scripting language.

    Since Python is a so-called multiparadigm language, programmers are not tied to a specific programming style. The optimal programming style can be selected for the various tasks. Python allows Python programs to be embedded in other languages ​​as individual modules.

  • How to Install Darktable on Ubuntu 20.04 | 22.04 LTS

    Darktable (stylized as darktable) is a free and open-source photography application program and raw developer. Rather than being a raster graphics editor like Adobe Photoshop or GIMP, it comprises a subset of image editing operations specifically aimed at non-destructive raw image post-production. It is primarily focused on improving a photographer’s workflow by facilitating the handling of large numbers of images. It is freely available in versions tailored for most major Linux distributions, macOS, Solaris and Windows and is released under the GPL-3.0-or-later.

  • How to Install Pinta on Ubuntu 20.04 | 22.04 LTS [Ed: Microsoft Mono warning]

    Pinta is an open-source, cross-platform bitmap image drawing and editing program inspired by Paint.NET, a similar image editing program which is limited to Microsoft Windows. Pinta has more features than Microsoft Paint. Compared with open-source image editor GIMP, Pinta is simpler and has fewer features.

  • How to Install MariaDB 10.9 on Ubuntu 22.04 LTS - LinuxCapable

    MariaDB is one of the most popular open-source databases next to its originator MySQL. The original creators of MySQL developed MariaDB in response to fears that MySQL would suddenly become a paid service due to Oracle acquiring it in 2010. With its history of doing similar tactics, the developers behind MariaDB have promised to keep it open source and free from such fears as what has happened to MySQL.

    MariaDB has become just as popular as MySQL with developers, with advanced clustering with Galera Cluster 4, faster cache/indexes, storage engines, and features/extensions that you won’t find in MySQL.

    In the following tutorial, you will learn how to install or upgrade MariaDB 10.9 on Ubuntu 22.04 LTS Jammy Jellyfish using the command line terminal and some tips on how to upgrade your existing database if needed one exists.

  • How to Install Sublime Merge on Ubuntu 22.04 LTS - LinuxCapable

    Sublime Merge is a git client software that comes with various features to help make working with git repositories easier. One of its most valuable features is the syntax highlighting engine, which makes it easier to read code. The custom high-performance Git reading library is also helpful, allowing you to stage changes line-by-line.

    Additionally, the build-in git search function lets you quickly find commits, and the themes allow you to customize the look of the software to match your preferences. The Command Palette and Commit Editing functions are also helpful, letting you quickly execute git commands and edit commits. Finally, the Submodule Management and Git Flow Integration functions make it easy to work with submodules and manage branches. Overall, Sublime Merge is a powerful git client that can significantly improve your workflow.

    In the following tutorial, you will learn how to install Sublime Merge on Ubuntu 22.04 LTS using the official Sublime APT repository using the command line terminal, along with how to launch the software and remove it in the future if required.

  • How to Install SQLite 3 on CentOS 9 Stream - LinuxCapable

    SQLite is a free, lightweight relational database management system (RDBMS) in a C library. SQLite is not a client-server database engine. Instead, it is embedded into the end program. Primarily all programming languages support SQLite, which how languages embed the program is with a file with .sqlite3/.sqlite/.DB extension. The software is popular for local/client storage such as web browsers, Android devices, etc. The list is quite extensive.

    The following tutorial will teach you how to install SQLite 3 with CentOS 9 Stream using the command line terminal using the standard DNF package manager or manually installing straight from the project’s Git.

  • Linux superuser access, explained | Enable Sysadmin

    Here’s how to configure Linux superuser access so that it's available to those who need it—yet well out of the way of people who don't need it.

  • Hide Files and Folders in Linux [With and Without Renaming]

    This beginner-focused article discusses how you can hide files and folders from normal view in Linux. Both GUI and command-line methods have been discussed.

    There will be times when you need to hide files in Linux.

    No, I am not talking about those ‘special files’ that you don’t want your family to see. Although you can hide these special files, it is better to lock them with a password for an extra layer of protection.

    Back to hiding files. Any file or folder whose name begins with a . (dot) is “hidden” in Linux.

  • How to Install Fedora 36 XFCE Desktop Edition

    Many Fedora users are unaware of the fact that you do get an option to choose other Desktop Environments apart from the default GNOME which we are used to downloading directly from their download page.

    Apart from the default GNOME, you do get an option of KDE Plasma, Xfce, LXQT, MATE, Cinnamon, LXDE, SOAS, and even i3.

    So through this guide, we will be showing you how you can install XFCE Fedora spin on your system in the easiest way possible but before that, let’s discuss why you should even consider using XFCE instead of GNOME.

  • Show Only Hidden Files in Linux Command Line

    Displaying hidden files in Linux is quite easy. You use the ls command in this manner:

    ls -a
    That's fine. You can see the hidden files with their names starting with a dot (.).

    But you see all the files in the current directory, the hidden ones and the regular ones.

    What if you want to ONLY see the hidden files, not the regular ones?

    There is no ready-to-use option like -a and -A. However, you can always find a way to achieve things by combining a few commands through the wonderful pipe redirection.

More in Tux Machines

today's howtos

  • How to Change Comment Color in Vim – Fix Unreadable Blue Color

    Are you annoyed about the comment color in vim? The dark blue color of the comment is often hard to read. In this tutorial, we learn how to change the comment color in Vim. There are few methods we can use to look vim comment very readable.

  • How to Add Repository to Debian

    APT checks the health of all the packages, and dependencies of the package before installing it. APT fetches packages from one or more repositories. A repository (package source) is basically a network server. The term "package" refers to an individual file with a .deb extension that contains either all or part of an application. The normal installation comes with default repositories configured, but these contain only a few packages out of an ocean of free software available. In this tutorial, we learn how to add the package repository to Debian.

  • Making a Video of a Single Window

    I recently wanted to send someone a video of a program doing some interesting things in a single X11 window. Recording the whole desktop is easy (some readers may remember my post on Aeschylus which does just that) but it will include irrelevant (and possibly unwanted) parts of the screen, leading to unnecessarily large files. I couldn't immediately find a tool which did what I wanted on OpenBSD [1] but through a combination of xwininfo, FFmpeg, and hk I was able to put together exactly what I needed in short order. Even better, I was able to easily post-process the video to shrink its file size, speed it up, and contort it to the dimension requirements of various platforms. Here's a video straight out of the little script I put together: [...]

  • Things You Can And Can’t Do

    And it got me thinking about what you can and can’t do — what you do and don’t have control over.

  • allow-new-zones in BIND 9.16 on CentOS 8 Stream under SELinux

    We run these training systems with SELinux enabled (I wouldn’t, but my colleague likes it :-), and that’s the reason I aborted the lab: I couldn’t tell students how to solve the cause other than by disabling SELinux entirely, but there wasn’t enough time for that.

  • Will the IndieWeb Ever Become Mainstream?

    This is an interesting question, thanks for asking it, Jeremy. I do have some history with the IndieWeb, and some opinions, so let’s dive in.

    The short answer to the question is a resounding no, and it all boils down to the fact that the IndieWeb is really complicated to implement, so it will only ever appeal to developers.

  • How to Install CUPS Print Server on Ubuntu 22.04

    If your business has multiple personal computers in the network which need to print, then we need a device called a print server. Print server act intermediate between PC and printers which accept print jobs from PC and send them to respective printers. CUPS is the primary mechanism in the Unix-like operating system for printing and print services. It can allow a computer to act as a Print server. In this tutorial, we learn how to set up CUPS print server on Ubuntu 22.04.

Open Hardware: XON/XOFF and Raspberry Pi Pico

  • From XON/XOFF to Forward Incremental Search

    In the olden days of computing, software flow control with control codes XON and XOFF was a necessary feature that dumb terminals needed to support. When a terminal received more data than it could display, there needed to be a way for the terminal to tell the remote host to pause sending more data. The control code 19 was chosen for this. The control code 17 was chosen to tell the remote host to resume transmission of data.

  • Raspberry Pi Pico Used in Plug and Play System Monitor | Tom's Hardware

    Dmytro Panin is at it again, creating a teeny system monitor for his MacBook from scratch with help from our favorite microcontroller, the Raspberry Pi Pico. This plug-and-play system monitor (opens in new tab) lets him keep a close eye on resource usage without having to close any windows or launch any third-party programs. The device is Pico-powered and plugs right into the MacBook to function. It has a display screen that showcases a custom GUI featuring four bar graphs that update in real-time to show the performance of different components, including the CPU, GPU, memory, and SSD usage. It makes it possible to see how hard your PC is running at a glance.

Security Leftovers

How to Apply Accent Colour in Ubuntu Desktop

A step-by-step tutorial on how to apply accent colour in Ubuntu desktop (GNOME) with tips for Kubuntu and others. Read more