How To Install zec on Ubuntu 18.04

In this tutorial we learn how to install zec on Ubuntu 18.04. zec is Z-Shell Empire client

Introduction

In this tutorial we learn how to install zec on Ubuntu 18.04.

What is zec

zec is:

zec is a client for Empire (http://www.wolfpackempire.com/), a real time, multiplayer, internet-based game, featuring military, diplomatic, and economic goals.

Currently there are two incarnations of zec: zec, and zecsh.

zec itself is a traditional script in the style of pei. While it is not as full-featured as pei, it does have the advantage of ZLE support.

zecsh is an experimental script, intended to be sourced from a running shell instance, in order to give the user the ability to intersperse normal shell constructs with Empire commands.

At this time, zecsh is considerably less stable than zec.

There are three methods to install zec 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 zec Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install zec

Install zec Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install zec

Install zec 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 zec using aptitude by running the following command:

sudo aptitude -y install zec

How To Uninstall zec on Ubuntu 18.04

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

sudo apt-get remove zec

Uninstall zec And Its Dependencies

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

sudo apt-get -y autoremove zec

Remove zec Configurations and Data

To remove zec configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge zec

Remove zec configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge zec

References

Summary

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