Linux

48254 readers
431 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
101
102
 
 

Perhaps dumb questions inbound ;)

I use Arch because I'm strapped for time and my system is always moving.

  • 2 minutes to install something? AUR probably has it.

  • Ten minutes of free time to look for a software that fits a new need? Try random AUR things (auditing PKGBUILDs is just twenty seconds or so).

  • If I need a tiny patch, I'll just add a sed or patch file to the PKGBUILD. (Super easy, you barely learn any syntax cuz it's intuitive shell.)

  • make && make install/meson blahblah usually just works.

  • Wiki does the thinking for me if I need something special (e.g. hw video acceleration)

Buuuut update surprises can be a pain (e.g. Pipewire explodes Saturday evening) and declarative rollbackable immutability sounds really freakin' AWESOME, so I'm considering NixOS for my new laptop (old one's webcam broke). So I ask:

  • How much can I grok in a week?
    • I need to know Nixlang, right? I have a ton of dotfiles and random homemade cpp commands in ~/.local/bin that I use daily
  • How quick is it to make a derivation?
    • I make install a lot, do I need to declare that due to non-FHS? Can I boilerplate the whole thing with someone else's make install and ctrl+c ctrl+v? How does genAI fare? (Lemmy hates word guess bots, I know)
  • How quick is it to install something new and random?
    • Do I just use nix-shell if I need something asap? Do I need to make a derivation for all my programs? e.g. do I need to declare a Hyprland plugin I'm test-running?
  • How long do you research a new package for?
    • On Gentoo I always looked up USE flags (NOO my time); on Arch I just audit the PKGBUILD and test-run it (20 seconds); on Ubuntu I had to find the relevant PPA (2 minutes). What's it like for Nix?
  • Can you set up dev environments quickly or do you need to write a ton of configs?
    • I hear python can be annoying. Do C++/Android Studio have header file/etc. issues?
  • What maintenance ouchies do you run into? How long to rectify?
  • Do I need to finagle on my own to have /boot encrypted?
    • I boot via: unencrypted EFI grub asks for LUKS password -> decrypt /boot, which then has a keyfile -> decrypt and mount btrfs root partition. But lots of guides don't do it this way

Thanks for bearing with me ദ്ദി(。•̀ヮ<)~✩‧₊

103
 
 

I'm just not sure what I am doing wrong here. It boots on every single other computer in the house (3 different ones) but when I try to do a single boot on my system 76 laptop it just won't do it. What am I doing wrong?? It has custom firmware on it

104
 
 

cross-posted from: https://lemmy.ml/post/22205865

Ahead of tomorrow's availability of the AMD Ryzen 7 9800X3D processor as the first Zen 5 CPU released with 3D V-Cache, today the review embargo lifts. Here is a look at how this 8-core / 16-thread Zen 5 CPU with 64MB of 3D V-Cache is performing under Ubuntu Linux compared to a variety of other Intel Core and AMD Ryzen desktop processors.

The AMD Ryzen 7 9800X3D as previously shared is AMD's first processor leveraging 2nd Gen 3D V-Cache. The 64MB of cache is now underneath the processor cores so that the CCD is positioned closer to the heatsink/cooler to help with more efficient cooling compared to earlier X3D models.

The AMD Ryzen 7 9800X3D boosts up to 5.2GHz and feature a 4.7GHz base clock while total it provides 104MB of cache. Like with the prior 8-core Ryzen 7 7800X3D, all eight cores have access to the 64MB 3D V-Cache. The Ryzen 7 9800X3D features a 120 Watt default TDP. AMD's suggested pricing on the Ryzen 7 9800X3D is $479 USD.

The AMD Ryzen 7 9800X3D will work with existing AMD AM5 motherboards with a simple BIOS update. For my testing I was able to use the ASUS ROG STRIX X670E-E GAMING WIFI motherboard previously used for all Ryzen 9000 series testing after a simple BIOS update. AMD also sent out an ASRock X870E Taichi motherboard as part of the review kit. For these 9800X3D benchmarks I ended up testing both initially on the ASUS ROG STRIX X670E-E GAMING WIFI motherboard to match the previously tested Ryzen 9000 series processors and then repeated the run with the ASRock X870E Taichi motherboard as well for reference.

105
106
107
 
 

I've got an older machine that I'd like to give a second life. I've always been an Ubuntu fan in the past, but checking their site for a lightweight distri it looks like they've gone all 64 bit. Is that right? Can I still get a recent version for a 32-bit processor?

108
 
 

Petition Summary: The petitioner calls for the European Union to actively develop and implement a Linux-based operating system, termed ‘EU-Linux’, across public administrations in all EU Member States. This initiative aims to reduce dependency on Microsoft products, ensuring compliance with the General Data Protection Regulation (GDPR), and promoting transparency, sustainability, and digital sovereignty within the EU. The petitioner emphasizes the importance of using open-source alternatives to Microsoft 365, such as LibreOffice and Nextcloud, and suggests the adoption of the E/OS mobile operating system for government devices. The petitioner also highlights the potential for job creation in the IT sector through this initiative.

109
 
 

The developers of the Manjaro Linux distribution, built on the basis of Arch Linux and aimed at beginners, announced the beginning of testing a new service MDD (Manjaro Data Donor), designed to collect statistics about the system and send it to the external server of the project. The author of the MDD intended to enable telemetry by default (opt-out), but the decision has not yet been approved and, judging by the objections of some developers and users, it is likely that telemetry will be offered as an option requiring prior consent of the user (a request to enable telemetry is proposed to be added to the greeting interface after the first download).

The report includes data such as host name, kernel version, desktop component versions, detailed information about hardware and drivers involved, screen size and resolution information, network device MAC addresses, disk serial numbers, disk partition data, information about the number of running processes and installed packages, versions of basic packages such as systemd, gcc, bash and PipeWire.

The sent data is stored on the project server in the ClickHouse database and visualized using the Grafana platform. The IP addresses of users are not stored, and the hash from the /etc/machine-id file is used as the system identifier.

Аccording to the code https://github.com/manjaro/mdd/blob/master/mdd.py#L40 sends everything.

110
 
 

The LXQt team announces the release of LXQt 2.1.0, the Lightweight Qt Desktop Environment.

Through its new component lxqt-wayland-session, LXQt 2.1.0 supports 7 Wayland sessions (with Labwc, KWin, Wayfire, Hyprland, Sway, River and Niri), has two Wayland back-ends in lxqt-panel (one for kwin_wayland and the other general), and will add more later. All LXQt components that are not limited to X11 — i.e., most components — work fine on Wayland. The sessions are available in the new section Wayland Settings inside LXQt Session Settings. At least one supported Wayland compositor should be installed in addition to lxqt-wayland-session for it to be used.

There is still hard work to do, but all of the current LXQt Wayland sessions are quite usable; their differences are about what the supported Wayland compositors provide:

  • Labwc provides the most stable session, is very lightweight, neat and configurable, and has an extremely helpful and responsive team.
  • Perhaps the most complete Wayland session is provided by KWin when extra KDE packages are installed. For now, it is the only Wayland compositor that supports LXQt Panel’s desktop switcher and LXQt Power Manager’s settings for turning off the monitor (see the Wayland Wiki for the latter).
  • In additon to Kwin, fancy effects are also provided by Wayfire and Hyprland, the latter being one of the 4 tiling WMs to choose from.

Anyway, the best result is achieved by installing the latest stable version of the chosen Wayland compositor. Wayland users need to get familiar with Wayland counterparts of some X11 tools and the configuration of the compositor. They may use X11 apps through XWayland, but using apps that work directly on Wayland is the best choice. Also, see the Wayland Wiki.

111
 
 

Democratizing Social Media Networks: 🚀 #Fediverse, #Lemmy, #Mastodon, #Pixelfed and many other #Decentralized #Federated Networks have significantly democratized the sharing of information through #ActivityPub .

📅 On Saturday, November 9, 2024, at 15:30 (Athens Time), I will be presenting “Welcome to Decentralization” at FOSSCOMM 2024, hosted by the University of Macedonia! 🇬🇷🇪🇺

🗓️ Agenda and Streaming Links: 🔗 2024.fosscomm.gr

#FOSSCOMM2024 #Decentralization #OpenSource#Federation

112
 
 

Hi all, I've been using an RX 580 for about a year now. It's been ok, but I needed an upgrade for a little more FPS. Found this RX 6600~~XT~~ used and snagged it for $100. Are there any packages I'll need to install to make sure I get the best out of it? I know AMD support is baked into the kernel, but I remember having to install some Vulkan driver for my old GPU when I had some gaming issues. Any suggestions would be very much appreciated.

Distro is Endeavour OS with the latest KDE plasma on Wayland.
Thank you

113
 
 

The German government wants to stabilise and rename the Sovereign Tech Fund for the promotion of open source. In future, a state-owned company under the name ‘Sovereign Tech Agency’ will promote the development of basic open source technologies. The new agency is to be linked to the federal government's leapfrog innovation agency SPRIND as a limited company The Federal Ministry for Economic Affairs and Climate Protection (BMWK) has funded 60 technology projects to date through the Sovereign Tech Fund, which was established in 2022. For example, open source is to be strengthened by funding vulnerability research. Maintainers of critical components can also be supported as fellows. In addition, the Sovereign Tech Fund organises competitions to structurally improve the quality of relevant open source developments. ‘Open source components form an important basis of the global digital infrastructure,’ says Franziska Brantner (Green Party), Parliamentary State Secretary at the BMWK. ‘However, up-to-dateness and security depend far too often on dedicated developers maintaining the components in their free time, usually without remuneration.’ Professionalisation via the STF shows that this can be done differently.

More funding for 2025

According to its own information, the Sovereign Tech Fund has so far received 500 applications for funding totalling 114 million euros. To date, 23.5 million euros in funding has been made available, which is now set to increase to 29 million euros in the upcoming federal budget. ‘The agency will continue to focus on digital infrastructure, open technologies in the public interest and common digital resources,’ reads a statement on the Sovereign Tech Agency's website.

Translated with DeepL.com (free version)

114
115
 
 

I understand the need for something like Tails OS and I am glad it exists. But I am looking for a distro that is not as hyper focused on extreme privacy and anonymity and is designed to be sort of like mobile computing.

I know many(if not all) distros can be live booted. I am also aware the likes of MX Linux and others leave unallocated space that can be formatted and used for this purpose but what I am looking for is this process being stream lined.

In Tails, there is a dedicated "Persistent Volumes Manager" app where you select what information you wish to put in your persistence storage. For example, you can choose to store your settings, installed apps, wifi passwords, app configuration, browser bookmarks and other useful stuff. Persistence storage is optionally encrypted to prevent sensitive data from being extracted from stolen flash drive.

When you boot up, you will be asked whether you wish to unlock persistence volume or not. If you agree, all your settings will be loaded into current live boot session, if not, it wont be.

The distro does not act or try to pretend like Tails but rather acts and feels like a standard linux distro, not hyper focused on anonymity, maximizing user convinience over privacy and security.

Essentially: When you boot, if you choose to use persistence storage by unlocking with password, etc, all your settings, installed app, etc get loaded from it. If you dont, the distro default is set.

When persistence folder is unlocked, there could be a Persistence folder in the live user's home directory where we can store files we wish to persist between reboot. Everything outside is non persistent.

If you have used Tails OS, its exactly that, except not hyper focused on anonymity and security requiring Tor to be running to access the network

116
 
 

This laptop was originally sold with Windows 7 32-bit edition installed. Even back then it was really unresponsive and clunky. After several years of it lying around and being useless, I decided to do a really lightweight debian install on it.

And guess what? It can do so much more than sit idly in some landfill.

Now I can use it to write my study notes in neovim (gives me a good excuse to learn vim, and I'm learning slowly), listen to music with gst123, learn c and c++, torrent large files with transmission-cli and qbittorrent, and the list goes on....

I mostly just use tty. I hit "startx i3" if I absolutely need a GUI, but for everything else, tty. I use links2 for Wikipedia, online resources and browsing memes which is already a big chunk of my internet usage. I was really giddy when I saw Tor browser had a 32-bit version, it runs surprisingly well even with less than 1 gigabyte of memory (unless I visit some really bloated sites)

I can't play videos though, that's the one major thing it can't do. The integrated GPU is unsupported so playing videos or 3d-gaming is out of the question.

BTW is there a lemmy instance/frontend I can use via CLI or links2?

117
 
 

Hi there!

A bunch of us at work have been looking at getting Intune running on our Linux machines, this is needed to get Wi-Fi access at work. While there is a guide on getting this on Linux - the requirements are strictly limiting this to RedHat and Ubuntu and Gnome only. Has anyone here had any success with setting this up? Was it difficult?

I tried myself just once last week, but on Aurora (KDE), via a RHEL distrobox, and assumed it failed due to my main system not having gnome-keyring installed(?) as the terminal would spit out "gnome-keyring" a couple of times when launching Intune. Was gonna try with RHEL myself during this week, but wanted to hear here first if anyone has had any success with this at all before i attempt to get it running.

Appreciate any response on this :)

Source for getting Intue on Linux. https://learn.microsoft.com/en-us/mem/intune/user-help/microsoft-intune-app-linux

118
119
 
 

I feel like Im dancing around perhaps the most fundamental piece of my operating system everytime I run and install software. Starting services with systemctl and checking logs with journalctl is the extent of my knowledge.

Do you know of good resources or tutorials for learning how systemd works and how to use it to run software on my desktop and servers? Thanks.

120
121
122
 
 

Hi everyone! I want to be able to access a folder inside the guest that corresponds to a cloud drive that is mounted inside the guest for security purposes. I have tried setting up a shared filesystem inside Virt-Manager (KVM) with virtiofs (following this tutorial: https://absprog.com/post/qemu-kvm-shared-folder) but as soon as I mount the folder in order for it to be accessible on the ~~guest~~ host the cloud drive gets unmounted. I guess a folder cannot have two mounts at the same time. Aliasing the folder using bind and then sharing the aliased folder with the host doesn't work either. The aliased folder is simply empty on the host.

Does anyone have an idea regarding how I might accomplish this? Is KVM the right choice or would something like docker or podman better suited for this job? Thank you.

Edit: To clarify: The cloud drive is mounted inside a virtual machine for security purposes as the binary is proprietary and I do not want to mount it on the host (bwrap and the like introduce a whole lot of problems, the drive doesn't sync anymore and I have to relogin each time). I do not use the virtual machine per se, I just start it and leave it be.

123
124
 
 

(for anyone who do not know, bc is a "arbitrary-precision arithmetic language". its syntax is similar to C)

Gavin Howard's bc (bc-gh) is adopted by busybox, toybox, FreeBSD, Android, macOS for its robustness and superior performance. It is also shipped with Gentoo Linux; LFS also use bc-gh.

Even though bc-gh is more robust and updated, Linux distros other than Gentoo and Fedora do not package it it. bc-gh is not available on Arch (available on AUR), Debian and perhaps all of its derivative. The reason seems to be a licensing reason: bc-gh is under the BSD license.

bc-gh is clearly superior to GNU bc, Gavin Howard's benchmark show that bc-gh is faster than GNU bc in most case, while bc-gh actually do more work than GNU bc.

Today I tested GNU bc and bc-gh. I let they do this operation: (1024*1024)^(1024*1024). GNU bc give me the answer in five minutes, bc-gh give me the answer in two minutes.

GNU bc do not have a repository. All development happen in private, and we can't make sure it is still maintained. The latest version is 1.07 from 2017. bc-gh have a public repository and it is actively maintained.

So it is clear that other Linux distro not adopting bc-gh is purely licensing reason. They reject software not under the GPL license, even if they are more robust and more performant.

We need a campaign to raise awareness about superior software alternatives. We need to stop Linux distro for not adopting superior and updated softwares for licensing reasons.

125
 
 

Does anybody know of a list of usb live-bootable distros, with links to the download pages?

I have a coworker who wants to switch his gaming computer over to Linux, he has Linux experience but from like a decade ago.

He's not partial to any particular distro, so I was hoping to just put together a multiboot flash drive with a bunch of live images he could try. But I'm not sure what I should include, and what has live images, vs. install only images.

I'm most comfortable in an environment with apt, so Debian and Mint are of course already covered, but if the gaming-specific distros have live usb images, that would probably be the best thing for him to try.

view more: ‹ prev next ›