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
35
votes
1 answer

Lua's package management system?

What's the Lua's standard package management system and repository? Like brew for Mac OS X, npm for node.js.
eonil
  • 83,476
  • 81
  • 317
  • 516
35
votes
7 answers

Can I run a private npm repository without replicating the public repository?

I'm writing a number of pieces of code (for internal use) using node.js and want to store the modules (packaged up for npm) in a package repository for each distribution to the various machines they will be installed on. Ideally, I'd like a solution…
Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
34
votes
2 answers

Can't import packages using Swift 4 Package Manager

Trying to test Swift 4 using Xcode-beta (v9) on my machine and having issues with importing packages into a test project: Initiated project using swift package init --type executable Changed Package.swift and added 2 projects to try…
Timka
  • 1,769
  • 1
  • 20
  • 27
33
votes
2 answers

Why doesn't Gradle or Maven have a dependency version lock file?

I've recently been introduced to the concept of a dependency version lock file when reading about package managers like NPM, Yarn, Paket, Cargo, etc. My understanding is that it is a file that lists all direct and transitive dependencies along with…
jmrah
  • 5,715
  • 3
  • 30
  • 37
33
votes
3 answers

When using Swift Package Manager how can I generate an Xcode project file for development

I am using the new open source Swift Package Manager and am able to download the files. I want the manager to create a "development environment" (Through Xcode) based on the packages it retrieved. Has anybody dealt with this?
Avba
  • 14,822
  • 20
  • 92
  • 192
32
votes
1 answer

Install nodeJS inside conda environment

I want to use NodeJS and AngularJS for a small project. Can I use conda's virtualenv to install these packages inside a separate virtual environment, and then have them removed from the system once I delete the virtualenv?
Fakher Mokadem
  • 1,059
  • 1
  • 8
  • 22
30
votes
1 answer

Why are packages installed rather than just linked to a specific environment?

I've noticed that normally when packages are installed using various package managers (for python), they are installed in /home/user/anaconda3/envs/env_name/ on conda and in /home/user/anaconda3/envs/env_name/lib/python3.6/lib-packages/ using pip on…
lahsuk
  • 1,134
  • 9
  • 20
27
votes
2 answers

Package Manager vs. Git Submodule/Subtree

Are there any reasons to use a package manager rather than git submodules/subtrees, or vice versa? The git solutions seem to be a lot more hassle than a simple package manager. Assume that the space-saving benefit of git submodules is not important.
27
votes
3 answers

Bower update return me invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes

I've tried to remove my installed last package that make my bower like that. But still no luck. Looks like when I'm install my last package it I mistakenly paste an tab character: bower install angular-input-stars-directive Now every…
ssuhat
  • 7,387
  • 18
  • 61
  • 116
26
votes
2 answers

What is the difference between component and bower?

I had a hard time finding an overview of the differences between component and bower. Which one is better, what is the better package manager to use? Are there any alternatives to these two I should consider?
Yoshua Wuyts
  • 3,926
  • 1
  • 20
  • 16
25
votes
3 answers

How do you uninstall Bower (the package manager)?

How do you uninstall Bower? I mean the package manager, not the packages (that I have already uninstalled).
Romain Poirier
  • 431
  • 1
  • 4
  • 10
24
votes
2 answers

"npm isntall" command exists

When you type an illegal npm command, you are getting a user-friendly error message stating which commands are legal to use: $ npm illegal Usage: npm where is one of: add-user, adduser, apihelp, author, bin, bugs, c,…
alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195
24
votes
3 answers

How make bower build the package?

Is there a way to make bower run a package grunt after it was cloned from GitHub? I'm trying to use Bower but one of the packages I'm using is the Bootstrap extension, x-editable. The problem is that while other packages push a fully built version…
Guy Korland
  • 9,139
  • 14
  • 59
  • 106
24
votes
3 answers

Should I install node.js on Ubuntu using package manager or from source?

Does anyone know if installing the latest build from source is a risky route to take? Should i just stick with the package manager?
dmoss18
  • 867
  • 1
  • 12
  • 25
23
votes
3 answers

Homebrew is generating two warnings

I use Homebrew as the package manager. I run this command: brew update But I got this error: error: unable to unlink old 'bin/brew' (Permission denied) Error: Failed while executing git pull http://github.com/mxcl/homebrew.git master Running…
Chiron
  • 20,081
  • 17
  • 81
  • 133