Linux

47940 readers
1286 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
1351
44
submitted 4 months ago* (last edited 4 months ago) by Archaeopteryx@kbin.run to c/linux@lemmy.ml
 
 

Members of openSUSE Project are excited about the launch of Leap 15.6 on June 12 and encourages people to host a Release Party.

If you don’t know how to do this, there is a list of steps below on how to have a successful release party.

If you’re interested in hosting your own Release Party, there’s a handy checklist to help you plan a successful event:

  • Find a Date: A weekend date is usually best, but flexibility is key. Find a common date that works for most people.
  • Find a Place: A café, bar, or Linux group meetup location works great. Whether you opt for a coffee and cake party or a beer and pizza gathering, the key is to have fun.
  • Cake: While not essential, a cake adds to the celebration. You can also bake openSUSE cookies.
  • Pictures: Capture the moment with photos or videos and share them on social media. Tag openSUSE on X, Facebook, Mastodon, BlueSky or more.

There is already a plan to have people to meet virtually in the openSUSE Bar for the launch June 12. The virtual release party will feature members of the release team and community members. Join sometime on June 12 as participants from various countries are encouraged to join and interact with the openSUSE community.

Some will celebration the event in Nuremberg. Certainly people at the openSUSE Conference will highlight the release during the BBQ/Release Party.

These launch parties provide a chance for the community to connect with the people behind the project and to show an appreciation for contributors who make the release of Leap 15.6 possible. It's an excellent opportunity for the community to gather, celebrate and discuss the new release after months of development.

Schedule your release party today on the wiki and have a lot of fun!

More Information about openSUSE:

Official

Fediverse

(Image made with DALL-E)

1352
1353
1354
246
submitted 4 months ago* (last edited 4 months ago) by GravitySpoiled@lemmy.ml to c/linux@lemmy.ml
1355
1356
1357
1358
 
 

Hi everyone!

A few days ago, I had a problem while trying to run KDE and Gnome as DE on Fedora 40. That problem was solved (see crosspost), but now, I can't update Fedora anymore as it says "the transaction did not complete" and I can't install or uninstall anything as it says I don't have space on my disk (which is not true).

Does anyone have an idea what to do?

Edit: apparently dnf clean and dnf clean all solved the problem, so thank you everyone as I was kind of panicking when I thought about all the work involved into having my perfect install again.

publication croisée depuis : https://sh.itjust.works/post/20027102

Hi everyone!

Today I tried to install KDE alongside Gnome to give it a try on Fedora on something else than a virtual machine.

For a reason I can't understand, the terminal couldn't finish the installation of KDE as something failed. Despite all of this, all the KDE apps were installed and Plasma is appearing as an option on the login screen under Gnome and Gnome Classic. Still I couldn't launch KDE plasma and nothing was happening after typing my login.

I took it as a sign that KDE isn't for me, especially because I'm 99% happy with Gnome.

So I removed KDE via the terminal and the remaining apps via the software center. Sadly, there is one app called "Centre de bienvenue" or "Welcome center" from KDE that I can't remove. Nothing is happening when I try removing it.

I tried removing it via the terminal, but when I type "dnf list installed" I can't find it as there are too many packages. Could anyone help me?

I also tried « dnf list installed » with the words « welcome », « bienvenue », « kde » and « plasma ».

1359
 
 

I almost feel like this a somewhat pointless feature. It's almost easier to just learn the default ones as opposed to adding "-modernbindings" or creating an "enano" variant/copy.

1360
 
 

Is Linux not free software itself? I thought propietary stuff was added downstream.

Am I getting something wrong?

1361
 
 

For the past couple days, my Fedora 40 install has been hanging with kernel 6.8.10-300.

For the past couple days I've been booting from kernel 6.8.9-300 as whenever I try to boot from kernel 6.8.10-300 my boot gets stuck at: Job dev-mapper-cl\x2dswap.device/start

I've been trying to figure this out on my for a bit but as Fedora is now at kernel 6.8.11 the next update may remove kernel 6.8.9 as an option to boot from and I'm afraid I won't be able to boot from my system.

If anyone knows what is wrong or could give me some advice as to how to read that message I would appreciate it very much.

1362
 
 

Hopefully this is the right place to ask. Lemme know otherwise.

I got a Thinkpad W530 with Quadro K2000M GPU (Kepler). With coreboot, I was able to get around all the headaches related to Optimus only having the discrete GPU enabled.

The GPU itself is well-supported by nouveau driver, missing only a few features on the power management side of things.

Things are good when I run stuff natively. However, I have yet to figure out Flatpak. I know we use org.freedesktop.Platform.GL.* packages that are some kind of Mesa abstraction layer.

Things are much more straightforward with Intel and AMD GPU. It is actually quite easy with the proprietary NVidia driver, but it doesn't exactly come free.

