Questions tagged [package-management]

Package management is the process of installing, upgrading, configuring, and removing software packages for a computer's operating system in a consistent manner.

Package management is the process of installing, upgrading, configuring, and removing software packages for a computer's operating system in a consistent manner. It typically uses a database of software dependencies and version information to prevent software mismatches and missing prerequisites and a collection of software tools to automate package deployments.

520 questions
408
votes
7 answers

Find what package a file belongs to in Ubuntu/Debian?

I frequently find myself missing a program, man page, or other file when working on my Ubuntu 8.04 system. Is there any simple way to look up what package contains a given file (whether it is installed already or not)? Maybe some obscure option for…
Jay Conrod
  • 5,806
238
votes
3 answers

How can I remove outdated installed versions of Homebrew packages?

How can I remove outdated versions of Homebrew packages that are installed side-by-side with current versions?
aknuds1
  • 9,538
228
votes
6 answers

How to install a specific package version in Alpine?

I have a Dockerfile to build a Docker image that is based on Alpine Linux. Now I need to install a package as part of this Dockerfile. Currently I have: RUN apk update && \ apk upgrade && \ apk add git Apparently this is a bad idea, as the…
Golo Roden
  • 2,589
206
votes
8 answers

Find outdated/updatable pip packages

pip freeze shows me the packages installed, but how do I check against pypi which ones are outdated?
Xster
  • 3,025
185
votes
6 answers

How to tell from what Ubuntu or Debian repository a package comes?

On a Debian-based system, including Ubuntu, how can one tell which repository a package will be downloaded from, without actually beginning the download? aptitude show and apt-cache info will show the section (e.g., metapackage, base, graphics), but…
gotgenes
  • 2,436
144
votes
2 answers

What is the difference between yum, apt-get, rpm, ./configure && make install?

I am new to Linux and am running CentOS. I have come across four ways to update or install software. So far, I've seen: yum install [program] apt-get install [program] rpm -i [program].rpm wget [program].tar.gz -> unpack -> ./configure -> make ->…
Saif Bechan
  • 3,345
130
votes
5 answers

How do I find out which package owns a file?

How do I find out what Debian package a file came from?
98
votes
7 answers

Is it safe to install both Homebrew and Macports on the same machine?

I have MacPorts installed on my iMac with a fair number of ports installed. I'm interested in trying out Homebrew, though, as I've heard many good things about it, and because I've noticed that it contains more up-to-date versions of several of the…
Rich
  • 2,340
  • 2
  • 18
  • 26
88
votes
4 answers

How to find out which versions of a package can I install on APT

Using APT, you can install a specific version of a package using: apt-get install package=1.0 But you can't do apt-get install package=1.* So, how can I find out which versions are avaliable for package on a specific repository, or in all…
74
votes
3 answers

Which Debian package architecture am I using?

What's the command to find out which Debian package architecture I'm using? eg, on a 64 bit x86, I'm expecting something like amd64, i386 on 32 bit x86 and darwin-x86_64 from OSX 10.6 (via Fink).
67
votes
1 answer

Prevent pacman from reinstalling packages that were already installed

How to prevent pacman (archlinux's package manager) from reinstalling packages that were already installed? pacman -S packagename # install and reinstall if exists
Kokizzu
  • 1,807
52
votes
3 answers

What is the difference between Recommended and Suggested packages (Ubuntu)

On Ubuntu when you install a package, there can be dependencies, recommendations and suggestions. For example: virtualbox-ose has adduser as dependency, libgl1 as recommendation and libpulse0 as suggestion. What is the difference between…
Peter Smit
  • 9,636
43
votes
8 answers

Find all user-installed packages

Is there any way to get a list of all user-installed packages on an Ubuntu system, i.e. the packages that were installed on top of the default installed packages? (The idea is to get a comprehensive list that can be used to install the same packages…
Rabarberski
  • 8,800
41
votes
1 answer

Is there a way to convert a non-Chocolatey installed program into a Chocolatey installed one?

I have a few programs that have been installed using non-Chocolatey methods (.msi packages, setup.exe, etc.). I have recently started using Chocolatey and would like to use it to update these programs. Is there a way I can do this or do I need to…
41
votes
4 answers

How to install software packages on a Mac? (MacPorts, Fink, anything better?)

On my Mac OS X machine, how would you recommend I install command line software and other packages? I've been using MacPorts and it always seems quite slow, presumably because it has to compile the packages on-the-fly. I'd much prefer a package…
1
2 3
34 35