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
1 vote
1 answer
72 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 ...
user avatar
  • 845
1 vote
1 answer
26 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 ...
user avatar
  • 845
1 vote
1 answer
45 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 ...
user avatar
  • 159
0 votes
1 answer
49 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 ...
user avatar
  • 3,352
1 vote
2 answers
67 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) ...
user avatar
1 vote
0 answers
98 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 ...
user avatar
  • 131
0 votes
1 answer
643 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 (...
user avatar
2 votes
1 answer
147 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 ...
user avatar
1 vote
1 answer
70 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 ...
user avatar
1 vote
1 answer
604 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, ...
user avatar
2 votes
1 answer
292 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 ...
user avatar
  • 543
1 vote
0 answers
117 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 ...
user avatar
0 votes
1 answer
164 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 ...
user avatar
1 vote
2 answers
96 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 ...
user avatar
  • 424
4 votes
1 answer
774 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 ...
user avatar
  • 1,685
1 vote
1 answer
46 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 ...
user avatar
  • 279
0 votes
1 answer
475 views

get working gdb on macOS Big Sur

How to get gdb working on macOS Big Sur? The gdb from brew install gdb doesn't work (nothing counts as an executable somehow), and all the tutorials I find online are years old
user avatar
  • 6,554
1 vote
1 answer
51 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?
user avatar
1 vote
0 answers
77 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 ...
user avatar
2 votes
1 answer
749 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 ...
user avatar
  • 123
2 votes
1 answer
168 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-...
user avatar
  • 227
0 votes
1 answer
1k 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 /...
user avatar
4 votes
3 answers
11k 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 ...
user avatar
2 votes
1 answer
316 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....
user avatar
  • 6,189
1 vote
1 answer
93 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 ...
user avatar
  • 1,688
1 vote
1 answer
197 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 ...
user avatar
  • 13
1 vote
1 answer
93 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
118 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 ...
user avatar
  • 359
0 votes
1 answer
224 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 ...
user avatar
  • 105
1 vote
1 answer
468 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-...
user avatar
  • 113
0 votes
1 answer
517 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 ...
user avatar
1 vote
1 answer
442 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-...
user avatar
  • 1,144
0 votes
1 answer
18 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.)
user avatar
  • 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....
user avatar
  • 211
1 vote
0 answers
107 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'...
user avatar
3 votes
2 answers
288 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 ...
user avatar
  • 133
5 votes
1 answer
3k 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/{...
user avatar
  • 1,076
1 vote
0 answers
353 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:...
user avatar
3 votes
1 answer
811 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&...
user avatar
  • 845
2 votes
1 answer
454 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 ...
user avatar
  • 163
0 votes
1 answer
266 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?
user avatar
  • 6,554
1 vote
1 answer
178 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....
user avatar
  • 163
3 votes
1 answer
1k views

Configuring and running postfix (Mojave 10.14.4)

I've gone through all the questions (and answers) about postfix on AskDifferent and come up empty so far. (~) postconf -n biff = no command_directory = /usr/sbin daemon_directory = /usr/libexec/...
user avatar
  • 902
3 votes
1 answer
2k views

Add arcfour Cipher to Mojave 10.14

Im trying to use the arcfour cipher with SSH. Yes, I am aware of the risks, but I have my own reasons for wanting to use it. When I list available ciphers, it's not there. Is it possible to add it ...
user avatar
  • 153
1 vote
0 answers
54 views

Use jQuery in Fluid.app's Userscripts?

In Fluid.app's Userscripts section, you can write custom Javascript to modify the embedded site. Cool! My Fluid app's embedded site has the jQuery library loaded. I'd like to reference and use that ...
user avatar
  • 2,180
3 votes
2 answers
2k views

Is there a vimari or vimium port for safari on mojave?

I loved vimari but the Mojave update made it no longer work because of the stronger permissions system. Is there any way to install this safely, or barring that make extensions work again?
user avatar
1 vote
0 answers
236 views

Lynx Browser & HTTP Get Ignore Timeout Options

I'm working on my wifi-wand command line utility that manages wifi on the Mac (https://github.com/keithrbennett/wifiwand), and am trying to better understand how captive portals are managed in Mac OS. ...
user avatar
5 votes
1 answer
1k views

Why are all dependencies forced in Homebrew FFmpeg 4.1?

When upgrading to the latest FFmpeg (4.1) through Homebrew, I noticed that an overwhelming number of new dependencies were installed. At the same time, brew info ffmpeg revealed that all installation ...
user avatar
  • 2,441
1 vote
1 answer
464 views

ModuleNotFoundError: No module named 'numpy' when installing robotpy-cscore

When using pip to download robotpy-cscore on my Mac, I ran pip3 install robotpy-cscore However, I got: Collecting robotpy-cscore Using cached https://files.pythonhosted.org/packages/3e/2a/...
user avatar
9 votes
2 answers
1k views

Is macOS mostly closed source?

I was under the impression that macOS is closed source. But this opensource domain says otherwise. Is macOS open source or partially open source? I'm confused now.
user avatar