The ultimate question is: Should I install one of those org.freedesktop.Platform.GL.nvidia-<ver> packages with my nouveau? If so, which version?

1363
 
 

Repost from: https://libreddit.nl/r/linux_gaming/comments/1d8qi81/phoronix_birthday_20_years_of_great_linux_content/

He really seemed downbeat in his announcements regarding the birthday. He really puts a lot of work into the site but having a niche audience of tech literate users is probably the worst place to be with ad sales tanking as they do. If anybody is using adblockers, it's us and people are cheap.

I really hope the guy has a nice birthday and gets lots of love and donations. The phoronix content is always great and I've been a long time reader. (I've donated the same amount as OP - see my screenshot)

1364
1365
 
 

Hi all, the private school I work at has a tonne of old windows 7/8 era desktops in a student library. The place really needs upgrades but they never seem to prioritise replacing these machines. Ive installed Linux on some older laptops of mine and was wondering if you all think it would be worth throwing a light Linux distro on the machines and making them somewhat usable for a web browsing experience for students? They’re useless as is, running ancient windows OS’s. We’re talking pre-7th gen i5’s and in some cases pentium machines here.

Might be pointless but wonder what you guys think?

1366
 
 

We've all heard it before: People claiming Linux isn't a viable alternative cause you can't run it without using the command line.

I decided to test that. Now there are several distros aimed at new users that have preinstalled GUI tools so you don't have to touch the Terminal. But I wanted to see if that's also possible on a distro not specifically aimed at fresh converts. The oldest distro with a large userbase, which a lot of people consider to be a "standard" Linux, is Debian, so default Debian with Gnome is what I'll use.

I consider "running an OS" to at least include booting it with full disk encryption, starting applications, connecting to a network, browsing the web, file management, installing updates and new software (both from the repos and third party sources), installing necessary drivers, setting up printing and scanning, and adjusting the looks and behaviour of the user interface.
So generally anything you'd be able to do on Windows without opening Powershell, CMD, Regedit or a text editor.

I guess I'm telling you nothing new when I say that you can install, boot, launch apps and browse the web on Debian without the command line.
It comes with a pre-installed software center, printer and scanner setup works out of the box from Gnome's settings.

Here's where it gets a little trickier: Scrolling on Firefox is rough, cause the preinstalled old version doesn't have Wayland support enabled. So you either have to enable Wayland support or install the Flatpak version of Firefox.
To enable Wayland, you have to write MOZ_ENABLE_WAYLAND=1 into /etc/environment. But the file manager doesn't let you edit system files without starting it as root from the command line. To add an "edit as admin" entry to the context menu in Nautilus, you need the nautilus-admin package which isn't available in the software center. It can be installed with Synaptic, a pre-installed GUI frontend for apt. But you still need to edit a system text file, which goes against the spirit of this challenge.
The other option requires enabling Flatpak for the Software Center. You can do that by installing gnome-software-plugin-flatpak using synaptic, then heading over to https://flathub.org/setup/Debian to download the flathub repo file which can be installed with a double-click and a reboot.
Note: Beginner-friendly distros ship with a newer Firefox version and Flatpak support out of the box.

To install any compatible binary on your system (like the Universal Android Debloater, for example), just copy it to any place you like. Install the menu editor alacarte and use it to add a menu entry for the file. Now you can launch it from within Gnome by clicking on its icon or using the global search.

Another issue is that during the boot process, you're already presented with the command line running boot messages by you, and the password prompt for the disk decryption is also on the command line. Also, the 5 second Grub countdown is kind of annoying. To make this prettier, we need to install grub-customizer, launch it, set the grub countdown to 0 and add the word splash at the end of your kernel parameters in the settings. This activates the "boot-prettifier" plymouth which is pre-installed but not activated by default. Again, pushing the boundaries of this challenge.
Note: Beginner-friendly distros come with pretty plymouth boot enabled by default.

To enable the non-free nvidia Driver, you need to enable non-free software during the GUI installation or in the Software Center settings, then install nvidia-driver from Synaptic, and reboot.
Note: Beginner-friendly distros come with a one-click NVidia driver install

To install Steam from the Debian repos, you'd need to enable Multi-Arch first, which isn't possible without the command line. Using the Flatpak version is your other option.
Note: Some beginner-friendly distros handle this for you as soon as you install a package that depends on multi-arch

tl/dr: It's possible to run and administer Debian for standard tasks without touching the command line. It's just generally faster to use the terminal if you know what you're doing.
Distros like Ubuntu, Mint, Zorin or Pop!_OS (possibly also Manjaro which I have no experience with) remove the remaining roadblocks. The only time you'll always need the command line is to fix issues you have with help from other users, because it's much, much easier to just post the right terminal commands online than to guide you through whichever GUI you might be using.

