How To Install maptransfer-server on Ubuntu 18.04

In this tutorial we learn how to install maptransfer-server on Ubuntu 18.04. maptransfer-server is upload/download maps to/from a VALVe game server (Server)

Introduction

In this tutorial we learn how to install maptransfer-server on Ubuntu 18.04.

What is maptransfer-server

maptransfer-server 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:

  • Automatically BZip compresses uploaded maps if the client didn’t.
  • Hardlinks files 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.

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

  • 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-server on Ubuntu 18.04. 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-server 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-server using apt-get by running the following command:

sudo apt-get -y install maptransfer-server

Install maptransfer-server Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install maptransfer-server

Install maptransfer-server 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install maptransfer-server

How To Uninstall maptransfer-server on Ubuntu 18.04

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

sudo apt-get remove maptransfer-server

Uninstall maptransfer-server And Its Dependencies

To uninstall maptransfer-server and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove maptransfer-server

Remove maptransfer-server Configurations and Data

To remove maptransfer-server configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge maptransfer-server

Remove maptransfer-server configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge maptransfer-server

References

Summary

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