How To Install portreserve.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install portreserve.x86_64
on Amazon Linux 2.
What is portreserve.x86_64
The portreserve program aims to help services with well-known ports that lie in the portmap range. It prevents portmap from a real service’s port by occupying it itself, until the real service tells it to release the port (generally in the init script).
We can use yum
to install portreserve.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install portreserve.x86_64.
Install portreserve.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install portreserve.x86_64
using yum
by running the following command:
sudo yum -y install portreserve.x86_64
How To Uninstall portreserve.x86_64 on Amazon Linux 2
To uninstall only the portreserve.x86_64
package we can use the following command:
sudo yum remove portreserve.x86_64
portreserve.x86_64 Package Contents on Amazon Linux 2
/etc/portreserve
/sbin/portrelease
/sbin/portreserve
/usr/lib/systemd/system/portreserve.service
/usr/lib/tmpfiles.d/portreserve.conf
/usr/share/doc/portreserve-0.0.5
/usr/share/doc/portreserve-0.0.5/COPYING
/usr/share/doc/portreserve-0.0.5/ChangeLog
/usr/share/doc/portreserve-0.0.5/NEWS
/usr/share/doc/portreserve-0.0.5/README
/usr/share/man/man1/portrelease.1.gz
/usr/share/man/man1/portreserve.1.gz
/var/run/portreserve
References
Summary
In this tutorial we learn how to install portreserve.x86_64
on Amazon Linux 2 using yum.