Anyone who's ever followed a Windows troubleshooting guide knows what I'm talking about.

1367
1368
1369
 
 

Hello,

I'm interested in using the BCM5719 (specifically, the Dell BCM5719 NetXtreme 4x PCIe Network Card) with the open-source firmware replacement. Can it work with regular computers (e.g., Dell Precision T1700 MT)? I was reading through the docs and saw that it only lets you build two versions, one for the Talos II and one for the Blackbird. If not, could this possibly be reworked to work on regular computers?

Thanks!

1370
 
 

I see there are several different ways to install OSRS on Linux - flatpaks, Android emulators, Steam, etc. - but can anyone recommend the best as far as ease of setup? With lack of glitches being the second priority?

I have an AMD GPU that is quite recent (<5 years)

1371
1372
 
 

TabbyML is a self-hosted code assistant. I have been unsuccessful at running it using my Nvidia GPU. There's two ways I've tried to deploy this.

As a docker container

Following the docs, it states I run the following docker run command. Below is what I run, modified to use the correct port:

docker run -it --gpus all \
  -p 11029:8080 -v $HOME/.tabby:/data \
  tabbyml/tabby serve --model StarCoder-1B --device cuda

Then I get the following error:

docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].

So this would appear that I don't have the "nvidia-container-toolkit" installed on my machine. So I go ahead and enable this in nixos:

hardware.nvidia-container-toolkit.enable = true;

To validate that this works, I should be able to run nvidia-smi from within a container. I can run this from the host without issue:

$ nvidia-smi
Wed Jun  5 08:14:50 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.78                 Driver Version: 550.78         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
...and so on

But if test this from a container, as the nvidia docs suggest as follows, I unable to access it from within the container.

$ sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi
docker: Error response from daemon: unknown or invalid runtime name: nvidia.

Okay, so I go and read the instructions further. Install instructions state that after installation, I need to configure the runtime like so:

$ sudo nvidia-ctk runtime configure --runtime=docker
sudo: nvidia-ctk: command not found

Ah nuts. That's a bug in nixos. I made a PR for this here: https://github.com/NixOS/nixpkgs/pull/317199 Still awaiting results from this. I don't know if this is a bug that will be backported to 24.05. Regardless, I wouldn't expect this ad-hoc configuration when I enable the nvidia-container-toolkit option in NixOS. Anyway, this option could still work but with some more time. If you have advice doing this let me know.

FOUND Docker method solution

So looking closer at people with the error message "no such runtime nvidia" I found this thread. It specifies that what nvidia-ctk is supposed to do is add a "runtime" that points to the nvidia-container-runtime executable. So I tried manually adding that my nixos configuration by using the virtualisation.docker.daemon.settings options. I was having trouble getting that working, because I needed to find the exact path to the nvidia-container-runtime executable. If you know Nix, you know that it isn't just in /usr/bin/.

But that's still not a satisfying solution anyway...I shouldn't have to this. I went in deeper and looked at module for nvidia-container-toolkit. This module calls a script called cdi-generate.nix. It outputs the results of nvidia-ctk to a file called nvidia-container-toolkit.json.

Let's go look for that file...can't find it. I do more searching...anyway, I found the solution.

The nvidia-container-toolkit is a new option in NixOS 24.05. It explicitly states in the release notes that it is supposed to replace the now deprecated virtualisation.{docker, podman}.enableNvidia options. Well, when you go look at the module that defines docker.enableNvidia you see it there at the bottom! This file actually defines the nvidia runtime!

And yes, it works. Using the now "deprecated" option is the one that actually works. I guess this is another bug to file to NixOS.

This seems to work so far, but I don't know why the solution using a NixOS module doesn't work either.

As a NixOS module

Let's just do it the full NixOS module way (which is what I tried first). That should be easy. Let's enable the feature and set some options:

services.tabby = {
    enable = true;
    port = 11029;
    acceleration = "cuda";
  };
  networking.firewall.allowedTCPPorts = [ 11029 ];

It appears to be working! VSCodium extension sees the server and prompts for a authentication token. I add the token. I type some code and set for a manual trigger...then tabby dies. Let''s look at the systemd logs.

tabby[76786]: 📄 Version 0.11.1
tabby[76786]: 🚀 Listening at 0.0.0.0:11029
tabby[76786]:   JWT secret is not set
tabby[76786]:   Tabby server will generate a one-time (non-persisted) JWT secret for the current process.
tabby[76786]:   Please set the TABBY_WEBSERVER_JWT_TOKEN_SECRET environment variable for production usage.
systemd[1]: tabby.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: tabby.service: Failed with result 'exit-code'.
systemd[1]: tabby.service: Consumed 2.285s CPU time, received 121.0K IP traffic, sent 1.6M IP traffic

That's it. It's not very descriptive about what happened. I've had success running it this way using the "cpu" option for acceleration (no GPU) but that's too slow to be useful.

GPU specs

I am running a Nvidia RTX 2060 and using the proprietary drivers version 550.

Thanks for the read, if you have any input on what to do next let me know what I can try. Ideally, I'd like to have both options work, since I think the docker implementation may have the same problem as the NixOS module option.

1373
117
submitted 4 months ago* (last edited 4 months ago) by boredsquirrel to c/linux@lemmy.ml
 
 

Hi, I want to do an "awesome things" list with BTRFS tools

Help me gather them?

Update: see here

General

BTRFS CLI Interface

btrfs-progs

official userpace utilities

BTRFS Assistant

Tool for doing many BTRFS actions graphically

It requires snapper and offers a GUI for it.

butter-manager

Tool for managing snapshots, balancing filesystems and upgrading the system safetly.

Backups & Snapshots

btrbk

Backup utility using BTRFS

Snapper

General system snapshot utility with BTRFS support, used in OpenSUSE Tumbleweed by default. There are also plugins for Fedoras dnf and for Arch pacman.

Timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.

Currently maintained by LinuxMint, even though they dont use BTRFS by default, it works better there.

libtuikit / transactional-update

Used in OpenSUSE microOS and the Desktop variants.

provides an application and library to update a Linux operating system in a transactional way, i.e. the update will be performed in the background while the system continues running as it is. Only if the update was the successful as a whole the system will boot into the new snapshot.

Available as a library for other distros.

Yet Another BTRFS Snapshotter

Alternatives don't supports customized of snapshot location, (e.g. Arch recommended layout). Adhering to such layouts, and rolling back using them, sometime involve non-obvious workarounds. The motivation for yabsnap was to create a simpler, hackable and customizable snapshot system.

btrfs-autosnap

There are 2 separate projects with that name

grub-btrfs

Set BTRFS snapshots as boot options

[btrfs-sxbackup])https://github.com/masc3d/btrfs-sxbackup)

Incremental btrfs snapshot backups with push/pull support via SSH

Small CLI tools

btrfsd - tiny Btrfs maintenance daemon

Btrfsd is a lightweight daemon that takes care of all Btrfs filesystems on a Linux system.

It can:

  • Check for detected errors and broadcast a warning if any were found, or optionally send an email
  • Perform scrub periodically if the system is not on battery
  • Optionally schedule balancing operations as well

dupreremove

Tools for deduplicating file systems

compsize

Takes a list of files on a btrfs filesystem and measures used compression types and effective compression ratio

Used in flatpak-dedup-checker

btdu

sampling disk usage profiler for btrfs For multiple reasons, classic disk usage analyzers such as ncdu cannot provide an accurate depiction of actual disk usage. (btrfs compression in particular is challenging to classic analyzers, and special tools must be used to query compressed usage.)

btrfs-list

Helps listing directories

btrfs-fuse

A read-only btrfs implementation using FUSE (Filesystem in Userspace). Although btrfs is already in mainline Linux kernel, there are still use-cases for such read-only btrfs implementation:

btrfs debugger

The btrfs debugger (pronounced "buttered").

btrd is a REPL debugger that helps inspect mounted btrfs filesystems. btrd is particularly useful in exploring on-disk structures and has full knowledge of all on-disk types.

ntfs2btrfs

a tool which does in-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs, much as btrfs-convert does for ext2. The original image is saved as a reflink copy at image/ntfs.img, and if you want to keep the conversion you can delete this to free up space.

Consists of a Windows and a Linux executable. Does not work on the primary drive.

WinBTRFS

filesystem driver for Windows

Partition managers with support

  • KDE-Partitionamanger
  • GNOME-Disks
  • blivet-gui (Fedora Anaconda setup)
  • gparted ?

Data recovery

When having deleted or corrupted data on a BTRFS partition, these tools can help:

Testdisk?

  • photorec?

Scalpel?

R-Linux

Freeware, not FOSS? Not related to R and "R-Studio" is also not related to RStudio

BTRFS bindings

These allow you to do BTRFS actions in many programming languages

1374
 
 

I found these: Scalpel - but no longer maintaned. PhotoRec - but I don't know how well it works with Btrfs.

Maybe you have something better.

1375
 
 

Current prerelease is 1.2.5

1.2.4 is the first to introduce experimental Wayland support. Especially on KDE Plasma there are supposed to be some issues.

Lets test!

Why?

Regular RDP/VNC programs are hard to use in real scenarios, as they rely on IP addresses. RustDesk is easier as it uses a Rendezvouz server that can also be selfhostet or reimplemented.

view more: ‹ prev next ›