Port Your Favorite Software to OpenBSD

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024
  • Some software is only on Linux...or is it? This is the power of Free Software - we can port.
    Website: swindlesmccoop...
    Contact: swindlesmccoop@waifu.club
    Git repos: git.cbps.xyz/s...
    Odysee: odysee.com/@Sw...
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------
    Ports: git.cbps.xyz/s...
    Update: This is the first computer-related video on my channel to reach 1,000 views.
  • เกม

ความคิดเห็น • 57

  • @MastermindAtWork
    @MastermindAtWork ปีที่แล้ว +28

    This dude is a Haruhi enjoyer! A man of culture, indeed.

  • @saymehname
    @saymehname ปีที่แล้ว +11

    Based video for openBASED. Also nice channel. Subscribed!

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว +1

      Thanks for subscribing. I have more based videos coming in the future.

  • @toastybread_ch
    @toastybread_ch ปีที่แล้ว +6

    don't listen to these haters trying to make you feel ashamed, you're really based, smart, and helpful, and they're just jealous of you

    • @mazhani-8
      @mazhani-8 4 หลายเดือนก่อน

      so true xister

  • @mikek17
    @mikek17 ปีที่แล้ว +4

    Thanks for the tutorial. I just installed OpenBSD on an office PC I had lying around. I saw the style of your thumbnails and instantly subbed. I'm gonna play around with trying to do this over the weekend

  • @towardsthelight220
    @towardsthelight220 ปีที่แล้ว +4

    Open BSD kernel: < 10 Megs
    Linux Kernel: 130 Megs

  • @3NTR4PT4
    @3NTR4PT4 ปีที่แล้ว

    Thank you! Been looking for ways to give back to the open source community but haven't really found anything before this vid.

  • @EightSixx
    @EightSixx ปีที่แล้ว +2

    OpenBSD on my Lenovo laptop! so good.

  • @Cross-fr8st
    @Cross-fr8st ปีที่แล้ว +6

    Hi, thanks for the tutorial! It's kind of funny how I see people saying all the time that Open/FreeBSD aren't very usable for desktops but then I always see people like yourself who very clearly can use it in a very personal way without much problems.
    Kind of unrelated but you have any experiencies with FreeBSD? Been thinking of switching to Open/Free for a while so I can use something closer to the original UNIX, but OpenBSD seems very foucused on security, which is something that frankly I don't mind much at the momment...

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว +6

      I've since switched to FreeBSD for personal use. I'll make a video covering advantages and disadvantages of each soon enough. OpenBSD isn't just about security, it's about minimalism as well. I find FreeBSD to be much less minimal than OpenBSD but they are both good OSes. OpenBSD package management is quite frankly extremely inefficient and slow, while FreeBSD's is fast, and that's a main factor to aid my switch.

  • @marcs9451
    @marcs9451 ปีที่แล้ว +4

    based and weebpilled

  • @Sedric93
    @Sedric93 ปีที่แล้ว

    Thank you, that was most instructive.

  • @zippycat
    @zippycat ปีที่แล้ว +3

    as a semi-beginner linux user (well kinda i mean i had successful experiences with arch and manual install but ended up with mint), i just want to ask something, what are the differences between linux and openbsd/freebsd and which advantages do you get? apart from the fact that its not linux at all

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว +3

      I plan on making a video soon about the advantages of Linux vs. OpenBSD vs. FreeBSD. Might release the video today actually. I didn't work on the video about why I hate Wayland yet since it's a little nuanced, but I can easily spout off reasons to use each one, so look out for that later today or tomorrow potentially.

  • @remigoldbach9608
    @remigoldbach9608 10 หลายเดือนก่อน

    Really cool video !

  • @lateralrook
    @lateralrook ปีที่แล้ว +4

    You Will Never Have an Anime Girlfriend

  • @RHTORAS
    @RHTORAS ปีที่แล้ว +2

    you are correct but if we leave systemD grow more then the software you want, can't be usable on other os's excluding windows...
    btw very nice video...
    can we use this guide to port our own software too ?
    is it possible to use open source software like screem or other text editors, games, image vieweres e.t.c the same way in a repo ?
    Can you show how we can have our own repo and maintain software and these can be used on openbsd ?
    Thank you very much...

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว +4

      On the topic of SystemD, I fully agree with you. SystemD has evolved from a simple init system to a software suite of tools that I really don't want. It also takes over more of the system's core processes nowadays. I prefer BSD-style inits. I used to be an Artix user but I switched to BSD simply because I don't like how Linux itself works in general.
      When it comes to porting your own software, yes, it's extremely easy. As long as there is a way to download the source code from the internet, you can build it for OpenBSD, barring any software that relies on Linux-specific things like cgroups. If you go to my ports repository in the description, I have instructions on how to set it up. It doesn't really make much sense to distribute binary packages on OpenBSD like it would be on Arch Linux since it's super easy to build ports.

    • @RHTORAS
      @RHTORAS ปีที่แล้ว

      @@swindlesmccoop Here's the deal... i was 7-8 in early ninety's watching my mam's aplle unix in a macintosh lcii... my roots come from unix... i am a no systemD user and starting to learn development... i like how openbsd works and while i use void and devuan i stopped artix and replaced it with openbsd... i am still learning... i want to have a repository ready with some software... if i use your can i maintain software in it ? The problem comes when using a way to build software is we need more commands and better hardware... at least that was my experience with void and xbps-src...
      all in all can i use this software and maintain not just templates but software ? Even in you repo (btw how to use can you show me?) or in a sperate repo i can create ?
      p.s since you know i can use my gitlab/hub etc account via bsd as in linux ? and use sometimes from a linux pc and other from bsd pc ?
      Thanks anyway...

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว +1

      @@RHTORAS I'm not really inclined to explain everything necessary in a TH-cam comment but if you email me (email is in the description) we can discuss it further.

  • @sunmicrosystems
    @sunmicrosystems ปีที่แล้ว

    1:54 file would have worked fine for showing the symlink with less typing, just make sure to strip the / at the end.
    $ file directory
    directory: symbolic link to /other/different/dir
    Great video though, I've been using OpenBSD for my server and router for a while now, works wonders, I can't use anything else after trying PF.
    The next step is getting it on my desktop, but unfortunately I am stuck with NVIDIA at the time.

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว +1

      Thanks, I'll keep that in mind for the future

  • @boxerfencer
    @boxerfencer ปีที่แล้ว

    Thank you

  • @MykolaTheVaultDweller
    @MykolaTheVaultDweller 2 หลายเดือนก่อน

    BASED
    TETO KASANE
    KASANE TETO
    BSD BSD BSD BSD

  • @MykolaTheVaultDweller
    @MykolaTheVaultDweller 2 หลายเดือนก่อน

    KURISU MAKISE

  • @kernelnexus07
    @kernelnexus07 5 หลายเดือนก่อน +1

    im going to port GTA San Andreas to OpenBSD

  • @MC2738
    @MC2738 ปีที่แล้ว +1

    I'm assuming any software that I port in has to be updated manually?

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว

      What do you mean by updated? That will determine the answer to the question

    • @MC2738
      @MC2738 ปีที่แล้ว +1

      @@swindlesmccoop For example, I install package Z. Eventually a new update comes out for Package Z, which contains a patch for a big security vulnerability. Would I have to re-install it with the steps used in this tutorial or can I just run pkg_add -u?

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว +1

      @@MC2738 Oh, that's easy. First, I'd just like to clarify that every binary package you receive is actually just a built port from the ports tree. When you run make on a port, it builds a tar archive, which is what you get from a package repo. Now to answer your question, yes you will have to update it manually, but not how you would think. All you have to do is bump the version number (or git commit ID) so that it points to whatever the newest archive for the software's source is.

    • @MC2738
      @MC2738 ปีที่แล้ว

      @@swindlesmccoop Got it. Thanks for the help!

  • @thfr4321
    @thfr4321 ปีที่แล้ว +2

    please don't put REVISION=0 in a new port...

    • @thfr4321
      @thfr4321 ปีที่แล้ว

      ... also better to use /usr/ports/infrastructure/templates/Makefile.template as the ... template of course

  • @justahumanwithamask4089
    @justahumanwithamask4089 ปีที่แล้ว

    Does the bsd's suffer the same package management problem that linux has? Do freebsd's packages not work in openbsd

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว +3

      I'm interested in what you think the package management problem with Linux is. My only problem with Linux package management is a lack of centralization (however any attempt at centralization quite frankly has sucked, so I'd much prefer the current solution). With FreeBSD and OpenBSD, yes, packages are not cross-platform. However, I find that any software that works on FreeBSD also works on OpenBSD and vice-versa. Since they're both BSDs, they're focused around the ports system. If you find a port that hasn't been made yet, all you have to do is create a Makefile for the ports tree to compile the program. The only difficulty I could see arising is if you want pre-compiled binary packages, in which case you'll see that the binary package repositories between the BSDs differ. However, they generally all have the same software in their ports collections. The only real problem you may encounter with getting programs to run on FreeBSD or OpenBSD is proprietary software, which oftentimes does not have a binary version for any BSD. However, FreeBSD does have a feature that allows you to execute fully unmodified Linux binaries in the rare case that you may need to do so. You can find the instructions for that in "Chapter 10. Linux Binary Compatibility" of the FreeBSD handbook. I am unaware of a way to do this with OpenBSD, but I've never had the need to do so.

  • @re-search0308
    @re-search0308 ปีที่แล้ว

    Btw, is it possible to use nixpkgs / nix-package manager on the openBSD?

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว +1

      Maybe if you can compile it for scratch. But Nix is not very good for OpenBSD. It's not very good in general (at least for interoperability purposes). Just use the Ports system.

  • @ucnguyenvan9230
    @ucnguyenvan9230 ปีที่แล้ว

    more video pls. I want to create port for latest vim version

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว

      Just go into the Makefile and make it point to the latest source tarball

    • @ucnguyenvan9230
      @ucnguyenvan9230 ปีที่แล้ว

      @@swindlesmccoop I create Makefile and make it but It not work. Hope you make video create port with vim

  • @All3me1
    @All3me1 ปีที่แล้ว

    Is it possible to use ipfs instead of http?

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว

      Not sure, you'll have to check the man page for bsd.port.mk

  • @Seikatsu121
    @Seikatsu121 ปีที่แล้ว +6

    Dude why y'all weebs 😭😭😭

    • @Vincent_Morrow
      @Vincent_Morrow ปีที่แล้ว +5

      You need to spend a lot of time alone... in front of a screen... replacing human interaction with slice of life stories. That's what is accessible without leaving the house.

  • @lateralrook
    @lateralrook ปีที่แล้ว +2

    schizo ahh desktop

  • @aneeshprasobhan
    @aneeshprasobhan ปีที่แล้ว

    weeb

  • @proxeIO
    @proxeIO ปีที่แล้ว +1

    still waiting for the day that usr is properly pronounced u, s, r and not user.

    • @proxeIO
      @proxeIO ปีที่แล้ว

      do people think the idea was to save an 'e' ?

    • @swindlesmccoop
      @swindlesmccoop  ปีที่แล้ว +1

      @@proxeIO I figured it was. Most everything in / is three characters. /usr is for things the user installed. Should /tmp be pronounced t-m-p? No, it's short for "temp" as in temporary. But they decided to save an "e" in that case, so I wouldn't put it past the creators of UNIX. I'll do some more research on the proper directory pronounciations.

    • @nilnailscrew4784
      @nilnailscrew4784 ปีที่แล้ว +2

      I mean does the name come from anything other than the word user?
      I assume they just wanted it shortened to 3 letters because opt, dev, tmp, and many others were 3 letters long

    • @proxeIO
      @proxeIO ปีที่แล้ว +1

      @@nilnailscrew4784 universally shared resources

    • @proxeIO
      @proxeIO ปีที่แล้ว

      @@swindlesmccoop in short if its not universally shareable (static, small) it wont go in there, so the name as 'user' results in a lack of understanding