Questions tagged [package-managers]

Software that allows administrators (and in some cases also users) to control the installation and upgrade process of packages on their systems.

Package management systems exist for most operating systems. Programs (like interpreters for some languages, scientific computing systems, etc.) may also have their own package manager for handling extensions, scripts or plugins.

The chief goal is to provide a means for software to recursively specify dependancies, allowing a software package's dependant libraries to be automatically installed.

999 questions
17
votes
5 answers

Adding Local dependencies in XCode11 using SPM

Is it posible to integrate local dependencies with SPM in xcode 11, File > Swift Packages > Add Package dependency... It only seems to populate and let me select git repos hosted on bitbucket I am just not sure if I am approaching the issue the…
user6252584
  • 229
  • 2
  • 8
17
votes
4 answers

How to update package cache when using module package from ansible

If I run apt, I can update the package cache: apt: name: postgresql state: present update_cache: yes I'm now trying to use the generic package command, but I don't see a way to do this. package: name: postgresql state: present Do I have…
Justin Blank
  • 1,768
  • 1
  • 15
  • 32
17
votes
1 answer

npm update -g does nothing even though I have outdated packages

I am running npm version 3.6.0 and node verison 5.6.0 on Windows 10: > npm version { npm: '3.6.0', ares: '1.10.1-DEV', http_parser: '2.6.1', icu: '56.1', modules: '47', node: '5.6.0', openssl: '1.0.2f', uv: '1.8.0', v8: '4.6.85.31', …
Klas Mellbourn
  • 42,571
  • 24
  • 140
  • 158
17
votes
1 answer

Installing nuget package from GitHub

The command: Install-Package curve25519-uwp installs version 1.0.3 of this package (https://www.nuget.org/packages/curve25519-uwp/) On GitHub there is a version 1.0.4 that fixes a specific error I am facing. Can anyone explain how to get that…
Tony
  • 1,394
  • 5
  • 22
  • 48
17
votes
3 answers

Is there any package management system for MinGW+MSYS?

I am trying to compile some open source libraries in MinGW+MSYS. During the configure phase, I kept seeing some 3rd party libraries are missing. For now, my solution is to download the source of the missing libraries and follow the GNU build process…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
17
votes
6 answers

Private composer packages - no valid composer.json was found

I'm trying to load a library I have hosted on BitBucket using composer as explained both in the official documentation and here, but keep receiving the following error: [Composer\Repository\InvalidRepositoryException] No valid composer.json was…
James
  • 1,950
  • 3
  • 22
  • 39
17
votes
1 answer

How do I permanently set a new Default project in the VS NuGet Package Manager console?

I am using VS2012 and every time I reopen VS, the Default project in the NuGet Package Manager console has been reset to what seems like a arbitrary project, and I have to use the dropdown list to reset to the appropriate project. How can I set (and…
StuperUser
  • 10,555
  • 13
  • 78
  • 137
16
votes
2 answers

Manage NUGET Packages menu missing after update

I have recently updated the package manager (VSIX extension) for NUGET to version 3.5. Afterwards I noticed the UI is missing: Normally there is a 3rd menu item available (right between console and settings menu items), which opens the dialog for…
Matt
  • 25,467
  • 18
  • 120
  • 187
16
votes
1 answer

How to install a specific version of ocaml compiler with opam

How can I install a specific version of ocaml compiler (and compatible packages) using opam (or another package manger)? I took a quick look through the opam documentation, but I don't find a relevant information. I need ocaml compiler (preferably…
norio
  • 3,652
  • 3
  • 25
  • 33
16
votes
3 answers

PHP package manager

does anyone know a package manager library for PHP (as e.g. apt or yum for linux distros) apart from PEAR? I'm working on a system which should include a package management system for module management. I managed to get a working solution using…
maff
  • 763
  • 2
  • 7
  • 16
15
votes
5 answers

How do you switch between pnpm versions?

I'm currently working on an application that uses pnpm 6 but I have pnpm 7 installed. I couldn't find any documentation that shows me how to install and switch between versions. Thank you!
Shey Umar
  • 151
  • 1
  • 1
  • 3
15
votes
4 answers

Structure of winget source repositories

Microsoft announced and open-sourced winget, a package manager for Windows. When entering winget source (after installing it), it can be seen that it supports adding sources. winget source provides the following subcommands: add Add a new…
dan1st
  • 12,568
  • 8
  • 34
  • 67
15
votes
1 answer

How to choose target framework from Nuget package

I'm using a NuGet package which contains the assemblies for 2 target frameworks: net45 and netstandard1.5 My project is targeting net471 (so compatible with netstandard1.5). When I add the package, it copies the dll from net45 folder. How to force…
zgabi
  • 404
  • 1
  • 4
  • 11
15
votes
3 answers

How does conda work internally?

I searched for a while now but couldn't find any satisfactory answer: How does conda (http://conda.pydata.org) work internally? Any details are welcome... Furthermore, as it is python agnostic and apparently work so well and fluently, why is it not…
SebastianNeubauer
  • 543
  • 1
  • 5
  • 9
14
votes
1 answer

Package Manager in Android

I am trying to understand the Android PackageManager (functionality and uses) and the new improvements in Ice Cream Sandwich for PackageManager over previous versions. I have seen the following links and some old threads but still would appreciate…
learner
  • 1,095
  • 2
  • 18
  • 41