this post was submitted on 23 Aug 2024
446 points (94.8% liked)

linuxmemes

20725 readers
1549 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

I've been transitioning to Linux recently and have been forced to use github a lot when I hadn't much before. Here is my assessment.

Every github project is named something like dbutils, Jason's cool photo picker, or jibbly, and was forked from an abandoned project called EHT-sh (acronym meaning unknown) originally made by frederick lumberg, forked and owned by boops_snoops and actively maintained by Xxweeb-lord69xX.

There are either 3 lines of documentation and no releases page, or a 15 page long readme with weekly releases for the last 15 years and nothing in between. It is either for linux, windows, or both. If it's for windows, they will not specify what platforms it runs on. If it's for Linux, there's a 50% chance there are no releases and 2 lines of commands showing how to build it (which doesn't work on your distro), but don't worry because your distro has it prepackaged 1 version out of date and it magically appears on flatpak only after you've installed it by other means. Everything is written in python2. It is illegal to release anything for Mac OS on github.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 100 points 3 weeks ago (5 children)

Wait until you install some package and then scratch your head not knowing how to run it.

[–] [email protected] 44 points 3 weeks ago

Then think “I’ll figure it out later” but you never do. Only to be reminded of it a month later when you happen to see it scroll by in an apt-or-whatever package upgrade.

“Oh yeah, I forgot about that. I should check that thing out again” you think to yourself. But you never do. Repeat for eternity.

[–] [email protected] 36 points 3 weeks ago (7 children)

Helix Editor did this to me. They have so much documentation on their site about how to use the editor, how to extend it, theme it, etc., etc. What they didn't seem to document, though, is that the binary is named hx, not helix :/

[–] [email protected] 15 points 3 weeks ago (3 children)

When I'm confused like that, I check https://packages.debian.org and open the file list for the package. That way I know what binaries are installed.

load more comments (3 replies)
[–] [email protected] 8 points 3 weeks ago

The fun part is that as a dev, you don't really know that either. It's just the file name of the executable. Anyone can rename that.
And even if it's not renamed, you still don't know, if your users need to call it with just hx or with ./hx or some other path.

Obviously, you should mention somewhere that the executable is likely called hx, but because that requires an explanation, there's certainly a tendency to not mention it very often...

load more comments (5 replies)
[–] [email protected] 10 points 3 weeks ago (1 children)

Devs who make the -h command actually useful are modern day saints.

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 83 points 3 weeks ago (1 children)

Interesting how we live in different bubbles ✌️

[–] [email protected] 52 points 3 weeks ago (1 children)

Yes the world of github and linux is vast and I am like a newborn baby. I hope to visit your bubble one day my friend.

load more comments (1 replies)
[–] [email protected] 62 points 3 weeks ago (4 children)

your distro has it prepackaged 1 version out of date

found the ubuntu user :D

load more comments (4 replies)
[–] [email protected] 58 points 3 weeks ago
[–] [email protected] 47 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

Just a small (or maybe big?) tip for you 🙂

If it's for Linux, there's a 50% chance there are no releases and 2 lines of commands showing how to build it (which doesn't work on your distro), but don't worry because your distro has it prepackaged 1 version out of date

There's a tool called Distrobox.
You can install it (via CLI I think?), and then manage it the easiest graphically way via BoxBuddy (available in your Software Center), or just the terminal if you prefer it.

With it, you can screw all those "Doesn't work on my distro" moments.

You're on Linux Mint? No problems, here's the AUR for you!

✨✨✨ BONUS: Your OS won't break anymore randomly due to some AUR incompatibility, because everything is containerized! ✨✨✨

Even if you run Arch, use it to install AUR stuff. Or Debian/ Ubuntu, add PPAs only via Distrobox.

It's absolutely no virtual machine. It basically only creates a small, lightweight container with all dependencies, but it runs on your host. Similar to Flatpaks.

You can also export the software, and then it's just like you would have installed it natively!
Your distro choice doesn't matter anymore. You now can run any software written only for Suse, an abandoned Debian version 10 years ago, Arch, Fedora, Void, whatever. It's all the same.

I hope that was helpful :)

[–] [email protected] 13 points 3 weeks ago (2 children)

That's great, but it should still be possible and well documented for people to run things natively. Some people want less bloat for technical reasons (maintaining a product with very little storage or memory). Tinycore Linux is my go-to example of the benefit of keeping things lightweight for a purpose.

