We are still actively working on the spam issue.
Difference between revisions of "NetBSD"
m (Fixed a line, that wasn't complete.) |
(Fixed formatting) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
* NetBSD is not Linux and thus doesn't have many of the cancers, that plaque Linux. | * NetBSD is not Linux and thus doesn't have many of the cancers, that plaque Linux. | ||
* The documentation is great. There is "The Guide", the Man pages and a small Wiki. | * The documentation is great. There is "The Guide", the Man pages and a small Wiki. | ||
− | * It uses plain text, 72-char mailing lists instead of a forum or | + | * It uses plain text, 72-char mailing lists and IRC channels instead of a forum or something else. |
== Reasons against using NetBSD == | == Reasons against using NetBSD == | ||
When you need... | When you need... | ||
Line 13: | Line 13: | ||
* Steam, IDA Pro or any other proprietary software, that runs only on Linux. | * Steam, IDA Pro or any other proprietary software, that runs only on Linux. | ||
* long battery time. There is the powerd daemon, but you shouldn't expect much from it. Expecting 1-3 maximum hours on most consumer-grade hardware is reasonable. | * long battery time. There is the powerd daemon, but you shouldn't expect much from it. Expecting 1-3 maximum hours on most consumer-grade hardware is reasonable. | ||
+ | |||
+ | == Compiling DWM from Suckless on NetBSD == | ||
+ | Compiling the suckless tools on NetBSD is a bit more complicated than on Linux or OpenBSD. There are two approaches to this. The first is using custom patches for the pkgsrc package, the other approach is just compiling them as usual. The first one is less likely to lead to conflicts, the second one is just easier. | ||
+ | |||
+ | To compile DWM on NetBSD, replace these lines in your <code>config.h</code>: | ||
+ | {{bc|<nowiki> | ||
+ | X11INC = /usr/X11R7/include | ||
+ | X11LIB = /usr/X11R7/lib | ||
+ | FREETYPEINC != freetype-config --cflags | ||
+ | INCS = -I${X11INC} ${FREETYPEINC} | ||
+ | LIBS = -L${X11LIB} -lX11 -Wl,-R${X11LIB} ${XINERAMALIBS} ${FREETYPELIBS} | ||
+ | </nowiki>}} | ||
+ | Beware of there not being a space in <code>-Wl,-R${X11LIB}</code>. |
Latest revision as of 09:10, 16 November 2024
NetBSD is a free (as in freedom and as in free beer) OS with focus on portability. It's based on 4.4BSD and is one of the oldest descendants of it.
Why use it?
- NetBSD is more open to experimenting with, trying out and configuring things, rather than the more conservative OpenBSD. This doesn't much such is impossible on OpenBSD, but the NetBSD people tend to be more supportive with this stuff, while you probably fall on deaf ears with the OpenBSD people, if you screw up some custom configuration of your system.
- NetBSD has pkgsrc, which is a portable and stable package manager, which includes a wide variety of binary-packages as well as can compile from source.
- Everything in NetBSD is meant to be as portable as possible. Not only does this mean, that you can run NetBSD on a lot of processor architectures, but also that the code is cleaner.
- NetBSD is not Linux and thus doesn't have many of the cancers, that plaque Linux.
- The documentation is great. There is "The Guide", the Man pages and a small Wiki.
- It uses plain text, 72-char mailing lists and IRC channels instead of a forum or something else.
Reasons against using NetBSD
When you need...
- Wine; Wine does exist on NetBSD, but it's not nearly as well supported as on Linux.
- Steam, IDA Pro or any other proprietary software, that runs only on Linux.
- long battery time. There is the powerd daemon, but you shouldn't expect much from it. Expecting 1-3 maximum hours on most consumer-grade hardware is reasonable.
Compiling DWM from Suckless on NetBSD
Compiling the suckless tools on NetBSD is a bit more complicated than on Linux or OpenBSD. There are two approaches to this. The first is using custom patches for the pkgsrc package, the other approach is just compiling them as usual. The first one is less likely to lead to conflicts, the second one is just easier.
To compile DWM on NetBSD, replace these lines in your config.h
:
X11INC = /usr/X11R7/include X11LIB = /usr/X11R7/lib FREETYPEINC != freetype-config --cflags INCS = -I${X11INC} ${FREETYPEINC} LIBS = -L${X11LIB} -lX11 -Wl,-R${X11LIB} ${XINERAMALIBS} ${FREETYPELIBS}
Beware of there not being a space in -Wl,-R${X11LIB}
.