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

Addressing the "cannot remove prior installation of package" error when updating multiple packages at once

This is a problem that comes up repeatedly, e.g. Error in install.packages : cannot remove prior installation of package ‘DBI’ Warning in install.packages : cannot remove prior installation of package ‘data.table’ Unable to install package forecast…
mikeck
  • 3,534
  • 1
  • 26
  • 39
9
votes
2 answers

Go get not fetching all dependencies

I am using go 1.5.1 on Windows 8.1 64-bit. I do not have GO15VENDOREXPERIMENT set in my environment. I have the latest version of git and bazaar installed. I am trying to get the gomniauth package: go get github.com/stretchr/gomniauth Even though…
F21
  • 32,163
  • 26
  • 99
  • 170
8
votes
2 answers

Get the requirements of a package in PyPI without installing it?

I need something like the following: pip showrequirements tensorflow This would return something that allows me to parse the names of the required packages and the required versions: astor>0.6, tensorboard>1.0.11, etc. pip is getting this…
mmnormyle
  • 763
  • 1
  • 8
  • 18
8
votes
3 answers

How to reset Haskell package cache

Deciding to learn Haskell, installed ghc on OS X via Homebrew (web binaries weren't downloading at the time). All great, following along with Learn You a Haskell, but then decided to install some packages and see how things run. cabal install…
ljs.dev
  • 4,449
  • 3
  • 47
  • 80
7
votes
2 answers

How to install the latest PyTorch preview (nightly) build via Poetry

The latest preview build supports accelerated training on M1 MacBook Pros. This feature is currently only supported by the newest preview (nightly) build: To get started, just install the latest Preview (Nightly) build on your Apple silicon Mac…
leifericf
  • 2,324
  • 3
  • 26
  • 37
7
votes
2 answers

How to create any AWS Lambda Python Layer? (Usage example with XGBoost)

I am having trouble creating a lambda layer for the xgboost library. Im running: Im grabbing a zip of xgboost and it's dependencies from here (https://github.com/alexeybutyrev/aws_lambda_xgboost) and loading it into a layer. When I try to test my…
7
votes
3 answers

.NET Package Management

What are the current offerings for .NET package management. Which are you using and what are the pros and cons? Some examples out there today are: Nu OpenWrap For the avoidance of doubt, I'm referring to package management systems such as gem,…
Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
6
votes
2 answers

A proper way to manage Unity Asset Store packages

I'm new to Unity and I'm uncertain how to properly manage Asset Store packages. What I've been doing so far is downloading them through Package Manager and importing them into the project and simply commiting them to my git repo. I feel like this is…
6
votes
2 answers

Is there a .NET (Core) equivalent of npm link?

This essentially amounts to, "how do I clone a .NET project, make modifications, and use it rather than the published one?" In NodeJS, we have npm link, which lets you link a local package (module) in your node_modules/ directory, to your current…
netpoetica
  • 3,375
  • 4
  • 27
  • 37
6
votes
1 answer

Should the Conda (base) environment be kept up to date?

I'm happily using Conda via the miniconda install to manage python environments. After install, I leave the base environment alone and create new environments for new projects. Then I conda env update these environments as needed. However, I'm not…
GollyJer
  • 23,857
  • 16
  • 106
  • 174
6
votes
1 answer

Is there a way to add python dependencies to conan package

I am setting up a project using multiple libraries and packages in C/C++ and Python. I would like to setup a binary repository for C/C++ packages and a python package index server for python packages. I stumbled upon conan and artefactory to handle…
Alexper
  • 143
  • 2
  • 8
5
votes
3 answers

Unable to locate package openssl-dev

I'm trying to install the ROOT CERN packages on linux, using Ubuntu 18.04, and whenever I get into the prerequisites download, with this command: sudo apt-get install dpkg-dev cmake g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev…
5
votes
1 answer

How to maintain R (renv) project

My colleagues and I are working on a book with Bookdown in RStudio. Since I create a lot of graphics with ggplot and therefore I have many dependencies to other packages (ggplot, ggforce, gganimate, ...), I added renv in the course of the book to…
ralph
  • 73
  • 8
5
votes
0 answers

NPM show update progress programmatically

I want to use NPM as the update engine for a NWJS desktop app. I know its possible to hook up to the NPM api to programatically install packages and my understanding is that the same API can be leveraged for NPM updates. I'd like is to show a…
Steven de Salas
  • 20,944
  • 9
  • 74
  • 82
4
votes
1 answer
1
2
3
9 10