Linux - Reddit – Telegram
Linux - Reddit
764 subscribers
4.19K photos
207 videos
39.9K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Which book to use to learn linux formally?

Hi everyone, I've been using linux for several years in different ways and instances. Everything I learned was on the go or on the job but I'm wondering what would be a good book to use as a formal learning resource. Which one would you recommend?

https://redd.it/1maw506
@r_linux
Finally switched to Linux!
https://redd.it/1mb4vjj
@r_linux
8 hours of instalation... I finally have Arch!

On a F**KING pendrive! How? Why? I followed official guide and few YT tutorials.

\- I have EFI partition and grub on pendrive
\- Somehow disabled my wifi card in process
\- After final reboot my password doesn't work

I was trying to revive my old Chromebook. Whole instalation was painfully slow (now I know why)
BTW that was my first ever attempt to use terminal, or linux in general. Its 4AM :(


It feels like playing Dark Souls, and I love Dark Souls so... I'm gonna install that stupid thing, no matter how much time it will take.

https://redd.it/1mb4pth
@r_linux
Fix UPSilon 2000 installer on Ubuntu 24.04 – missing libncurses5/libtinfo5 & copy abort

# Fix for UPSilon 2000 v5.5 software installer for Ubuntu 24.04 / Debian 12 (for UPSilon 2000 UPS)

GitHub repo to download patched install.linux: https://github.com/MarsTheProtogen/upsilon-linux-fix

# NOTES:

not sure if this is the right place to put this post, feel free to suggest a relocation

The patched noscript simply skips upsilon.eml and upsilon.pgr if they’re missing.

>If you need {

>Email updates;

>SMS updates;

>}

>then {

>put the needed helper noscripts into /etc/upsilon/

>}

# 1. Install the missing library (libtinfo5)

# grab the last maintained build
wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo56.3-2ubuntu0.1amd64.deb

# install
sudo apt install ./libtinfo56.3-2ubuntu0.1amd64.deb

*32‑bit uses the i386 deb instead.)

# 2 Replace the install.linux with this patched one

Patched noscript:

#!/bin/sh
# Patched UPSilon 2000 installer – July 2025 by MarsTheProtogen on github
# - Quotes variables (supports paths with spaces)
# - Skips optional helper files (upsilon.eml / upsilon.pgr) if absent
# - Auto‑symlinks libncurses.so.5 & libtinfo.so.5 → .so.6 when packages are missing
# (so the program starts even if only the -6 libs are present)

PROG=rupsd
INSTALL_DIR="$(pwd)"
PROGRAM_DIR=/etc/upsilon

echo "Linux 2.x INSTALL FOR UPSilon 2000 (patched)"

[ "$(id -u)" -eq 0 ] || { echo "Run as root."; exit 1; }

echo "UPSilon 2000 will be installed to $PROGRAM_DIR."

# stop any running daemon
[ -x "$PROGRAM_DIR/upsilon" ] && "$PROGRAM_DIR/upsilon" stop 2>/dev/null

# backup previous install
[ -d "$PROGRAM_DIR" ] && { rm -rf "$PROGRAM_DIR.old"; mv "$PROGRAM_DIR" "$PROGRAM_DIR.old"; }

mkdir -p "$PROGRAM_DIR"

echo -n "Copying files "
for f in rupsd upsilon email pager shutdown.ini rups.ini preshut.bat upsilon.eml upsilon.pgr; do
if [ -s "$INSTALL_DIR/$f" ]; then
cp "$INSTALL_DIR/$f" "$PROGRAM_DIR" && echo -n "."
fi
done
echo " OK"

chmod 544 "$PROGRAM_DIR/rupsd"
chmod 555 "$PROGRAM_DIR/upsilon"

# add legacy lib symlinks if packages not installed
for lib in ncurses tinfo; do
ldconfig -p | grep -q "lib${lib}.so.5" || {
[ -e /lib/x86_64-linux-gnu/lib${lib}.so.6 ] && \
ln -sf /lib/x86_64-linux-gnu/lib${lib}.so.6 /lib/x86_64-linux-gnu/lib${lib}.so.5
}
done
ldconfig

"$PROGRAM_DIR/upsilon" reginit
"$PROGRAM_DIR/upsilon" start && echo "Installation completed!"

Save it over the existing install.linux and:

# make sure the file is exicuteable
chmod +x install.linux

# 2.5 make sure that there are no actively running upsilon processes

>the installer may say \
*Please stop the UPSilon 2000 background process** you will need to list the current upsilon processes twice in case the first one you see isn't "actually" doing stuff

ps aux | grep -i upsilon

# you should see something like:
$ ps aux | grep -i upsilon
user 2573 0.0 0.1 15480 5556 ? Ssl 14:02 0:00 /etc/upsilon/rupsd
user 2589 0.0 0.0 9212 2168 ? Ss 14:02 0:00 /etc/upsilon/upsilon

$ ps aux | grep -i upsilon
user 2573 0.0 0.1 15480 5556 ? Ssl 14:02 0:00 /etc/upsilon/rupsd
user 3690 0.0 0.0 9212 2168 ? Ss 14:02 0:00 /etc/upsilon/upsilon

you want to sudo kill 2573 as it's an process that's doing something

# 3 Run the installer

sudo ./install.linux

>you may need to try 2.5 again and/ or sudo /etc/upsilon/upsilon stop

# 4 Register & configure without the CLI

the CLI doesn't work for me, so I manually changed the .ini file

THIS MAY NOT WORK

>there is a warning saying protection will be disabled after 30 days is not registered properly, and as of this post's creation, not tested by time
# stop daemon
sudo /etc/upsilon/upsilon stop

# edit registration info
sudo nano /etc/upsilon/rups.ini
# REGISTRATION
# CDKEY=AAAAAAA-BBBBBBB
# EMAIL=you@example.com
# PASSWORD=


# flush cache & restart
sudo /etc/upsilon/upsilon reginit
sudo /etc/upsilon/upsilon start
sudo /etc/upsilon/upsilon status # shows voltage, battery, etc.

# extra upsilon commands

|Path (as root)|Purpose / Action|Typical use‑case or note|
|:-|:-|:-|
|/etc/upsilon/upsilon start|Start the background daemon (rupsd).|Run at boot via rc.local; use manually for testing.|
|/etc/upsilon/upsilon stop|Gracefully stop the daemon.|Always try this before any pkill brute‑force.|
|/etc/upsilon/upsilon restart|Convenience wrapper: stop → 1 s wait → start.|Useful after editing rups.ini.|
|/etc/upsilon/upsilon status|One‑shot status dump (line‑voltage, battery %).|Quick health check from the shell.|
|/etc/upsilon/upsilon config|Launch the text‑mode parameter editor.|Change serial port, shutdown timer, etc.|
|/etc/upsilon/upsilon reginit|Flush license cache & reread rups.ini.|Run after you edit CD‑Key or e‑mail by hand.|
|/etc/upsilon/upsilon issuer|Send direct commands to the UPS (on/off, test).|Advanced / diagnostic only.|
|/etc/upsilon/upsilon help|Bare‑bones help screen (same text as README).|Shows key bindings.|
|/etc/upsilon/upsilon.eml|Helper noscript for e‑mail alerts (shell noscript).|Called automatically when you enable e‑mail events.|
|/etc/upsilon/upsilon.pgr|Helper noscript for pager/SMS alerts.|Legacy dial‑out; safe to leave empty if unused.|
|/etc/upsilon/rupsd|The actual daemon binary UPSilon controls.|Started by upsilon start; seldom called directly.|
|/etc/upsilon/rups.ini|Main INI file: CD‑Key, serial port, timers, etc.|Edit in a text editor, then run reginit.|
|/etc/upsilon/rupslog|Rolling event log (plain text).|View with tail -f or any log watcher.|

#

https://redd.it/1mb74s5
@r_linux
Tor removed fingerprint protection, linux users more exposed

This is very concerning https://www.youtube.com/watch?v=3wlNemFwbwE

Linux and Tails users should be concerned and informed, if you are a political dissident living in a dictatorship and using Tor or tails you should know that this will expose you to your country intelligence cybersecurity services.

https://redd.it/1mbemq1
@r_linux
Today is my first day using Linux, and I feel God in this OS.

