Hey all
While testing the different Pd builds with different JACK versions, I wondered how JACK can be uninstalled cleanly. Both JACK versions I want to try come as a pkg, which installs a bunch of files to different places. From what I gather, there is no straight-forward way to remove everything reliably installed from a pkg. So I ask here, if there is an agreed-upon way to remove one version of JACK before the other one is installed. I usually wiped all jack* binaries in /usr/local/bin and the /usr/local/include/jack directory before re-installing JACK packages. I remember that colleagues had mixed experiences regarding Pd seeing JACK with the same build of Pd. I suspect this could be related to some having had left-overs from previous JACK installations.
For reproducible results I'd like to know how you went about this.
Roman
On 12/16/21 10:20, Roman Haefeli wrote:
On Thu, 2021-12-16 at 10:05 +0100, Roman Haefeli wrote:
I usually wiped
- all jack* binaries in /usr/local/bin
- /usr/local/include/jack directory
I forgot to mention /usr/local/lib/libjack*
(those are probably the most crucial when it comes to Pd detecting JACK)
the jack2-osx-1.9.19.pkg installs a file that contains its contents:
cat /usr/local/share/jack2/jack2-osx-files.txt | while read f; do
rm "${f}"
rmdir "${f%/*}" 2>/dev/null
done
or just: $ rm $(cat /usr/local/share/jack2/jack2-osx-files.txt)
i don't know whether the pkg does something else (like changing some settings), and how to undo those. it's a pity that it doesn't come with an uninstall script (the olde JackOSX package had something like this)
gfdsrm IOhannes
On 12/16/21 11:08, IOhannes m zmoelnig wrote:
i don't know
just to be sure: what i suggested is in no way canonical.
i only discovered that there is this jack2-osx-files.txt file and it seems to contain a ("the"?) list of files installed by the package.
i guess the only people who can answer this are the JACK-devs (eg. #jack on liberaIRC)
gmsad IOhannes
On Thu, 2021-12-16 at 11:28 +0100, IOhannes m zmoelnig wrote:
On 12/16/21 11:08, IOhannes m zmoelnig wrote:
i don't know
just to be sure: what i suggested is in no way canonical.
Ok. My question should be then: Do you take care of removing left-over files when switching JACK version? Do all the others testing Pd builds take care of that?
Roman
On Thu, 2021-12-16 at 11:08 +0100, IOhannes m zmoelnig wrote:
the jack2-osx-1.9.19.pkg installs a file that contains its contents:
or just: $ rm $(cat /usr/local/share/jack2/jack2-osx-files.txt)
Oh, right. Thanks, that is certainly more thorough than what I did. And yes, the olde jack1 0.92_b3 pkg seems to uninstall cleanly with the included uninstall script.
Roman