How to download a GOG game from a Linux Command Line
If you are a gaming player and a Linux User, You may be happy to announce that GOG will launch the game on your favorite operating system a few months ago. If you have never heard of GOG before, I encourage you to look at the "great old games" in their product catalog, with reasonable prices, no DRM restrictions, and great stuff. Although the GOG client on Windows has existed for a long time, the official Linux client is nowhere to be seen. Therefore, if you do not want to wait for the official version, an unofficial open source code plan named LGOGDownloader allows you to access your library in the command line.
Install LGOGDownloader in Linux
For Ubuntu users, we recommend that you download the source code and execute:
- $ Sudo apt-get install build-essential libcurl4-openssl-dev liboauth-dev libjsoncpp-dev libhtmlcxx-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev libboost-program-options- dev libboost-date-time-dev libtinyxml-dev librhash-dev help2man
- $ Tar-xvzf lgogdownloader-2.17.tar.gz
- $ Lgogdownloader-2.17 cd
- $ Make release
- $ Sudo make install
If you are an ArchLinux user. There is an AUR package waiting for you:
Use of LGOGDownloader
Once the program is installed, You need to log on with the following command:
- $ Lgogdownloader -- login
If you need a configuration file, it is here :~ /. Config/lgogdownloader/config. cfg
After the verification is passed, you can list all the games in your library:
- $ Lgogdownloader -- list
Run the following command to download the game:
- $ Lgogdownloader -- download -- game [game name]
You can note that lgogdownloader allows you to resume interrupted downloads, which is useful when the downloaded game is not very small.
Like every respectable command line utility, you can add various options:
- -- Platform [number]: select your operating system, 1 is Windows, and 4 is Linux.
- -- Directory [destination] download the installation package to the specified directory.
- -- Language [number] download a specific language pack (check the corresponding numbers in the manual based on your language ).
- -- Limit-rate [speed] limits the download speed.
With an additional benefit, lgogdownloader can also check for updates on the GOG Website:
- $ Lgogdownloader -- update-check
The results will list the number of private emails received on the Forum and the number of updated games.
Finally, lgogdownloader is a very standard command line utility. I can even say that it is a microcosm of clarity and coherence. We are indeed far from the Steam Linux client, but on the other hand, the official GOG Windows client will not do more than this unofficial Linux version. In other words, lgogdownloader is a perfect alternative. I can't wait to see more Linux-compatible games on GOG, especially the DRM-free movies they recently announced will have video game topics. You want to see updates on the client when there is a game library in the movie directory.
What do you think about GOG? Will you use an unofficial Linux client? Let us know your thoughts in the comments.