How To Install libghc-atomic-write-prof on Kali Linux
Introduction
In this tutorial we learn how to install libghc-atomic-write-prof
on Kali Linux.
What is libghc-atomic-write-prof
libghc-atomic-write-prof is:
Atomically write to a file on POSIX-compliant systems while preserving permissions.
On most Unix systems, mv
is an atomic operation. This makes it simple to
write to a file atomically just by using the mv operation. However, this will
destroy the permissions on the original file. This library does the following
to preserve permissions while atomically writing to a file:
If an original file exists, take those permissions and apply them to the temp file before
mv
ing the file into place.If the original file does not exist, create a following with default permissions (based on the currently-active umask).
This way, when the file is mv
‘ed into place, the permissions will be the
ones held by the original file.
This library is based on similar implementations found in common libraries in Ruby and Python.
This package provides a library for the Haskell programming language, compiled for profiling. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-atomic-write-prof
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libghc-atomic-write-prof Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libghc-atomic-write-prof
using apt-get
by running the following command:
sudo apt-get -y install libghc-atomic-write-prof
Install libghc-atomic-write-prof Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-atomic-write-prof
using apt
by running the following command:
sudo apt -y install libghc-atomic-write-prof
Install libghc-atomic-write-prof Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libghc-atomic-write-prof
using aptitude
by running the following command:
sudo aptitude -y install libghc-atomic-write-prof
How To Uninstall libghc-atomic-write-prof on Kali Linux
To uninstall only the libghc-atomic-write-prof
package we can use the following command:
sudo apt-get remove libghc-atomic-write-prof
Uninstall libghc-atomic-write-prof And Its Dependencies
To uninstall libghc-atomic-write-prof
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libghc-atomic-write-prof
Remove libghc-atomic-write-prof Configurations and Data
To remove libghc-atomic-write-prof
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libghc-atomic-write-prof
Remove libghc-atomic-write-prof configuration, data, and all of its dependencies
We can use the following command to remove libghc-atomic-write-prof
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-atomic-write-prof
Dependencies
libghc-atomic-write-prof have the following dependencies:
- libghc-atomic-write-dev
- libghc-base-prof-4.13.0.0-2f220
- libghc-bytestring-prof-0.10.10.1-c40ee
- libghc-directory-prof-1.3.6.0-49fdf
- libghc-filepath-prof-1.4.2.1-103b6
- libghc-temporary-prof-1.3-d53ce
- libghc-text-prof-1.2.4.0-a7a6e
- libghc-unix-compat-prof-0.5.2-0cbb9
References
Summary
In this tutorial we learn how to install libghc-atomic-write-prof
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.