[–] [email protected] 9 points 3 weeks ago (7 children)

When you're maintaining a product that is based on linux, you're surely qualified to port that thing to your platform yourself.

Open source developers are thanklessly giving away their work for free already, and for the many things where there's just a github page it is just a one man show run in spare time. Don't demand them to give away even more of their time to cater for whatever distro you're using, just because you are not willing to invest the time to learn how linux works and also not willing to give a way a few megabytes for the dependencies they're developing against.

All the discussions about things like distrobox and flatpak where linux novices express their dissatisfaction due to increased disk space are laughable. In the linux universe sole users have no power in deciding what goes, they do not pay anything and at worst pollute the bug tracker. Developers are what make up the linux universe, and what appeals to them is what is going to happen. Flatpak is a much more pleasant experience to develop for than a gazillion distros, hence this is where it is going, end of story. As a user either be happy with wherever the linux rollercoaster goes, or - if you want to see change- step up and contribute.

load more comments (7 replies)
load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 30 points 3 weeks ago (2 children)

your distro has it prepackaged 1 version out of date

And the only reason you wanted to install the thing is because it's a prerequisite for some other thing you wanted to install, which requires the latest version.

load more comments (2 replies)
[–] [email protected] 30 points 3 weeks ago (2 children)

Be the change you want to see in the world.

I'm currently in the process of updating Slackware's documentation, some of which hasn't been touched in 12 years.
It's completely out of date, so no one uses it anymore.
And because no one uses it, no one updates it.

[–] [email protected] 14 points 3 weeks ago (4 children)

You're doing "Bob's" work son, thank you for your service!

As a devout SubGenius myself it is my destiny to use Slackware one day but alas I fear it is currently above my skill level, more documentation will help people like me greatly! PRABOB!

1000003261

load more comments (4 replies)
load more comments (1 replies)
[–] [email protected] 27 points 3 weeks ago (1 children)

When I first moved to linux I felt this same way. It gets better. Now days I fucking love those 15 page ReadMes and I'm not bothered if there's no steps for my distro. The sheer volume of documentation surrounding linux packages is insane. There's often a ton of ways to configure and manage the to fit your needs. That freedom is what I love so much about linux.

As for the ones with 2 lines, I don't think I've seen that as much. I generally would avoid them unless the source was clear what the project did.

At any rate there will come a day when it starts to click. It's just a marathon not a sprint.

load more comments (1 replies)
[–] [email protected] 27 points 3 weeks ago (3 children)

If your distro was arch, you most likely have the nightly build available on the AUR

[–] [email protected] 26 points 3 weeks ago (10 children)

Aur and pacman are 90% of why I use arch.

Also fyi to OP: never install software system-wide without your package manager. No sudo make install, no curl .. | sudo bash or whatever the readme calls for. Not because it's unsafe, but because eventually you're likely to end up with a broken system, and then you'll blame your distro for it, or just Linux in general.

My desktop install is about a decade old now, and never broke because I only ever use the package manager.

Of course in your home folder anything goes.

[–] [email protected] 6 points 3 weeks ago (4 children)

Also fyi to OP: never install software system-wide without your package manager. No sudo make install, no curl .. | sudo bash or whatever the readme calls for.

And that is why Linux isn't ready for mass adoption.

I had to fuck around for hours to make my wifi adapter work and everyone was referencing this one project on GitHub and the way to install it and what actually worked was to sudo make install.

You're the first person I see that's saying not to do that, I had to use instructions from the Linux Mint forum to try and get it installed the first time and no one mentioned that, I found alternative projects but none of them had clear instructions "You must have installed X, Y, Z first" without any explanation how to do it.

So, for new users, Linux is all about blind trust in strangers to make stuff work and if you have no interest in learning programming that's what your experience will continue to be.

load more comments (4 replies)
load more comments (9 replies)
load more comments (2 replies)
[–] [email protected] 26 points 3 weeks ago (2 children)
[–] [email protected] 8 points 3 weeks ago

One good alternative: codeberg.org

[–] [email protected] 6 points 3 weeks ago (2 children)
[–] [email protected] 28 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

The kernel repo on github is just a mirror. You probably knew, but they use just git.

[–] [email protected] 13 points 3 weeks ago

I just wanted to make a joke, but tbh I really didn't know so thanks for telling me

[–] [email protected] 6 points 3 weeks ago

Torvalds actually hates GitHub

[–] [email protected] 22 points 3 weeks ago

