Lädt...


🐧 Makefile etiquette: Do you copy your entire build folder into "/opt" or "/usr/local/lib", and then symlink the binaries to '/usr/local/bin'?


Nachrichtenbereich: 🐧 Linux Tipps
🔗 Quelle: reddit.com

As a software auteur, I'm wondering how I should go about populating the system folders with the files needed for my application to run.

My idea is to build, then copy the entire build folder into "/opt" or "/usr/local/lib", and then symlink the binaries to '/usr/local/bin'. My question is, should I use '/opt' or '/usr/local/lib', or something else? Or is there some other recommended way?

Of course, man pages could go into the corresponding system folder for auto discoverability.

In my case, I'm using a scripting language, so my 'build' folder consists of scripts in different folders, some of which should end up in the user's path.

submitted by /u/deepCelibateValue
[link] [comments] ...

🐧 Is /bin obsolete in favor of /usr/bin? On Arch I notice that /bin is just a symlink to /usr/bin.


📈 81.49 Punkte
🐧 Linux Tipps

🐧 A Proposed Change for Fedora 40: Unify<nobr> <wbr></nobr>/usr/bin With<nobr> <wbr></nobr>/usr/sbin


📈 39.55 Punkte
🐧 Linux Tipps

🐧 Fedora 40 Plans To Unify /usr/bin & /usr/sbin


📈 39.55 Punkte
🐧 Linux Tipps

🔧 Tìm Hiểu Về RAG: Công Nghệ Đột Phá Đang "Làm Mưa Làm Gió" Trong Thế Giới Chatbot


📈 39.48 Punkte
🔧 Programmierung

🐧 Bash: /opt/bwa/Makefile: permission denied


📈 38.51 Punkte
🐧 Linux Tipps

🔧 What are different between Normal Copy and Shallow Copy, Deep Copy in JavaScript Object


📈 36.78 Punkte
🔧 Programmierung

🐧 Out of curiosity, how much do you have in your /usr + /opt?


📈 36.67 Punkte
🐧 Linux Tipps

🐧 /bin and /usr/bin on Linux: design decisions in operating systems history


📈 36.2 Punkte
🐧 Linux Tipps

🐧 Can't copy a folder to /lib/firmware because it is in read-only


📈 34.71 Punkte
🐧 Linux Tipps

⚠️ [shellcode] Linux/x86 - execve(/usr/bin/ncat -lvp 1337 -e /bin/bash)+Null-Free Shellcode (95 bytes)


📈 34.53 Punkte
⚠️ PoC

💾 Linux/x86 execve(/usr/bin/ncat -lvp 1337 -e /bin/bash) Shellcode


📈 34.53 Punkte
💾 IT Security Tools

📰 Linux/x86 execve(/usr/bin/ncat -lvp 1337 -e /bin/bash) Shellcode


📈 34.53 Punkte
🐧 Unix Server

🐧 #!/bin/bash vs #!/usr/bin/env bash


📈 34.53 Punkte
🐧 Linux Tipps

🐧 nix-bundle builds portable binaries (something like appimage binaries) using the nix package manager


📈 33.45 Punkte
🐧 Linux Tipps

🐧 Running Intel Binaries in Linux VMs with Rosetta: Run x86_64 Linux binaries under ARM Linux on Apple silicon.


📈 33.45 Punkte
🐧 Linux Tipps

📰 Facebook etiquette: Behaviors you should avoid


📈 33.41 Punkte
📰 IT Security Nachrichten

📰 Casino Etiquette And Proper Behavior


📈 31.24 Punkte
📰 IT Security Nachrichten

🔧 Open Source Etiquette: Do's and Don’ts for Contributors


📈 31.24 Punkte
🔧 Programmierung

🐧 LFS Chroot error: "chroot: failed to run command '/usr/bin/env': No such file or directory"


📈 30.45 Punkte
🐧 Linux Tipps

🐧 So how do you guys reconcile "if you're not paying then you're the product" with FOSS?


📈 30.28 Punkte
🐧 Linux Tipps

🐧 So how do you guys reconcile "if you're not paying then you're the product" with FOSS?


📈 30.28 Punkte
🐧 Linux Tipps

matomo