https://preview.redd.it/5pjv6gy2tiff1.jpg?width=1209&format=pjpg&auto=webp&s=5149551b440499e6cb455734256b9aa73cd502bf

Long time lurker, first time post on this sub!

I never touched Linux before until now. I avoided it for so long because I thought it was too hard to learn, and quite frankly, I for some reason thought Linux was *just* a command prompt / terminal. Part of me wishes I had tapped into Linux 10 years ago, but the other part of me is happy to have experienced OS X / macOS and Windows beforehand.

Over the weekend, I successfully uninstalled Windows 11 Pro and swapped it with a fresh install of Linux Mint, and I honestly can't believe how much joy it's bringing me. The installation process was stupid simple. Everything seems so clean and simplistic. I love that Firefox is the default browser. I love that the Firewall module has a straightforward and non-complex explanation of what each setting is. I love that Matrix is available to communicate with other Linux Mint users for discussions and troubleshooting (similar to Linux subs on here). All I've done was install the OS and tweaked some settings, and I feel very in control of this operating system.

That said, my long-term goals are to use this as my primary OS / workstation once I migrate everything from my Mac Mini, and stretch it across my triple 27" monitors. Use cases will be general browsing, possible gaming, and potentially the start of a home lab. I'm pretty excited to do a deep dive.



System specs listed below:

\- Device: Dell XPS 17

\- OS: Linux Mint 22.1 Cinnamon

\- Processor: 13th Gen Intel Core i7-13700H x 14

\- Memory: 32 GB RAM

\- Hard Drive: 2 TB



Feedback, questions, recommendations, suggestions all welcome!

https://redd.it/1mbfusp
@r_linux
I've created a lightweight tool called "venv-stack" to make it easier to deal with PEP 668 on Linux

Hey folks,

I just released a small tool called venv-stack that helps manage Python virtual environments in a more modular and disk-efficient way (without duplicating libraries), especially in the context of PEP 668 on Linux, where messing with system or user-wide packages is discouraged.

https://github.com/ignis-sec/venv-stack

https://pypi.org/project/venv-stack/

# Problem

PEP 668 makes it hard to install packages globally or system-wide-- you’re encouraged to use virtualenvs for everything.
But heavy packages (like torch, opencv, etc.) get installed into every single project, wasting time and tons of disk space. I realize that pip caches the downloaded wheels which helps a little, but it is still annoying to have gb's of virtual environments for every project that uses these large dependencies.
So, your options often boil down to:
Ignoring PEP 668 all-together and using --break-system-packages for everything
Have a node\_modules-esque problem with python.

Here is how layered virtual environments work instead:

1. You create a set of base virtual environments which get placed in \~/.venv-stack/
2. For example, you can have a virtual environment with your ML dependencies (torch, opencv, etc) and a virtual environment with all the rest of your non-system packages. You can create these base layers like this: `venv-stack base ml`, or `venv-stack base some-other-environment`
3. You can activate your base virtual environments with a name: `venv-stack activate base` and install the required dependencies. To deactivate, `exit` does the trick.
4. When creating a virtual-environment for a project, you can provide a list of these base environments to be linked to the project environment. Such as `venv-stack project . ml,some-other-environment`
5. You can activate it old-school like `source ./bin/noscripts/activate` or just use `venv-stack activate`. If no project name is given for the activate command, it activates the project in the current directory instead.

The idea behind it is that we can create project level virtual environments with symlinks enabled: `venv.create(venv_path, with_pip=True, symlinks=True)` And we can monkey-patch the pth files on the project virtual environments to list site-packages from all the base environments we are initiating from.

This helps you stay PEP 668-compliant without duplicating large libraries, and gives you a clean way to manage stackable dependency layers.

Currently it only works on Linux. The activate command is a bit wonky and depends on the shell you are using. I only implemented and tested it with bash and zsh. If you are using a differnt terminal, it is fairly easy add the definitions and contributions are welcome!

# Target Audience

`venv-stack` is aimed at:

