Cargo and Nix: 2 More Package Management Systems for GNU / Linux

Cargo and Nix: 2 More Package Management Systems for GNU / Linux

Cargo and Nix: 2 More Package Management Systems for GNU / Linux

A few days ago, we published an entry about 3 cross-platform package managers called "Conda, PIP and NPM", not so well known and used by ordinary users but more than anything, by Software developers. Whereas, we will now comment on other 2 package managers very similar called "Cargo and Nix".

"Cargo and Nix" they are 2 interesting and useful Package management systems open source, the first well known and used by Developers who use the Rust programming language and the second well known and used by Users full GNU / Linux Distro call Nix OS.

Conda, PIP and NPM: Cross-Platform Package Management Systems

Conda, PIP and NPM: Cross-Platform Package Management Systems

Before getting started on the topic of "Cargo and Nix", it would be very useful to recommend and facilitate reading to those interested in the Package management systems previously mentioned ("Conda, PIP and NPM") and after reading this publication, so, by means of the immediately following link, you will be able to do it:

Conda, PIP and NPM: Cross-Platform Package Management Systems
Related article:
Conda, PIP and NPM: Cross-Platform Package Management Systems

While, another useful related post and highly recommended to read is the following:

Guix: Package Management Tool Installation Tutorial
Related article:
Guix 1.2: Package Management Tool Installation Tutorial

Cargo and Nix: Rust and NixOS Package Manager

Cargo and Nix: Rust and NixOS Package Manager

What is Cargo?

According to the creators of Rust programming language at their Official website, "Post" is

"Rust's default package manager. Which is used to download the dependencies of the Rust packages created to successfully compile them, making them distributable and facilitating their upload to Craters (crates.io), the package registry of the Rust community."

Note: Packages built in Rust are called Craters (Crates).

More about Cargo

Although, in later entries we will surely expand the information related to its basic use, Cargo has the advantage that being part of the Rust programming language, is downloaded and installed together with it, and also has excellent documentation within the Rust, both in Spanish and English, so to deepen it immediately, you can use the following links:

  1. Install Rust (Rustc, Rustup, and Cargo)
  2. Hello Cargo! (In English)
  3. The Cargo Book
  4. Charge on GitHub
  5. Craters: The Rust Community Crater Record
Rust language: Its developers announce the new version 1.50.0
Related article:
Rust language: Its developers announce the new version 1.50.0

What is Nix?

According to the creators of the GNU / Linux NixOS Distro at their Official website, "Nix" is

"A purely functional package manager. This means that it treats packages as values ​​in purely functional programming languages ​​like Haskell, that is, they are built by functions that have no side effects, and never change after being built. In addition, it stores the packages in its own store, which is usually the directory "/ nix / store", where each package has its own unique subdirectory under a unique identifier (cryptographic hash) for the package that captures all its dependencies. The latter allows you many powerful features."

More about Nix

Although, in later entries we will surely expand the information related to its use, installation, characteristics and basic use, Nix has good documentation within it of NixOS, so to deepen on it immediately, you can make use of the following links:

  1. NixOS GNU / Linux
  2. Nix Package Manager Guide
  3. Nix on GitHub
  4. Nix Package Collection
children
Related article:
NixOS: a separate and different distribution with KDE

Finally, and as an extra Bonus in this publication we will mention «Compose», which is basically the equivalent of Rust charge, NodeJS NPM y Python PIP, but for PHP. That is, a package and dependency management system for PHP. And it is in charge of managing the dependencies of the projects created and installing the necessary packages for their proper functioning. In addition, its download, installation and use documentation is easily accessible on its website, in addition to the link to its site at GitHub.

Generic image for article conclusions

Conclusion

We hope this "useful little post" about «Cargo y Nix», 2 interesting and useful Package management systems open source, the first well known and used by Developers who use the Rust programming language and the second widely used and used by Users of the GNU / Linux Distro called Nix OS; is of great interest and utility, for the entire «Comunidad de Software Libre y Código Abierto» and of great contribution to the diffusion of the wonderful, gigantic and growing ecosystem of applications of «GNU/Linux».

For now, if you liked this publicación, Do not stop share it with others, on your favorite websites, channels, groups or communities of social networks or messaging systems, preferably free, open and / or more secure as TelegramSignalMastodon or another of Fediverse, preferably. And remember to visit our home page at «DesdeLinux» to explore more news, as well as join our official channel of Telegram from DesdeLinuxWhile, for more information, you can visit any Online library as OpenLibra y jedit, to access and read digital books (PDFs) on this topic or others.


Be the first to comment

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.