Showing headlines posted by linuxer

« Previous ( 1 2 3 4 5 6 7 8 9 10 ... 25 ) Next »

Forcing Installation of Held-Back Packages in Ubuntu/Debian

During regular software updates in Ubuntu Linux distros, you may encounter a situation where some packages have been kept back and are not updated. This could lead to disparities in the version of packages across different systems.This article will delve into the management of kept back packages in Ubuntu. It will provide a step-by-step guide on how to force these packages to be automatically installed.

Switching to Firefox’s Deb Installation on Ubuntu 22.04+

Ubuntu’s distributions, starting from version 22.04, have started packaging Firefox as a Snap package. Snap packages are Ubuntu-specific, containerized software packages that include dependencies needed for the software to run. However, due to personal preference or issues regarding their functionality, some users may prefer to install Firefox as a traditional Deb package.

Fixing Black Screen After Suspension in Ubuntu 22.04: NVIDIA & AMD Guide

  • linuxconfig.org; By Lubos Rendek (Posted by linuxer on Sep 18, 2023 9:09 PM EDT)
  • Story Type: Tutorial; Groups: Ubuntu
Undoubtedly, Ubuntu 22.04 LTS’s black screen after suspend issue has been a critical problem for some users. If you have an NVIDIA or AMD graphics card, you may find this issue more frequently. This article provides an in-depth analysis of the problem and provides various solutions.

Setting Up NVIDIA CUDA Toolkit in a Docker Container on Debian/Ubuntu

Harnessing the power of NVIDIA GPUs on Debian and Ubuntu systems often requires navigating a maze of configurations and dependencies. NVIDIA’s CUDA Toolkit, essential for GPU-accelerated tasks, can simplify this with Docker. By containerizing the toolkit, developers ensure a consistent, streamlined, and optimized environment across systems. In this guide, we’ll detail the steps to seamlessly integrate the CUDA Toolkit within a Docker container for these popular Linux distributions.

How to install Nvidia driver on Debian 12 Bookworm Linux

In this article, you will learn how to install the Nvidia driver on Debian 12 “Bookworm” from the standard Debian repository. If, for some reason, the installation of the Nvidia driver from the standard Debian repository fails, or if you wish to have a more up-to-date Nvidia driver, this tutorial will also guide you on how to install the official Nvidia driver directly from the Nvidia.com website.

How to check and tune power consumption with Powertop on Linux

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Aug 30, 2023 11:32 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Powertop is a free and open source utility developed by Intel to monitor power consumption on Linux. The tool is able to display and export reports about the estimated discharge rate, and statics about processors and devices behavior. It also lets us easily tune some kernel parameters on the fly in order maximize battery life. In this tutorial we see how to install Powertop on some of the most used Linux distributions, and how to use it to monitor power consumption.

How to create and manage snippets in Vim with Ultisnips

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Aug 29, 2023 8:05 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Snippets are small fragments of reusable code which, in all the major text editors, can be defined, organized and associated to key shortcuts. Although in Vim it is possible to create snippets without using any plugin, Ultisnips provide us extra features and write snippets using a clean and well documented syntax. In this article we learn how to install the Ultisnips plugin and how to use it to write and manage snippets in Vim.

How to manipulate partition tables with fdisk, cfdisk and sfdisk on Linux

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Aug 27, 2023 7:36 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Fdisk, cfdisk and sfdisk are command line partitioning utilities included by default in all Linux distributions. They provide different interfaces to the same set of functions: while they all can be used interactively, only sfdisk is script-oriented. They support DOS, GPT, SGI and SUN partition tables.

