sudo apt-get install build-essential libssl-dev libreadline-dev zlib1g-dev LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" tar xf lazygit.tar.gz lazygit sudo install lazygit /usr/local/bin
sudo apt install libsdl2-devsudo apt install libsdl2-image-devsudo apt install libsdl2-ttf-dev
git config --global user.name "Rias Gremory"git config --global user.email "example@gmail.com"git config --global user.password "your_password"
sudo apt install gh
gh auth login
gh auth logout
Pour créer l'archive tar.gz contenant tous les fichiers nécessaires, utilisez la commande suivante dans le répertoire racine de votre projet :
tar -czvf pacman.tar.gz *.cpp *.h Makefile README.txtto make the game on the current folder :
maketo luch the game :
./pacman