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)

96
votes
6answers
35k 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 ...
94
votes
8answers
42k 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 ...
46
votes
2answers
31k 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 ...
43
votes
5answers
17k 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 ...
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 ...
31
votes
3answers
8k views

How do I find out which package owns a file?

How do I find out what Debian package a file came from?
31
votes
8answers
6k 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 ...
26
votes
8answers
12k 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 ...
20
votes
3answers
31k 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 ...
16
votes
2answers
12k 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).
15
votes
2answers
2k 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 ...
15
votes
2answers
10k 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
7answers
45k 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?
15
votes
1answer
14k 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 ...
14
votes
3answers
27k 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 ...
12
votes
3answers
546 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
4answers
19k 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
2answers
3k 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 ...
12
votes
5answers
9k 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?
11
votes
7answers
9k 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 ...
10
votes
5answers
4k 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
4answers
15k 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 ...
9
votes
3answers
14k 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 ...
9
votes
2answers
3k 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
3answers
5k 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: ...
9
votes
7answers
4k 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 ...
8
votes
3answers
1k views

Find outdated/updatable pip packages

pip freeze shows me the packages installed, but how do I check against pypi which ones are outdated?
8
votes
4answers
7k 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 ...
8
votes
1answer
2k 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 ...
7
votes
7answers
8k 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?
7
votes
2answers
4k 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?
6
votes
7answers
1k 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 ...
6
votes
2answers
10k 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 ...
6
votes
4answers
8k 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
4answers
8k 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
4k 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
6k 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
1answer
4k 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

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 ...
6
votes
2answers
2k 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 ...
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
16k 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.
5
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: $ ...
5
votes
2answers
1k views

Extremely slow pypi package retrieval with i.e. pip

Finding python packages using tools such as pip or easy_install takes very long, up to ten minutes, on my local desktop running Ubuntu 12.10. The same procedures are lightning fast on my cloud ...
5
votes
2answers
1k views

Can Debian identify rarely used packages?

I'd like to find a tool that could tell me which Debian packages on my system have been rarely or never used, perhaps by looking at file lists and access times. This is to find candidates for ...
5
votes
1answer
1k views

Yum commands cheat sheet for Macports users

What are the equivalent yum commands of the following MacPorts port commands? search self-update installed (list) outdated (list) Are some things completely different from MacPorts?
5
votes
2answers
5k 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.
5
votes
2answers
707 views

Generate history of packages installed and removed in Ubuntu

Somewhere on the web, there was a great command line string that parsed your dpkg logs and presented a clean output to show you when you installed and removed various packages. I'm talking more than ...
4
votes
1answer
3k views

Is Ninite a trusuted solution for initial package management on fresh/clean install of Windows 7 64Bit?

I'd like to re-open the question from link below, where several packages were suggested besides Ninite.com such as allmyapps.com. Package managers for Windows What I'd like to know is if they are all ...
4
votes
1answer
140 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 ...