Questions tagged [package-management]

The general process of managing and maintaining packages; not to be confused with the related tag, [package-managers], which is focused on the package-management tools themselves.

Packages refers to any archive files containing a computer program as well as necessary metadata for its deployment.

Typical functions of a package management system include:

  • Working with file archivers to extract package archives
  • Ensuring the integrity and authenticity of the package by verifying their digital certificates and checksums
  • Looking up, downloading, installing or updating existing software from a software repository or app store
  • Grouping packages by function to reduce user confusion
  • Managing dependencies to ensure a package is installed with all packages it requires, thus avoiding "dependency hell"
142 questions
433
votes
11 answers

How to properly upgrade node using nvm

Is it possible to upgrade node right in place, instead of manually installing the latest stable version? I have installed node.js version 5.0 with nvm, but now I want to update it to 5.4. I'm trying to avoid having to manually reinstall all of my…
Boris Burkov
  • 13,420
  • 17
  • 74
  • 109
85
votes
2 answers

Split requirements files in pip

To create Python virtual environments I use virtualenv and pip. The workflow is very simple: $ virtualenv project $ cd project $ . bin/activate $ pip install -r /path/to/requirements/req1.txt $ pip install -r /path/to/requirements/req2.txt The…
Paolo
  • 20,112
  • 21
  • 72
  • 113
67
votes
3 answers

How to install a package using stack?

Using cabal, I could install hakyll with the command: cabal install hakyll How can I do the same thing using stack?
Ben
  • 3,612
  • 3
  • 19
  • 24
63
votes
3 answers

How to find where a package is installed by pacman?

I'm installing c++ boost library by pacman -Ss boost-libs. After installation, I want to know where my package is installed in my system. Is there any pacman command for doing so?
pgplus1628
  • 1,294
  • 1
  • 16
  • 22
32
votes
2 answers

Installing Nuget Packages globally

Is there a way to install Nuget Packages globally? I have a Nuget Package that I would like to use across multiple projects without having to download for each project? Each project will have its own solution and it will be independent of other…
Ishan
  • 3,931
  • 11
  • 37
  • 59
29
votes
5 answers

How to extract dependencies from a PyPi package without downloading it?

I want to get the dependency of a PyPi package remotely without needing to download it completely. I seem to understand (reading the pip code) that pip when resolving dependencies seems to read the egg once the package has been downloaded. Is there…
Olivier Girardot
  • 4,618
  • 6
  • 28
  • 29
26
votes
2 answers

Is there a project file support like npm/package.json for Python's pip?

I just started working on a project where I needed to install a lot of dependencies via pip. The instructions were to do everything manually. I've used nodejs and maven before where this process is automated and the dependencies are isolated between…
auramo
  • 13,167
  • 13
  • 66
  • 88
24
votes
4 answers

PowerShell PackageManagement, how to uninstall a package provider?

To troubleshoot a problem, I thought I'd try reinstalling the Chocolatey package provider. There appears to be no cmdlet to remove or uninstall a package provider. I'm not referring to removing a package source or package. I'm using PowerShell 5 on…
Vimes
  • 10,577
  • 17
  • 66
  • 86
15
votes
1 answer

Generic "transitive behavior" in CMake Package Configuration File (find_dependency)

I'm trying to enhance my CMake convention-over-configuration framework at the moment. Each of my C++ components (i.e. CMake project) is built via that framework and the framework is already capable to create a CMake Package Configuration File using…
Florian Wolters
  • 3,820
  • 5
  • 35
  • 55
14
votes
2 answers

How would Linux package managers handle C++20 modules?

We are in 2020 now and C++20 is coming, along with the long-awaited C++ modules feature. But after watching a few talks on CppCon I find C++ modules are in a weird place, especially for Linux package managers (pacman, apt, emerge, etc...) From what…
13
votes
2 answers

same package installed by both pip and conda

What happens if the same package is installed by both pip and conda in the same environment? Is conda designed to cope with this? Can you safely pip uninstall the pip version without messing up the conda version?
Daniel Mahler
  • 7,653
  • 5
  • 51
  • 90
12
votes
3 answers

GitHub packages: Single Maven repository for GitHub organization

I would like to use GitHub packages to store Maven artifacts for several repositories in a GitHub organization. Currently, it appears that for each project, a separate (Maven) repository configuration entry is required to point to that (GitHub)…
12
votes
1 answer

PowerShell Package Management - Repository vs Provider vs Source

I am trying to understand package management in PowerShell, and I am getting an incomplete picture. When I look at the objects PSRepository, PackageProvider, and PackageSource, they all seem to have the following relationships: A PSRepository can…
srbrills
  • 1,451
  • 2
  • 13
  • 33
12
votes
3 answers

Allow use of system python in conda env?

Is there a way to force conda to use the system version of python (along with all of the system libraries) in a given env? I have conda enabled by default in my shell, which can get a bit annoying, because if I try to run a system python app, it…
naught101
  • 18,687
  • 19
  • 90
  • 138
11
votes
2 answers

Skip confirmation while using Install-Package?

I have added ChocolateyGet as a provider on Powershell so I can use it with PackageManagement (OneGet), it works but every package I try to install warns: https://www.chocolatey.org is not a trusted package source Then asks for confirmation. It…
guilherme.oc97
  • 431
  • 1
  • 3
  • 13
1
2 3
9 10