How to Install and Uninstall perl-Linux-Pid Package on openSuSE Tumbleweed

Last updated: November 23,2024

1. Install "perl-Linux-Pid" package

This is a short guide on how to install perl-Linux-Pid on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-Linux-Pid

2. Uninstall "perl-Linux-Pid" package

This is a short guide on how to uninstall perl-Linux-Pid on openSuSE Tumbleweed:

$ sudo zypper remove perl-Linux-Pid

3. Information about the perl-Linux-Pid package on openSuSE Tumbleweed

Information for package perl-Linux-Pid:
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Linux-Pid
Version : 0.04-3.38
Arch : x86_64
Vendor : openSUSE
Installed Size : 17.3 KiB
Installed : No
Status : not installed
Source package : perl-Linux-Pid-0.04-3.38.src
Upstream URL : http://search.cpan.org/dist/Linux-Pid/
Summary : Get the native PID and the PPID on Linux
Description :
Why should one use a module to get the PID and the PPID of a process where
there are the '$$' variable and the 'getppid()' builtin ? (Not mentioning
the equivalent 'POSIX::getpid()' and 'POSIX::getppid()' functions.)
In fact, this is useful on Linux, with multithreaded programs. Linux' C
library, using the linux thread model, returns different values of the PID
and the PPID from different threads. (Other thread models such as NPTL
don't have the same behaviour). This module forces perl to call the
underlying C functions 'getpid()' and 'getppid()'.