How To Install maptransfer on Debian 10

Learn how to install maptransfer on Debian 10 with this tutorial. maptransfer is upload/download maps to/from a VALVe game server (Client)

Introduction

In this tutorial we learn how to install maptransfer on Debian 10.

What is maptransfer

maptransfer is:

Uploading Maps to a Game server can be a tedious process if you want to get the post-upload processing right. MapTransfer tries to automate this process as much as possible. It handles everything a map upload takes:

  • Finds the paths on the disk where Steam is installed and where games are located. (Uses the Registry on Windows, and maptransfer.cfg for other OSs)
  • BZips the Map before upload, and only uploads the BZ2ed file. That way, maps are automatically prepared for fast download, while saving (mega)bytes for the client to upload.
  • Uploads .nav/.txt/.res files, if any.
  • Hardlinks files on the server side, if more than one gameserver path is specified in the config; that way a single map is uploaded to multiple servers at once (and only takes up the space once, too).
  • Saves you and your users a lot of tedious cdery and copypasta.
  • Highlights the maps you or the server don’t have, so you easily see what’s missing on either side.

Aside from the core functionality, it offers a few niceties as well:

  • Client allows for simultaneous downloads and uploads.
  • Uses HTTPS as protocol - that way, you can download maps (or test connectivity) with your favorite web browser, or write your own scripts that interact with the server.
  • IPv6 ready
  • Extensible: Any game should work, as long as it uses bsp maps - map directories aren’t hard coded but read from the config file.

There are three methods to install maptransfer on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install maptransfer Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install maptransfer using apt-get by running the following command:

sudo apt-get -y install maptransfer

Install maptransfer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install maptransfer using apt by running the following command:

sudo apt -y install maptransfer

Install maptransfer Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install maptransfer using aptitude by running the following command:

sudo aptitude -y install maptransfer

How To Uninstall maptransfer on Debian 10

To uninstall only the maptransfer package we can use the following command:

sudo apt-get remove maptransfer

Uninstall maptransfer And Its Dependencies

To uninstall maptransfer and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove maptransfer

Remove maptransfer Configurations and Data

To remove maptransfer configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge maptransfer

Remove maptransfer configuration, data, and all of its dependencies

We can use the following command to remove maptransfer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge maptransfer

Dependencies

maptransfer have the following dependencies:

References

Summary

In this tutorial we learn how to install maptransfer package on Debian 10 using different package management tools: apt, apt-get and aptitude.