Yeah. Pretty much.

The worst part about free Linux programs is that they have 0 visibility or marketing.

Almost everything I know of is from other people whom are far more passionate about keeping track of the foss landscape.

Sorry, guys I don't check AUR every night before bedtime.

[–] [email protected] 21 points 3 weeks ago (4 children)

As someone who works fairly extensively with all three major platforms... You're definitely wrong about macOS here. Almost everything on GitHub that works on Linux also works on Mac, aside from GUI applications which are often more OS dependent. The readme pages often just lump Mac and Linux together as they can be pretty similar, especially for things written for interpreted languages (python) where it's often literally the same.

[–] [email protected] 6 points 3 weeks ago (7 children)

I recently bought a MacBook Air M1 and I came at it from a classic "ThinkPad with Fedora on it" Linux nerd perspective. I got given a Mac at work a couple of years ago, and I warmed to it. I agree that Macs are great tools for DevOps work. I used to think they were just for posers but I've been converted.

load more comments (7 replies)
load more comments (3 replies)
[–] [email protected] 20 points 3 weeks ago

I release a lot of my software in GitHub and I’m offended at how accurate this is.

[–] [email protected] 20 points 3 weeks ago (7 children)

wait, does apple let users access github?

load more comments (7 replies)
[–] [email protected] 19 points 3 weeks ago

GitHub is a place you can use to easily put a copy of your code online. Many people just want to build a working solution and move on. Building a useful GitHub project, with fancy stuff like releases, is work that isn't really solving any issues. Many people don't like doing it. Many people especially don't want to invest time in proprietary solutions like GitHub. They might not even accept pull requests on GitHub.

Quality assessment though 😄

[–] [email protected] 18 points 3 weeks ago (1 children)

OP listened to some trolls and unironically picked Gentoo as their first distro.

load more comments (1 replies)
[–] [email protected] 15 points 3 weeks ago (1 children)

People ask for money from Mac users.

They bought the hardware... So they'll buy the software too!

load more comments (1 replies)
[–] [email protected] 15 points 3 weeks ago (3 children)

Learn to read code (git gud) /s but it's the only way to be sure (nuke from orbit)

Or, look at the stars...

load more comments (3 replies)
[–] [email protected] 12 points 3 weeks ago

Where's the meme

[–] [email protected] 12 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I don't understand this experience. I've been using Linux for 20+ years and I don't have this problem.

Maybe I'm just a really boring user.

Edit, on further thought, I know I am a boring user, so ignore this I guess.

load more comments (1 replies)
[–] [email protected] 11 points 3 weeks ago* (last edited 3 weeks ago)

What's your bubble of interests? I mean I've seen Github projects where that description fits very VERY well. Usually when I'm attending to some very niche hobbies. Or try to get some exotic electronics from 20 years ago running again... With the everyday tools it's most of the times some active community and I copy and paste the 3 commands and I have it installed successfully.

[–] [email protected] 11 points 3 weeks ago (1 children)

"It magically appears in flatpak only after you've installed it by other means"

I kid you not this happened to me 3 times already.

load more comments (1 replies)
[–] [email protected] 9 points 3 weeks ago

How did you describe my repositories so perfectly?

[–] [email protected] 8 points 3 weeks ago (1 children)

You get used to how to find the right way of doing stuff. If you're still in the Windows biased search results space, everything FOSS is made to look sketchy. Those search results are not deterministic. That bias is intentional. Eventually Microsoft stops biasing you or bribing Google to do the same and your search results will be better. Then you stop using the search results all together for the most part. You'll figure out that the ways you did things in the past were inefficient and usually wrong. There are better ways that you'll discover and those repos are self hosted or on gitlab or elsewhere. You eventually just use RPM fusion, or you setup distrobox with Arch and the AUR, or you toss on the Nix package manager and start using flakes. The vast majority of my initial headaches were due to trying to replicate Windows workflows. Then I learned all of that was weird and pretty backwards.

[–] [email protected] 6 points 3 weeks ago* (last edited 3 weeks ago)

Guy, nobody is making FoSS pages and documentation hard to find or read. The developers take care of that themselves. You've invented a story that had no basis in reality. At least the other posters admit it's lack of time and some overworked dude in his basement.

[–] [email protected] 6 points 3 weeks ago

I have 2 plugins for rofi on Linux and it's true, no releases - best I can do for you is tags, take it or leave it

load more comments
view more: next ›