How To Install uucp on Ubuntu 18.04

In this tutorial we learn how to install uucp on Ubuntu 18.04. uucp is Unix to Unix Copy Program

Introduction

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

What is uucp

uucp is:

UUCP will copy files to or from another (usually *nix) system, which also runs uucp.

UUCP is used to transfer mail, news and random files between systems which are not connected by more modern networks. The communication can be made via modems, direct (hard-wired) serial connections or via an IP connection.

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

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

sudo apt-get update

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

sudo apt-get -y install uucp

Install uucp Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install uucp

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

sudo aptitude -y install uucp

How To Uninstall uucp on Ubuntu 18.04

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

sudo apt-get remove uucp

Uninstall uucp And Its Dependencies

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

sudo apt-get -y autoremove uucp

Remove uucp Configurations and Data

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

sudo apt-get -y purge uucp

Remove uucp configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge uucp

References

Summary

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