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@lemmy.today
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    7 months ago

    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.

    https://upload.wikimedia.org/wikipedia/commons/1/1b/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.

  • sin_free_for_00_days@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    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.

      • sin_free_for_00_days@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        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@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          7 months ago

          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

          f = open("dev/pwm/duty_cycle", "w")
          f.write(50)
          f.close()
          
          

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

          Edit: formatting