chmod +x test.shdocker run -it --rm -v $PWD:/workspace ubuntu:20.04apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y singular-ui
cd /workspace
time ./test.shThe above commands can also be used with Ubuntu 20.04 and 22.04 by simply changing the version number.
docker run -it --rm -v $PWD:/workspace ubuntu:20.04apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg wget
wget ftp://jim.mathematik.uni-kl.de/repo/extra/gpg
apt-key add gpg
echo 'deb ftp://jim.mathematik.uni-kl.de/repo/ubuntu20 focal main' >>/etc/apt/sources.list
echo 'Dir::Bin::Methods::ftp "ftp";' >>/etc/apt/apt.conf.d/99local-ftp
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y singular41
cd /workspace
time ./test.shsed -i 's/^N=100$/N=1000/' test.sh