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

learn more… | top users | synonyms (1)

173
votes
8answers
85k views

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 ...
136
votes
7answers
54k views

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 ...
78
votes
2answers
73k views

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 [...
54
votes
6answers
25k views

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 ...
47
votes
5answers
16k views

How do I find out which package owns a file?

How do I find out what Debian package a file came from?
40
votes
4answers
7k views

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 ...
35
votes
8answers
8k views

How do you track which packages were installed on Ubuntu (Linux)?

(This question is very similar to 10458. It was suggested that Fedora and Ubuntu/Debian are different enough to warrant different answers.) As I use any Ubuntu setup I gradually install a number of ...
34
votes
8answers
16k views

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 ...
30
votes
4answers
37k views

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 ...
25
votes
3answers
21k views

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).
24
votes
4answers
6k views

Find outdated/updatable pip packages

pip freeze shows me the packages installed, but how do I check against pypi which ones are outdated?
23
votes
3answers
41k views

Apple / Mac OS X - Is there a Package Manager like Linux

I am a Linux/UNIX user and love the package management that comes with it. For the most part, I like Ubuntu, but just like anything else, it is the minor things that you live with daily that would be ...
22
votes
3answers
43k views

How can I resolve gstreamer dependencies in Ubuntu

Can you please tell me how can I resolve these dependencies on ubuntu: checking for GSTREAMER... configure: error: Package requirements (gstreamer-0.10 >= 0.10 gstreamer-app-0....
20
votes
9answers
59k views

How can I undo or rollback an “apt-get upgrade” command on Ubuntu?

Is there a way in Ubuntu to rollback or undo the last upgrade after doing an apt-get upgrade if you don't like the results?
20
votes
1answer
24k views

is there any equivalent/branch of Homebrew for Windows? [duplicate]

Possible Duplicate: Package managers for Windows Homebrew is a package manager for macOS mimicking Linux ones (think about apt-get as a canonical example). Obviously, it has some trendy ...
17
votes
2answers
3k views

Why does apt-get sometimes asks for confirmation?

Sometimes it does this: After this operation, 713kB of additional disk space will be used. Do you want to continue [Y/n]? And sometimes not, and just assumes 'yes' and downloads automatically (I ...
16
votes
2answers
16k views

Using Yum to install packages for my user only

I would like to be able to install packages by using a package manager (Yum is available on my server), but I don't have root access. I don't technically need root access, I just want the packages to ...
15
votes
5answers
17k views

How to search for debian packages with command line?

I do know http://packages.debian.org/ provide the search facillity. The problem is how could I search the packages with just command line?
14
votes
2answers
4k views

Package managers for Windows [closed]

You might be familiar with Ninite. What I'd like to know is if there are good alternatives to that software for Windows. The features I expect: installs the latest version of software supports 64 ...
13
votes
8answers
3k views

How can I achieve “Git”-like update management for Linux?

I want to manage the updates of my Linux system in a similar fashion as Git does it, by being able to move back and forth within "revisions". How could I do that?
13
votes
2answers
5k views

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?
13
votes
4answers
28k views

When would you use apt-get remove over apt-get autoremove?

I understand that apt-get remove removes packages and apt-get autoremove is to remove any packages that were installed to fulfil a dependency for a given package. So for example if I installed ...
12
votes
8answers
12k views

What Linux distribution has the most up-to-date packages?

Ubuntu's release schedule is just too slow. I want the absolute latest version of everything. Even if it's slightly unstable. Which distribution will give me this without having to manually install ...
12
votes
3answers
593 views

Ubuntu: What are they doing to the vanilla sources?

Correct me if I am wrong As far as I know distros like Debian/Ubuntu/Fedora usually modify the vanilla source code before creating a package. What's the reason behind these changes? Is there a ...
12
votes
2answers
3k views

Make pacman does not reinstall when already installed

How to make pacman (archlinux's package manager) to not reinstall when the package already installed pacman -S packagename # install and reinstall if exists
12
votes
4answers
27k views

How do I get a list of available (i.e. uninstalled) packages in Debian?

Essentially what I'm looking for is the Debian equivalent of: yum list available to show me which packages are available (though not currently installed). I'd prefer something that can be run from ...
11
votes
2answers
10k views

Zypper: How do I display all packages from a certain repository?

Please tell me, how to let zypper display all installed packages of a certain repository.
11
votes
7answers
6k views

How do you track which packages were installed on Fedora (Linux)?

(This question is very similar to 6338. It was suggested that it be split from it as Fedora and Ubuntu/Debian are different enough to warrant different answers.) As I use any Fedora setup I ...
11
votes
4answers
3k views

Emacs 24: Loading a package installed via ELPA

I have just installed the cmake-mode package in Emacs 24 using: M-x package-install cmake-mode I can see the package at: ~/.emacs.d/elpa/cmake-mode-20110824, and I can load it using the instruction ...
10
votes
5answers
5k views

What is the official installer for Unix packages on Mac OS?

I'm a bit confused about the installation of standard Unix packages on Mac OS X. For example, I have /usr/bin/svn, which is SVN v.1.4.4, but FinkCommander says svn is not installed. The same holds for ...
10
votes
3answers
7k views

Homebrew installation of git won't take precedence over system version (in /usr/bin/)

OS X (or Xcode) comes bundled with git 1.7.something, but after brew install git (1.8.0), which git keeps returning the old /usr/bin/git. This is what I get when I echo $PATH right now: /usr/local/...
10
votes
1answer
4k views

Arch Linux: 'whatprovides' equivalent option for pacman

I've come from Fedora and am trying out Arch Linux. I was wondering if the packager 'pacman' contains funcionality like that provided by 'yum whatprovides': provides or whatprovides ...
10
votes
1answer
1k views

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....
9
votes
2answers
317 views

How does Ubuntu know what programs exist and can be installed?

I typed the following in a terminal $ musique The program 'musique' is currently not installed. You can install it by typing: sudo apt-get install musique So Ubuntu knows that "musique" is a ...
9
votes
2answers
5k views

How to tell apt that dependencies are resolved manually?

Let's say there is a software I don't want to install through apt, but manually. (TeXLive, because I want to use the 2011 release and apt only has the 2009 version.) Let's say there is another ...
9
votes
1answer
3k views

How do I use Windows 10 built-in package manager?

I'm finding Windows 10 package management not very intuitive. Below are my adventures in trying to install VLC, which sounds like a very common test case for a package manager. Find-Package vlc ...
9
votes
2answers
4k views

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 ...
8
votes
7answers
2k views

Can it cause problems to switch from apt-get to aptitude?

I've been thinking about switching to aptitude, but I've heard people say "if you're already using apt-get, you should wait until your next installation to switch." Why do people say this? What sort ...
8
votes
7answers
13k views

How do I get back the default Samba configuration file (Debian-based system)?

I recently installed Samba and I messed up the /etc/samba/smb.conf file. How do I get the original configuration back?
8
votes
2answers
5k views

What's the difference between “Mark for Removal” and “Mark for Complete Removal” in Synaptic Package Manager?

When I right click on a package in Synaptic Package Manager it presents selections for removal and complete removal. What are the differences between these options?
8
votes
4answers
8k views

How do I revert to an alternate version of a package on Ubuntu?

I upgraded to an alpha version of a package in a PPA and would now like to revert back to the official version in the Ubuntu universe. What steps do I need to take? Edit: The question originally ...
7
votes
4answers
11k views

How to install a single package from Debian sid?

Take ibus-sunpinyin for example, which isn't existed in the squeeze release. I'm not going to switch the whole system to the sid branch, so, I want to download the single package from sid repository ...
6
votes
2answers
11k views

How to list manually installed software packages in Ubuntu? [duplicate]

Possible Duplicate: How do you track which packages were installed on Ubuntu (Linux)? Hello, I'm using apt-get install to install various software on my PC. I have a handful of PCs that needs ...
6
votes
4answers
6k views

Test if a package is installed in APT

I want a shell script method to test/report if a package is installed. I don't need details, only boolean return to set logic flow. I looked at Find if a package is installed, but dpkg returns complex ...
6
votes
1answer
9k views

after changing sources.list on ubuntu, how do I make him reload/refresh?

after changing sources.list on ubuntu, how do I make him reload/refresh? So new packages in the new sources will be found?
6
votes
4answers
9k views

How to modify a deb package?

What I've done so far I downloaded the source of an official deb-package from the ubuntu-repositories. I applied a patch. Ran configure and make successfully. Tested the program. What I'd like to ...
6
votes
3answers
15k views

How do I restore the standard Ubuntu Gnome login after trying Xubuntu?

I've been running Ubuntu with Gnome for some time now. I wanted to try out XFCE, so I tried the suggestion from the site http://www.psychocats.net/ubuntu/xubuntu and entered the following command: $ ...
6
votes
1answer
8k views

What is the technical differences between “update” and “upgrade” with yum?

I frequently use the following when updating/upgrading RPM-based distros (CentOS, RHEL, and Fedora in my case): yum -y update && yum -y upgrade However, I'm not sure exactly how the two yum ...
6
votes
3answers
2k views

Aptitude Untrusted source, gpg, keyserver

I have mirrored the Ubuntu archive repository (I must say it's rather huge). Then, I can apt-get install with no problem, but it prompts with following warning: WARNING: The following packages ...
5
votes
3answers
27k views

Find where a program is installed in Linux

After installing a program using a package manager where is the information about where the program was installed and in which menu category it can be found.