How to use xargs to build command lines from standard input

  • linuxconfig.org; By Egidio Docile (Posted by linuxer on Aug 5, 2023 10:25 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Even the most basic installation of any Linux distribution comes with a set of really useful utilities: “xargs” is undoubtedly one of those. By using xargs we can build and execute command lines using items from standard input as arguments of a command. This is especially useful when dealing with programs which don’t read standard input directly.

Building a 'Hello World' Linux Systemd Service with Rust

  • howtos.io; By Lucas Rees (Posted by linuxer on Aug 1, 2023 2:56 PM EDT)
  • Story Type: Tutorial; Groups: Linux
In this tutorial, we will create a simple ‘Hello World’ Systemd service using the Rust programming language. Systemd is a popular init system and service manager in modern Linux distributions. By the end of this tutorial, you will have a basic understanding of how to create and manage Systemd services with Rust.

Building Your Own CLI (Command Line Interface) Tool with Python on Linux

In this tutorial, we will learn how to build our own Command Line Interface (CLI) tool using Python on a Linux system. A CLI tool allows users to interact with a program or script through a command-line interface, providing a more efficient and flexible way of executing tasks. By the end of this tutorial, you will have a good understanding of how to create a CLI tool and perform various operations using it.

Fun with Rust: Creating a Linux Terminal Quiz Game

In this tutorial, we will explore how to create a fun quiz game using Rust programming language. The game will be designed to run in the Linux terminal, providing an interactive experience for the users. By the end of this tutorial, you will have a working quiz game that can be played directly from the command line.

Writing a Firewall in Rust

In this tutorial, we will learn how to write a basic firewall using the Rust programming language. By the end of this tutorial, you will have a working firewall script that can help you secure network connections and protect your system against unauthorized access.

Getting Started Guide: Introduction to Go Programming on Linux

This tutorial is designed to help beginners get started with Go (Golang) programming on Linux systems. By the end of this tutorial, you will have a solid understanding of how to set up a Go development environment, write a basic “Hello World” program, and execute it successfully. Before proceeding with this tutorial, it is recommended that you have some basic knowledge of Linux operating systems and programming concepts. Additionally, you will need access to a Linux system for the installation and hands-on exercises.

Cross-Platform Scripting: How to Install and Run PowerShell Core on Ubuntu Linux

In the world of cross-platform development, interoperability is key. Microsoft has helped further this goal by developing PowerShell Core, an open-source version of PowerShell. Designed to run on multiple operating systems - Windows, macOS, and Linux - PowerShell Core builds on .NET Core to provide a versatile scripting environment that works across platforms.

How to Develop a Python Plugin for GIMP

In this tutorial, we will learn how to develop a Python plugin for GIMP, a popular open-source image editing software. By the end of this tutorial, you will be able to create your own custom plugins to extend the functionality of GIMP using Python.

Using the Python Debugger (pdb) for Efficient Debugging

Debugging is an essential part of the development process. It allows programmers to identify and fix errors in their code, improving the overall quality and reliability of their software. Python provides a powerful built-in debugger called pdb (Python Debugger) that helps developers trace and debug their programs efficiently.

Apache vs IIS vs Nginx: An In-depth Comparison of Web Servers

Choosing a web server for your applications is a critical decision. Three widely used web servers are Apache HTTP Server (commonly run on Linux), Microsoft's Internet Information Services (IIS), and Nginx. This article provides a detailed comparison of these web servers based on multiple factors.

Finding Your Raspberry Pi’s IP Address: A Quick Guide

Most users will want to configure their Raspberry Pi to join the local network, and maybe even have an internet connection. In order to remotely connect to the Raspberry Pi or to configure related networking settings, a user will first need to obtain the device’s IP address. In this tutorial, we will show you how to find the IP address of a Raspberry Pi. This will include the internal (or private) IP address, as well as the external (or public) IP address, if one is assigned.

StackRot: A Significant Linux Kernel Vulnerability - A Review and Recommendations

The open-source world has recently been shaken by the discovery of a new, critical security vulnerability lurking in the Linux kernel - the lifeline of numerous operating systems worldwide. This flaw, named StackRot (CVE-2023-3269), resides in Linux kernel versions 6.1 to 6.4 and has the potential to provide nefarious actors with escalated privileges on a target host. In this article, we delve into the intricacies of StackRot, review the mitigation efforts taken, and offer recommendations for users to guard against this threat.

« Previous ( 1 2 3 4 5 6 7 8 9 10 ... 25 ) Next »