Suckless is one of the best and most popular non-GNU software projects for Linux & Unix like operating systems. They have made some of the fastest and best apps available right now, such as dwm, st, dmenu, and surf. While the software is useful, it can be a little hard to install properly, as it requires building from source. But no worries, I am here to show you how to correctly obtain all of the dependencies, get the code, and build it.

Lets set aside my personal belief that suckless is a satire that too many people started to take seriously…

Always using the latest git version as done in the article doesn’t strike me as the most sane thing to do if you “just” want to use the software especially as suckless offers version tarballs.

But suggesting sudo make clean install to build is really not okay…(and also not how the suckless tools I checked suggest it). You cloned (or better extracted the tarballs) as user…there is not a single reason to build the software as root. If you have to install then do it in two steps, build as user and only “make install” as root.

If you really like routinely building core packages in your system from source, use Gentoo. It’s a distro made for building everything from source, so is one of the best set up for the risks that entails.

As gentoo user I can’t argue with that… ;)

But I think there are reasons why someone would want to build suckless tools manually…namely that their configuration is mostly done in the source-code (Damn, it’s so hard to not write anything too opinionated about suckless but I really try my best). But even then I agree with your other post that it’s far better to use the distro facilities for building the the distro source packages just with your own patches applied.

@toneverends@lemmy.ml
link
fedilink
2
edit-2
3Y

Ha. Pipe some random URLs to a root shell while you’re at it. /c/whatcouldgowrong

This is definitely the incorrect way to install most software. Use your package manager. At least use a community repository or build system if you have to.

I would mostly agree. However, there are exceptions and customizing suckless’ simple terminal (or st) is one of them. Last time I used it - which was about 5 years ago, granted - st didn’t have a config file. If you wanted to change even the most trivial things such as fonts, colours, etc., you had to edit the code. As an example, here’s a patch if one wanted to use the solarized colour scheme in st:

https://st.suckless.org/patches/solarized/

In these few instances, the article actually is helpful, since the user would have to compile the application from source.

@TheKernalBlog@lemmy.ml
creator
link
fedilink
23Y

I would agree that it is the incorrect way to install most software, but suckless software is different. In order to changes, even simple ones like changing the font or colors, you need to rebuild from source manually.

Suck what?!

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 0 users online
  • 5 users / day
  • 20 users / week
  • 27 users / month
  • 16 users / 6 months
  • 20 subscribers
  • 684 Posts
  • 1.7K Comments
  • Modlog