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
47
votes
4 answers

How do I search for packages using yarn?

How do I search for packages with yarn? I want to get a list of results that have the search term in the name of the package as well as in descriptions (similar to how various utilities work like npm search, apropos, apt-cache search). I tried yarn…
labyrinth
  • 13,397
  • 7
  • 35
  • 44
46
votes
1 answer

Feature comparison between npm, pip, pipenv and Poetry package managers

How do the main features of npm compare with pip, pipenv and Poetry package managers? And how do I use those features of pipenv or Poetry? This could primarily help someone transitioning from being JavaScript developer to a Python developer. I've…
Resonance
  • 3,359
  • 2
  • 16
  • 20
46
votes
4 answers

How to install packages from Docker compose?

Hi there I am new to Docker. I have an docker-compose.yml which looks like this: version: "3" services: lmm-website: image: lmm/lamp:php${PHP_VERSION:-71} container_name: ${CONTAINER_NAME:-lmm-website} environment: HOME:…
Blackbam
  • 17,496
  • 26
  • 97
  • 150
46
votes
5 answers

How can I use npm for front-end dependencies?

I want to ask if it is possible (and generally a good idea) to use npm to handle front-end dependencies (Backbone, jQuery). I have found that Backbone, jQuery and so on are all available through npm but I would have to set another extraction point…
dev.pus
  • 7,919
  • 13
  • 37
  • 51
44
votes
4 answers

Add custom package source to Visual Studio Code

Does anybody know how to add custom package source to Visual Studio Code? E.g. I'd like to add https://www.myget.org/F/aspnet-contrib/api/v3/index.json as a package source and drive these packages through project.json.
Tomino
  • 5,969
  • 6
  • 38
  • 50
44
votes
8 answers

Installing Ruby 1.9.1 on Ubuntu?

I wonder about installing the latest version of Ruby on Ubuntu 9.04. Now I can run through the ./configure and make stuff fine, but what I wonder about: how to avoid conflicts with the packaging system? For example if some other package I install…
Björn
  • 1,183
  • 2
  • 13
  • 18
43
votes
7 answers

Homebrew install permissions issue

I have a standard homebrew install inside of usr/local/ When I try: Larson-2:~ larson$ brew install postgresql Error: Cannot write to /usr/local/Cellar And when I use sudo: Larson-2:~ larson$ sudo brew install postgresql Cowardly refusing to `sudo…
Andrew Lauer Barinov
  • 5,694
  • 10
  • 59
  • 83
43
votes
7 answers

Can yum tell me which of my repositories provide a particular package?

Hopefully short version of the question: If I'm on a machine that has a particular package installed, is there a yum command that will tell me which of it's configured repositories provided that package? (Or alternately, what repository would…
Brian Deacon
  • 21,384
  • 13
  • 39
  • 41
41
votes
3 answers

How to list all the commands available in package.json?

A package.json can have lot of commands and common ones are npm start, npm test but there are generally more commands. Is there a way to list all the commands? Currently I use less package.json but it has too much noise to show.
igauravsehrawat
  • 3,696
  • 3
  • 33
  • 46
40
votes
1 answer

What's the difference between Chocolatey, OneGet, PsGet, NuGet, ...?

I know there are many package sources for PowerShell extensions. I'm seeking for a comprehensive answer, how: Chocolatey NuGet PsGet PowerShellGallery OneGet MyGet ProGet ... all these fit together into one big picture. Please denote discontinued…
Paebbels
  • 15,573
  • 13
  • 70
  • 139
38
votes
6 answers

Invalid object name 'dbo.__MigrationHistory' using Database.Create; EF6.02 when connection string is passed in

I experience an error when trying to create a database using the following code. Note the problem does not happen if the connection string is not passed in. Also the problem happens when I run the program in the IDE. It does not happen if I run the…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
37
votes
1 answer

How to obtain older versions of packages using MSYS2?

I decided to try CLion for Windows, which recommends either MinGW or Cygwin for compilation. I installed the MSYS2 package manager into the default folder, C:\msys64, updated it by running update-core and pacman -Su. I then downloaded the MinGW64…
Andy
  • 1,127
  • 2
  • 12
  • 25
37
votes
2 answers

Package Manager vs Dependency Manager

What is the difference between a package manager and a dependency manager?
Erlan
  • 2,010
  • 1
  • 22
  • 31
36
votes
13 answers

Snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks

I have been using snap for some time but after a recent upgrade, I get this error when I try opening any application Snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation…
ROOT-X17
  • 463
  • 1
  • 4
  • 8
36
votes
4 answers

Is there any way to retrieve a dependency tree from yum?

To reduce the chance of the XY problem, I'm trying to install PostGIS on a clean, virtual RHEL5 installation with heavy restrictions. I do not know if we (as a company) have a RH subscription. # yum install postgis Loaded plugins: product-id,…
Sean Allred
  • 3,558
  • 3
  • 32
  • 71
1 2
3
66 67