How to Install and Uninstall node-tmp Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 23,2024
1. Install "node-tmp" package
This guide let you learn how to install node-tmp on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
node-tmp
Copied
2. Uninstall "node-tmp" package
This guide let you learn how to uninstall node-tmp on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
node-tmp
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the node-tmp package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: node-tmp
Priority: extra
Section: universe/web
Installed-Size: 28
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Architecture: all
Version: 0.0.28-1
Depends: nodejs, node-os-tmpdir
Filename: pool/universe/n/node-tmp/node-tmp_0.0.28-1_all.deb
Size: 8176
MD5sum: 0045769b9bb416f31eb812b98c538666
SHA1: cc9dfce55d331d7ae2395d808066cf4a67363fdf
SHA256: 6bcd2879fa0653720b508d0b564fee5fd2457bc8e2d80e81c81ea93998ef3550
Description-en: Temporary file and directory creator for Node.js
The main difference between node-temp and node-tmp is that node-tmp more
aggressively checks for the existence of the newly created temporary file
and creates the new file with O_EXCL instead of simple O_CREAT | O_RDRW,
so it is safer.
.
The API is slightly different as well, Tmp does not yet provide
synchronous calls and all the parameters are optional.
.
Tmp uses crypto for determining random file names, or, when using templates,
a six letter random identifier. And just in case that you do not have that
much entropy left on your system, Tmp will fall back to pseudo random numbers.
.
You can set whether you want to remove the temporary file on process exit or
not, and the destination directory can also be set.
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: c50a9bc1ed3e7a9b2eb6ad0849bbe04b
Homepage: http://github.com/raszi/node-tmp
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: extra
Section: universe/web
Installed-Size: 28
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Architecture: all
Version: 0.0.28-1
Depends: nodejs, node-os-tmpdir
Filename: pool/universe/n/node-tmp/node-tmp_0.0.28-1_all.deb
Size: 8176
MD5sum: 0045769b9bb416f31eb812b98c538666
SHA1: cc9dfce55d331d7ae2395d808066cf4a67363fdf
SHA256: 6bcd2879fa0653720b508d0b564fee5fd2457bc8e2d80e81c81ea93998ef3550
Description-en: Temporary file and directory creator for Node.js
The main difference between node-temp and node-tmp is that node-tmp more
aggressively checks for the existence of the newly created temporary file
and creates the new file with O_EXCL instead of simple O_CREAT | O_RDRW,
so it is safer.
.
The API is slightly different as well, Tmp does not yet provide
synchronous calls and all the parameters are optional.
.
Tmp uses crypto for determining random file names, or, when using templates,
a six letter random identifier. And just in case that you do not have that
much entropy left on your system, Tmp will fall back to pseudo random numbers.
.
You can set whether you want to remove the temporary file on process exit or
not, and the destination directory can also be set.
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: c50a9bc1ed3e7a9b2eb6ad0849bbe04b
Homepage: http://github.com/raszi/node-tmp
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu