Skip to content

Instantly share code, notes, and snippets.

@Abu3safeer
Last active January 10, 2024 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Abu3safeer/3c94bb401d7de0349dcfbb45ef6967b9 to your computer and use it in GitHub Desktop.
Save Abu3safeer/3c94bb401d7de0349dcfbb45ef6967b9 to your computer and use it in GitHub Desktop.
build and install header fixed ngPost
# Install required apps
sudo apt-get update && sudo apt-get install -y \
qtbase5-dev \
qtchooser \
qt5-qmake \
qtbase5-dev-tools \
build-essential \
automake
# Build ngPost from source
git clone https://github.com/Tr4il/ngPost.git
cd ngPost/src
sudo qmake -makefile -o Makefile ngPost.pro
sudo make install
cd ../../
sudo mv /opt/ngPost/bin/ngPost /usr/local/bin/ngPost
wget -O ngPost_config.conf https://gist.github.com/Abu3safeer/c92cc9b46dfd88b7e01c30e1a063031a/raw/ad2370502ef13065019fdee38b0a6880ba5dba51/ngPost_config.conf
sudo rm -R ngPost
ngPost -v
# Build par2cmdline-turbo from source
git clone https://github.com/animetosho/par2cmdline-turbo.git
cd par2cmdline-turbo
./automake.sh
./configure
make
make check
sudo make install
cd ../
sudo rm -r par2cmdline-turbo
@Abu3safeer
Copy link
Author

Abu3safeer commented Dec 16, 2023

Just use this command, it should handle everything for you

wget -O ngPost_fixed_header.sh https://gist.github.com/Abu3safeer/3c94bb401d7de0349dcfbb45ef6967b9/raw/1a1b8d42c76368c5fcf6995bdf410c3c7c4c0278/ngPost_fixed_header.sh && bash ngPost_fixed_header.sh && rm ngPost_fixed_header.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment