Skip to content

Commit

Permalink
fix pari tarfile naming
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Jan 7, 2025
1 parent 316a987 commit 9e289fd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .install-pari.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ PARI_URL1="http://pari.math.u-bordeaux.fr/pub/pari/unix"
PARI_URL2="http://pari.math.u-bordeaux.fr/pub/pari/unstable"

# Download PARI sources
wget --no-verbose "$PARI_URL/$PARI_VERSION.tar.gz" || wget --no-verbose "$PARI_URL1/$PARI_VERSION.tar.gz" || wget --no-verbose "$PARI_URL2/$PARI_VERSION.tar.gz" || wget --no-verbose "$PARI_URL3/$PARI_VERSION.tar.gz"
wget --no-verbose "$PARI_URL/$PARI_VERSION.tar.gz" -O pari.tgz || wget --no-verbose "$PARI_URL1/pari-$PARI_VERSION.tar.gz" -O pari.tgz || wget --no-verbose "$PARI_URL2/pari-$PARI_VERSION.tar.gz" -O pari.tgz

# Install
tar xzf "$PARI_VERSION.tar.gz"
cd "$PARI_VERSION"
mkdir Pari42
tar xzf pari.tgz -C Pari42
cd Pari42/*
./Configure --prefix=/usr
make gp
sudo make install

0 comments on commit 9e289fd

Please sign in to comment.