Created
July 24, 2020 23:41
-
-
Save tytydraco/df14e4f7af737e7b51ba35842f75342b to your computer and use it in GitHub Desktop.
Setup fakeroot-tcp without SystemV IPC support.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.24.orig.tar.gz doesn't exist anymore and is replaced by a newer one.
I edited the script to make it work again:
#!/bin/bash
cd /tmp
wget http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.31.orig.tar.gz
tar xvf fakeroot_1.31.orig.tar.gz
cd fakeroot-1.31/
./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.31.orig.tar.gz
rm -rf fakeroot-1.31/
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"
UPDATE: Edited on April 7th 2023, because it got updated again.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very handy. Thanks!