There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Debian on beagle bone black, basics?

Messing around with Linux for the first time in a bbb.

I’ve learned things like ls -1al, those types of basics.

I’m getting the picture that Debian for the bbb is kind of bare bones, no pun intended. Is that right?

I’m interested in some bigger picture basics like that. Any suggestions for resources?

tal , (edited )
@tal@lemmy.today avatar

I’m getting the picture that Debian for the bbb is kind of bare bones, no pun intended. Is that right?

I mean, I wouldn’t say that.

Debian has various “sets” of packages that you can install, and you can omit things like a desktop environment if you want. It doesn’t have a particularly small package repository.

There are “small” distros out there. OpenWRT targets consumer broadband routers, which have limited memory and storage capacity, for example.

If you want a way to characterize Debian…hmm.

Well, l’d say that they’ve got more of an ideological free-software bent than most distros, require users to enable non-free repos.

Debian is notable for being, in 2024, the biggest “parent” distro. Most Linux distros are derived from some other distros. Today, there are two particularly large “family trees”, Red Hat and Debian, with Debian being at the root of the largest tree.

…wikimedia.org/…/Linux_Distribution_Timeline.svg

So a large chunk of Linux distros out there take Debian and then modify it in some way to make their own.

It’s been around for a very long time, as Linux distros go.

It doesn’t have a company running it the way Ubuntu or Red Hat do.

It does major releases of stable about every two years, which is less-frequent then most distros I’ve used, more comparable to, say, Ubuntu Long Term Support releases.

Maybe less of a focus on ease-of-use for new users.

half_built_pyramids OP ,

Gotcha, thanks. Seems odd like this one is stripped down, so it can fit on emmc, and it’s still 3 gigs

sin_free_for_00_days ,

What are you interested in doing with the Beaglebone Black? Without that, not sure how to answer. If you’re just looking into learning *nix command line stuff, then there are a lot of tutorials out there.

half_built_pyramids OP ,

Trying to get some libraries working, like python pwm.

sin_free_for_00_days ,

Hopefully someone will answer with more experience. I was under the understanding that the Beaglebone images had pwm already installed and configured. The python looks pretty straightforward.

half_built_pyramids OP ,

So, turns out, the pins aren’t static anymore and are described by their file descriptors.

Instead of something like pwm.start(pin_14, cycle 50%)

It’s


<span style="color:#323232;">f = open("dev/pwm/duty_cycle", "w")
</span><span style="color:#323232;">f.write(50)
</span><span style="color:#323232;">f.close()
</span><span style="color:#323232;">
</span>

So, file descriptors in Linux are something you need to learn about it you want to code python in a bbb.

Edit: formatting

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines