How To Install socks4-clients on Ubuntu 18.04

In this tutorial we learn how to install socks4-clients on Ubuntu 18.04. socks4-clients is Socks4 enabled clients as rtelnet and rftp

Introduction

In this tutorial we learn how to install socks4-clients on Ubuntu 18.04.

What is socks4-clients

socks4-clients is:

This is version 4.3 of SOCKS, a package that allows Unix hosts behind a firewall to gain full access to the internet without requiring direct IP reachability. It does require a SOCKS server program being run on a hosts that can communicate directly to hosts behind the firewall as well as hosts on the Internet at large. It is based on the original SOCKS written by David Koblas [email protected].

This package includes SOCKSified client programs of finger, ftp, telnet, and whois. A few other SOCKSified clients may be found on ftp.nec.com, in directory /pub/security/socks.cstc.

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

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

sudo apt-get update

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

sudo apt-get -y install socks4-clients

Install socks4-clients Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install socks4-clients

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

sudo aptitude -y install socks4-clients

How To Uninstall socks4-clients on Ubuntu 18.04

To uninstall only the socks4-clients package we can use the following command:

sudo apt-get remove socks4-clients

Uninstall socks4-clients And Its Dependencies

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

sudo apt-get -y autoremove socks4-clients

Remove socks4-clients Configurations and Data

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

sudo apt-get -y purge socks4-clients

Remove socks4-clients configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge socks4-clients

References

Summary

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