Skip to content

Instantly share code, notes, and snippets.

@arcayi
Forked from tytydraco/fakeroot-tcp.sh
Created November 17, 2023 04:44
Show Gist options
  • Save arcayi/fe33fe33d01ad5d02053bc2d04613124 to your computer and use it in GitHub Desktop.
Save arcayi/fe33fe33d01ad5d02053bc2d04613124 to your computer and use it in GitHub Desktop.
Setup fakeroot-tcp without SystemV IPC support.
#!/bin/bash
cd /tmp
wget http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.24.orig.tar.gz
tar xvf fakeroot_1.24.orig.tar.gz
cd fakeroot-1.24/
./bootstrap
./configure --prefix=/opt/fakeroot \
--libdir=/opt/fakeroot/libs \
--disable-static \
--with-ipc=tcp
make
sudo make install
OLDPATH="$PATH"
export PATH="/opt/fakeroot/bin:$PATH"
cd /tmp
rm fakeroot_1.24.orig.tar.gz
rm -rf fakeroot-1.24/
git clone https://aur.archlinux.org/fakeroot-tcp.git
cd fakeroot-tcp
makepkg -si
cd /tmp
rm -rf fakeroot-tcp
sudo rm -rf /opt/fakeroot
export PATH="$OLDPATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment