Questions tagged [open-source]

Open source software is software whose source code is published and made available to the public, enabling anyone to copy, modify and redistribute the source code without paying royalties or fees. Open source code evolves through community cooperation. These communities are composed of individual programmers as well as very large companies.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Is there a way to trace syscalls without disabling SIP?

I'm trying to optimize a local Python script and I'd like to see syscalls etc. dtruss seems like a great tool for that, but I get a series of errors when I run it that I think are related to SIP being ...
  • 6,441
1 vote
1 answer
27 views

How to save input of `less` to file as explained in the man doc?

I'm trying to save the piped input to less to a file as explained in the man doc: s filename Save the input to a file. This only works if the input is a pipe, not an ordinary file. However, ...
0 votes
1 answer
53 views

Free WYSIWYG Markdown editor

I've been using Typora as a Markdown editor when it was free (during beta), but now it's pay for use and I want to find an equivalent, free (preferably open source) tool. My requirements: free (...
  • 386
0 votes
0 answers
164 views

Unable to run OpenMP with clang++

I am trying to run a simple "Hello world" program using OpenMP. This is my program (helloworld.cpp): #include <iostream> int main (){ // begin parallel region #pragma omp ...
  • 433
0 votes
1 answer
209 views

How can I install the Cantarell font in MacOS Monterey (12.5)?

I am trying to install the Cantarell font Software from GNU. I am running a Macbook Air M1 with Monterey 12.5. They provide instructions: python3 -m venv venv . venv/bin/activate # Unixoids... venv/...
0 votes
1 answer
113 views

Is there any place in which I can dig into the Hypervisor Framework source?

So far I've been looking into XNU source, the official Open Source site and the only documentation I found for it. In any case I wasn't able to really find something I can use for understand the ...
1 vote
1 answer
153 views

Macports cannot install mariadb on Monterey 12.4

I finally upgraded from Catalina to Monterey. An important use of my Mac is for development for a LAMP stack. Ever since Sierra, when upgrading the OS, there are just some standard tweaks that I have ...
0 votes
1 answer
37 views

I don’t know where to start with errors when attempting installation of open source UNCeqR on z shell

The following error presented on macOS z shell during installation: BEGIN failed--compilation aborted at test.pl line 11. not ok 1 make: *** [test_dynamic] Error 2 CALLAHAN/Math-CDF-0.1.tar.gz /...
1 vote
1 answer
3k views

How to mount external disk with sshfs and show the name in Finder?

I am using sshfs a lot to mount external disks using MacOS 12.3.1. The command I am using is something like sshfs $USER@28.28.28.127:/remote_folder ~/remote -o 'allow_other,gid=10067' and then this ...
  • 1,608
1 vote
1 answer
58 views

How to fix unresponsive filesystem without rebooting?

I tried to mount an external storage device in MacOS 12.3.1 using sshfs, but I had to stop this process in the middle of whatever it is doing. Now, when I do a ls -l in the file system it hangs for ...
  • 1,608
1 vote
1 answer
218 views

tree Full Path Prefix not displayed

I have installed tree using homebrew, however it isn't behaving as expected. I have the following to list recursive files, but I want the full path for each file to be displayed. Unfortunately it's ...
  • 251
2 votes
1 answer
1k views

Getting the full list of all dependencies and sub-dependencies in Homebrew *before* installation

I notice Homebrew does a poor job of listing the actual list of dependencies of a package: $ brew info ffmpeg ffmpeg: stable 5.0.1 (bottled), HEAD Play, record, convert, and stream audio and video ...
  • 3,486
1 vote
2 answers
147 views

tree command does not show hierarchical structure?

The following resources show tree should output hierarchical directory structure view directory structure So I did brew install tree. But the tree command does not print hierarchical output: (py367) ...
13 votes
5 answers
4k views

Homebrew: How to ignore cask formula on `brew upgrade`? (since `pin` has no `--cask` option)

I hope there is a command equivalent for casks that works to ignore updates on main line packages. brew upgrade --ignore <FORMULA> This Stack Overflow question from 2014 has multiple answers ...
  • 1,632
1 vote
0 answers
211 views

Enable multithreaded BLAS/LAPACK in NumPy @ macOS BigSur 12.1

I would like to enable a multithreaded BLAS/LAPACK backend for Python's (v3.9.9) NumPy on my macOS BigSur (v12.1). When I run my NumPy code, I see in htop, that only one python process is running and ...
  • 131
0 votes
1 answer
2k views

imagick.so.so after brew update + php.ini "imagick.so" instead of imagick.so

I did a brew upgrade I have php 8.1 on osx 12.x Imagick is not working PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/pecl/20210902/imagick.so (...
2 votes
2 answers
300 views

Is there an open source alternative to diskutil available for macOS?

Is there an open source alternative to diskutil available for macOS? I am hoping to find a command line program that perform the same core functions like: verify disk or volume repair disk or volume ...
1 vote
1 answer
124 views

Give options at the end of command

Let's say I want to copy a directory A to B, I should execute this command cp -r A B but for some reason I forgot to give it the -r flag. Comming from Linux I usually do !! -r but this is not a valid ...
1 vote
1 answer
1k views

Interface XHC20 does not exist

I’m trying to get Wireshark up and running on High Sierra. When I run sudo ifconfig XHC20 up I get: interface XHC20 does not exist but then: tcpdump -D shows: 1.p2p0 [Up, Running] 2.utun0 [Up, ...
2 votes
1 answer
674 views

How to prevent homebrew from deleting packages automatically?

Almost each time I install something using homebrew, after installing my desired package, it attempts to automatically delete presumably old packages. How can I stop this from occurring? I'm tired ...
  • 583
1 vote
0 answers
279 views

How can I load core dumps of intel processes running under rosetta2 in apple silicon?

Using lldb on a M1 Mac, I can successfully run and attach to a x64 process and have commands like bt showing useful information. However if I save a memory dump and try to load it in a different debug ...
0 votes
1 answer
282 views

Is diskutil, the command line tool on Mac, an open source program?

Is diskutil the command line tool on Mac an open source program? I've been searching high and low for this program's source code on opensource.apple.com, but cannot locate it for 10.13.6. Is there a ...
1 vote
2 answers
174 views

Cannot find files for `calcurse` calendar application installed with homebrew : not where documentation says they are

I just installed calcurse, an calendar open source solution (which looks great!). I installed version calcurse version 4.7.1 via homebrew (brew install calcurse) I cannot find where the todo and apts ...
  • 464
5 votes
1 answer
1k views

How to achieve oflag=direct in dd on MacOS?

I have installed gdd on MacOS. I figured out both dd and gdd don't support oflag=direct option. ‘direct’ Use direct I/O for data, avoiding the buffer cache. Note that the kernel may ...
  • 1,925
1 vote
1 answer
84 views

is it possible to show the status(config file loading path/log file path.etc) of service in macOS

Now I am using this command to show status of nginx service in macOS: brew services status nginx show this error: Error: Invalid usage: unknown subcommand: status I want to know the nginx path and ...
  • 463
1 vote
1 answer
58 views

Checkin history of apple source code?

https://opensource.apple.com I see apple source code can be browsed on line. Is there a git repo in which checkin history can be viewed?
1 vote
0 answers
181 views

How do I use specific Node version in current terminal window only with homebrew?

I've installed Node@10 brew previously and prefer to continue using only brew without nvm etc. All of my projects are on Node@10. Now I need to use Node@12 for just one. How do I set node version to ...
2 votes
1 answer
1k views

ping: Lacking privilege for raw socket

I installed ping/inetutils via Homebrew inetutils on macOS 11.1 (20C69) Darwin 20.2.0 but can't use ping even as root: $ sudo ping 8.8.8.8 ping: Lacking privilege for raw socket. Setting S bit didn't ...
  • 123
2 votes
1 answer
338 views

MacPorts to automatically install dependencies

I installed 6 packages in one command, and it prompted me 6 times. I’m using Mac ports on macOS Catalina 10.15 The following dependencies will be installed: Continue? [Y/n]: Is there any command-...
  • 237
0 votes
1 answer
2k views

Why /usr/local/bin is showing as a file in mac?

I purchased a new mac and want to install some tools on it but when I try to install anything, I am getting error as bin is not a folder . I am on 11.1 and have not updated it to 11.4 yet. Well why /...
6 votes
3 answers
19k views

Export chat history on Telegram in Mac

I'm using the Telegram messenger app on my Mac. I don't see an option to export the chat history on Mac. I've used the Windows version of Telegram app and I was able to export. However, I don't see ...
3 votes
1 answer
461 views

How do I compile Apple's Security framework?

I am trying to compile my own copy of Apple's Security.framework, specifically version 55471.14.18, which was included in OS X 10.9.5 and whose source code can be downloaded from https://opensource....
  • 6,965
1 vote
1 answer
115 views

How to compile/build DownZemAll from source?

I have recently come back to using a Mac and want to use a download manager (DownZemAll https://setvisible.github.io/DownZemAll/) that I was using on Windows. While the website says it is "for ...
  • 1,989
1 vote
1 answer
229 views

FTDI Driver 2.4.2

I just updated my computer to Mac OS 10.15.5 (Catalina) Only I can't get my Ired 2 software to work because I have to install FTDI Driver 2.4.2 (64 bits) So I installed FTDI Driver 2.4.2 but it was ...
  • 13
1 vote
1 answer
133 views

Can I find the source code for Grapher?

Grapher is an application that is installed on macOS by default. Can I find its source code, or is it proprietary?
user avatar
1 vote
0 answers
141 views

Homebrew started blowing up, no idea why

I probably did some unwise things. After a brew update and a brew doctor kept throwing the same error, I tried to uninstall and reinstall it with the shell scripts for those. They mostly worked, but ...
  • 369
0 votes
1 answer
292 views

Powershell install keeps asking for a password

I'm trying to upgrade my version of powershell to the latest version 7.0.1 using brew. The install seems to be stuck on disabling some ruby gems and is constantly asking over and over again for my ...
  • 115
1 vote
1 answer
876 views

Gitlab-runner service not started after reboot

Gitlab-runner service not started after reboot. But if I login to my account, service started automatically. How start service automatically without login to my laptop? uname -a Darwin MacBook-Pro-...
  • 113
0 votes
1 answer
845 views

Error when using pkgutil to flatten an application bundle into a flat package

I have an application bundle that I need to convert to a flattened package. In my case, the application is a simple bash script that has been bundled into an application using Platypus. To flatten ...
2 votes
1 answer
563 views

Maxima and Jupyter - will Homebrew work?

I'd like to give Maxima a try in a Jupyter notebook on my Mac. Is the Homebrew version of Maxima up to the task? I did try following the instructions at https://github.com/robert-dodier/maxima-...
  • 1,404
0 votes
1 answer
19 views

Mac Appstore online search?

Is there a website for the Mac Appstore than I can search to see what apps are on it? (I don't have a Mac, and I'd like to see if an open-source project is on the Mac Appstore.)
  • 255
3 votes
1 answer
1k views

imagemagick fails with dyld: Library not loaded

After wasting a lot of time until finally finding a solution, I decided to share this with the community. The problem: convert dyld: Library not loaded: /usr/local/opt/little-cms2/lib/liblcms2.2....
  • 241
1 vote
0 answers
134 views

Can I change a Mov file of one Codec type to a Mov file of another Codec type

I have a lot of MOV files that are "Codec: Timecode, AAC, Apple ProRes 444" and "Color profile: SD(6-1-6)" and I want to change them to "Codecs: H.264, AAC" and "Colour profile: HD (1-1-1)" but I can'...
3 votes
2 answers
299 views

Sources for "ping" bundled with Mojave 10.14.6?

I am interested in knowing whether the "ping" utility shipped with Mojave 10.14.6 sources are open. man ping ends with BSD March 29, 2013 BSD, but it seems that FreeBSD's version of ping is not the ...
  • 133
5 votes
1 answer
4k views

macOS Catalina Homebrew mariadb Installation Issues

Edit 2020-10-12: I'm on macOS 10.15.7, the versions in brew formulas is 10.5.6 for mariadb and 8.0.21 for mysql. (you can check them in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/{...
  • 1,464
1 vote
0 answers
457 views

astrolog make from source results in 'X11/Xlib.h' file not found

OS: High Sierra 10.13.6 Software: astrolog ast65src$ make c++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o astrolog.o astrolog.cpp In file included from astrolog.cpp:50: ./astrolog.h:304:...
3 votes
1 answer
960 views

How to install a specific version of OCaml on MacOS?

I am trying to install version 4.02.3 of OCaml on MacOS 10.14.6 with the following command brew install ocaml@4.02.3 but I get an error Error: No available formula with the name "ocaml@4.02.3&...
  • 1,608
3 votes
1 answer
714 views

How to run privileged programs without elevation by sudo?

I got the mtr ping-traceroute combo util through Homebrew and I'd like to run on new Terminal windows without having to become superuser (or elevation, sudoing, whatever it's called on UNIX) each time ...
  • 193
0 votes
1 answer
332 views

Convert .cda audio file to m4a [duplicate]

I wanted to use ffmpeg ffmpeg -i file.cda file.m4a but I get the error Invalid data found when processing input So how can I convert lots of cda files on macOS?
  • 7,838
1 vote
1 answer
250 views

Where can i find the source code for the pfctl utility?

I have looked here: https://github.com/apple/darwin-xnu But all i can find is the 'back end' for the pfctl tool, but i am interested in the command-line pfctl tool itself, the option parser and so on....
  • 173