In this tutorial, I will explain how to download GLPI from the command line with wget, unzip it and move it to the virtualhost folder.
If you have a Web server under Linux with Nginx, this tutorial will allow you to install GLPI without needing to use a WinSCP type client or FTP server.
1. Get the url of the latest GLPI archive on the Github repository here : Releases · glpi-project/glpi (github.com).
2. Use the wget command to download the archive:
wget https://github.com/glpi-project/glpi/releases/download/9.X.Y/glpi-9.X.Y.tgz
![](https://rdr-it.io/wp-content/uploads/2021/08/glpi-wget-01-600x111.png)
3. Decompress the archive with the tar command:
tar -xvzf glpi-9.X.Y.tgz
4. Move the unzipped content (glpi folder) to the virtualhost folder:
sudo mv glpi/* /dossier/du/virtualhost/
You now know how to download and move files with wget, tar and mv.