Python developers who work on multiple projects that share large dependencies (e.g., PyTorch, OpenCV, Selenium, etc.)
Users on Debian-based distros where PEP 668 makes it painful to install packages outside of a virtual environment
Developers who want a modular and space-efficient way to manage environments
Anyone tired of re-installing the same 1GB of packages across multiple .venv/ folders

It’s production-usable, but it’s still a small tool. It’s great for:

Individual developers
Researchers and ML practitioners
Power users maintaining many noscripts and CLI tools

# Comparison

|Tool|Focus|How venv-stack is different|
|:-|:-|:-|
|virtualenv|Create isolated environments|venv-stack creates layered environments by linking multiple base envs into a project venv|
|venv (stdlib)|Default for environment creation|venv-stack builds on top of venv, adding composition, reuse, and convenience|
|pyenv|Manage Python versions|venv-stack doesn’t manage versions, it builds modular dependencies on top of your chosen Python install|
|conda|Full package/environment manager|venv-stack is lighter,
uses native tools, and focuses on Python-only dependency layering|
|tox, poetry|Project-based workflows, packaging|venv-stack is agnostic to your workflow, it focuses only on the environment reuse problem|

https://redd.it/1mbj7r1
@r_linux
I recently switched to Linux (Fedora KDE to be specific) instead of "upgrading" to Windows 11. Looking at posts like these makes me even more glad that I never bothered with Windows 11
https://redd.it/1mbl7xd
@r_linux
Can't double click on kde neon!?

I'm on kde neon
Have a Roccat burst pro
A 2017 MacBook pro
I'm a newbie
Minecraft player
Switched from windows could double click on windows but not MacBook

Ignore:
Jsjdjjdndnsjdjyhnsjsjdienjsndjkdoqndjofowndjdjdjdmsndndnnd

https://redd.it/1mbnn1f
@r_linux
Why I switched to Linux as someone who once never would have

I am a software engineering student currently in uni. Up until pretty recently, I would've never thought to switch to Linux. The reasons were:

\- Security just isn't a big deal for the average person

\- Can't play games (or as good as windows)

\- It seemed pretty nerdy (i know, shouldn't be a negative reason lol)

\- It looked like id have to learn a new programming language to open the settings app on linux. I also saw a post about a guy who accidently wiped his drive and his home server while trying to get steam to work once, soo that was pretty scary.

\- Windows better! (?)

But since then, both the world and I've changed. Both pretty significantly, in my opinion.

Over the last year or so I've begun pursuing AI Engineering as a field in software engineering. However, this also made me realize that AI is the harbringer of the ultimate privacy nightmare. While the average person should have had little concern about getting tracked by agencies (because it was costly for those agencies to track people, thus they didn't pursue average people as heavily), AI automations are now beginning to make it a reality. Those of you familiar with defense or cybersecurity news must already be aware that people may begin (or may already have begun) getting profiled en masse by certain companies utilizing AI. We are yet to see the effects of this, but as someone who somewhat understands the field I believe that the threats are very real. I've thus begun to seek ways to make my data harder to access, shifting many of my utilities to proton, switching to linux and considering a home server system etc. for this reason

I also stopped playing games, and as a software engineering student I no longer get as scared by the terminal, though I am still pretty cautious and have begun learning the basics.

Windows also stopped being "better" in my experience. Win 11 more OneDrive enforcement, more weird features that they force you to use and most importantly more lag. My pc with 8gb of ram and a ryzen 5500u should not lag while using a browser, its not acceptable.

So the privacy concerns, windows itself and my curiosity towards coding pushed me into Linux, though I could have sworn 9 months ago that I would never use it.

What do you guys think? Im curious to know your perspective on the privacy argument i have, aswell as curious to hear what was your reason for switching

Oh, and linux is pretty nerdy lol

https://redd.it/1mbq3m9
@r_linux
Hyprperks: a new official subnoscription to support Hyprland development.
https://hypr.land/news/hyprperks/

https://redd.it/1mbqb5d
@r_linux
My Boeing 737 uses Linux
https://redd.it/1mbtm16
@r_linux
Hellwal (color palette generator) mature release!
https://redd.it/1mbz6q8
@r_linux
Should I install Linux if I am learning C# programming? and if yes, what distro should I use? Arch or Debian?
https://redd.it/1mc1as8
@r_linux