tools for installing and maintaining software packages

learn more… | top users | synonyms (1)

128
votes
9answers
39k views

What is the real difference between “apt-get” and “aptitude”? (How about “wajig”?)

I know that both apt-get and aptitude are command line package management interfaces on Debian derived Linux, with different options, but I'm still somewhat confused. Under the hood, aren't they ...
95
votes
3answers
117k views

Check package version using apt-get/aptitude?

Before I install a package I'd like to know what version i would get. How do I check the version before installing using apt-get or aptitude on debian or ubuntu?
60
votes
17answers
6k views

Where should I put software I compile myself?

I need to compile some software on my Fedora machine. Where's the best place to put it so not to interfere with the packaged software?
26
votes
7answers
5k views

Non-Root Package Managers

From my research, I seem to notice that all package managers insist on being used as a privileged user and must be installed into /. Typically, what I like to do is create a throwaway account, ...
24
votes
6answers
3k views

Why isn't there a truly unified package manager for Linux?

Why isn't there a unified package manager that acts as an interface between the end-user and the underlying low-level package manager (apt, yast, pacman, etc.)? Is it hard to do and therefore not ...
22
votes
4answers
13k views

List packages by installation date

How can I list installed packages by installation date? I installed a lot of stuff to compile a certain piece of code, and I want to get a list of the required packages, which are the ones I installed ...
21
votes
9answers
7k views

List explicitly installed packages

In Gentoo there is the file /var/lib/portage/world that contains packages that I explicitly installed. By explicit I mean, packages that I choose, not including anything installed by default, or ...
18
votes
5answers
925 views

Keeping track of programs

When I install a simple program it often uses make && make install and doesn't often even have an uninstall target. If I wish to upgrade a program is it standard protocol to assume it just ...
17
votes
2answers
6k views

What is yum equivalent of 'apt-get update'?

Debian's apt-get update fetches and updates the package index. Because I'm used to this way of doing things, I was surprised to find that yum update does all that and upgrades the system. This made ...
16
votes
6answers
1k views

What's .deb and .rpm and how is it different from .msi?

What are these file formats and how do they differ from the .msi format in Windows? Also what are the pros and cons of these package management schemes?
16
votes
3answers
5k views

In Arch Linux how can I find out which package to install that will contain file X?

I'm looking for a package that provides a specific binary, so I can install it. how can I search to find out what packages provide this binary? (note: I know there's at least one tool that does this, ...
15
votes
3answers
2k views

Should I use “apt-get remove” or “apt-get purge”?

For uninstalling an app (or package) should I use apt-get remove package-name or apt-get purge package-name? What is advantage of any of them to other one?
15
votes
2answers
656 views

Is there an online/web interface to search and list apt-get packages and see summaries and recommendations?

I'm looking for sort of an 'app-store' or Google Play store type functionality for apt-get packages. What I'd really like to do is select a category, like 'Music' or 'Internet' and see the list of ...
14
votes
2answers
543 views

Why do package names contain version numbers?

While working with Ubuntu and other Debian-based distros, I've noticed that packages in the software repos often contain the major version number. For example, Apache: apache2 Tomcat: tomcat7 PHP: ...
14
votes
3answers
4k views

Using ABI_X86 in Gentoo

For one reason or another (I've been busy, I guess), it's been months since I've updated my Gentoo system. And, as you can imagine, this means there's a lot of packages (and USE changes) I need to go ...
14
votes
2answers
23k views

What is Fedora's equivalent of 'apt-get purge'?

In Debian, there's at least two ways to delete a package: apt-get remove pkgname apt-get purge pkgname The first preserves system-wide config files (i.e. those found in "/etc"), while the second ...
13
votes
4answers
4k views

How Debian package should create user accounts?

The package qqq.deb installs the program qqq that should run from uqqq user account. The package consist of the qqq program, qqq.conf config file and /etc/init.d/qqq initscript. How should the ...
12
votes
3answers
1k views

In Debian based systems, how do we purge configuration files of packages that have already been uninstalled?

To be more specific, I would like to do the equivalent of adding the --purge flag to the following command sudo apt-get autoremove --purge [package name] to packages that are no longer on the ...
11
votes
3answers
6k views

How to find out which (not installed) package a file belongs to?

On Debian systems (and derivatives): $ dpkg --search /bin/ls coreutils: /bin/ls That is, the file /bin/ls belongs to the Debian package named coreutils. But this only works if the package is ...
11
votes
5answers
4k views

How to see package version without install?

I want to see the version of a package before I install it. How can I do this?
11
votes
2answers
3k views

Update only one package with pacman

Is there a way to update only selected programs in pacman? I'm running ArchLinux on my netbook, and the complete upgrade of my system takes up more temporary space than I have on my system, so I'd ...
10
votes
6answers
353 views

Why are libraries shipped separately instead of bundled with every program?

I know why this is good in general: faster security fixes, easier packaging, more features. However, I'm trying to persuade some co-workers that we don't need to bundle a library with our program. It ...
10
votes
1answer
14k views

How do I force remove a package in Arch with pacman?

How do I force remove a package in Arch with pacman while other packages still depend upon it. pacman -R perl-libwww checking ...
9
votes
2answers
6k views

CentOS: List the installed RPMs by date of installation/update?

I'm on a CentOS 4 machine. I updated and installed some packages a few weeks back, but I don't remember the name of every package or the names of every dependency. I used yum. Can I list the packages ...
9
votes
2answers
2k views

Make package explicitly installed in pacman

I have a package that's installed on my PC as an dependency to another package. I would like to have the package explicitly installed, but without actually re-installing it, or downloading any files. ...
9
votes
2answers
2k views

Why are there no -dev packages in Arch Linux?

I understand that source based distributions like Gentoo or Slackware do not need *-dev versions of programs. They include the source code as well as header files for compiling everything locally. ...
9
votes
4answers
482 views

Distributed package repository for Linux?

Many times I have seen the note telling users not to update their repositories too often (i.e more than once a day) because that will put a stress too large for the servers. Also I understand that it ...
9
votes
3answers
2k views

How to install multiple versions of the same package in Gentoo?

I would like to install two (or more) versions of the same packages on my Gentoo system. I know for sure there won't be any file clash, since there very few files installed and each of them is named ...
9
votes
3answers
584 views

Why do most distros (other than Debian) recommend/require a full reinstall when upgrading to a new version?

Having spent most of my Linux life using Debian, I'm been having a look at other distros and am really surprised at extent to which they don't provide a smooth upgrade between versions. Debian is ...
9
votes
4answers
867 views

How can I reliably “hold” a package in Debian?

I have a package in Debian that has been manually patched (not ideal, I know) that I must hold at its current version so upgrades don't overwrite the patched changes (I will manually inspect and apply ...
8
votes
2answers
355 views

Is it possible to view a package information from terminal before installing it?

I was wondering if it was possible to check information about a package before installing it without needing to open a web browser to look for it there. For example, say I type in ~$ asdf Then I ...
8
votes
2answers
965 views

Too much installing and uninstalling? [on hold]

Is this a problem on Linux like it is one Windows? Installing and uninstalling things that end up leaving behind little bits and pieces that accumulate and have a negative effect? If so, what can I ...
8
votes
3answers
6k views

Man pages for standard C and C++ libraries on Fedora 14

How do I install them? At present, man fopen gives me No manual entry for fopen. I have the compilers installed and have verified that things do build without problems. Update: This is what I got ...
8
votes
2answers
1k views

What's up with “*-git date” packages in the AUR?

I'm just about to move to Arch Linux. Checking out packages in the AUR, there's a lot of packages following the naming scheme "project-name-git date", e.g: adonthell-git 20100408-1 ...
8
votes
2answers
2k views

Launchpad equivalent for Debian

I am thinking of switching to Debian (Squeeze) from Ubuntu (10.10). But these questions have been bugging me: Is there a Launchpad equivalent repository for Debian? I am not able compile packages ...
8
votes
1answer
2k views

How to make dpkg faster?

Package (un)installation on a Debian system is horribly slow, partly because it works with a whole bunch of (small) files. Short of getting faster storage, how do I speed it up? I'm thinking maybe ...
8
votes
3answers
537 views

User-local package management system

I need to deploy, manage and run software as a non-privileged user in SuSE (that is, no root access whatsoever, can't use system's package management, etc). What are my options? I'd prefer reusing ...
7
votes
1answer
5k views

How to install some packages from “unstable” Debian on a computer running “stable” Debian?

On a computer running "stable" Debian, when trying to install a package which is in the unstable list on the Debian web site using the aptitude install <package>/unstable command, I get output ...
7
votes
4answers
5k views

Safely uninstall a package in Gentoo

I wanted to uninstall a specific package in Gentoo and browsed through the emerge man page. I found the --unmerge option: WARNING: This action can remove important packages! Removes all ...
7
votes
3answers
1k views

How do I get pacman to use my custom PKGBUILDs when updating?

I customized a PKGBUILD for Apache, ran makepkg and installed it with pacman -U httpd.tar.xz, which worked fine. A few months later I upgraded my system with pacman -Syu which used the system-default ...
7
votes
2answers
3k views

What packages are installed by default in Debian? Is there a term for that set? Why some of those packages are `automatically installed` and some not?

It's a very simple question, but I wonder, is there a term to refer to the subset of packages that is automatically installed by Debian distribution? I though that it had something to do with ...
7
votes
4answers
4k views

How to install software on Red Hat?

What's the simplest way to download/install software on Red Hat Linux (from bash command line)?
7
votes
2answers
283 views

Is it possible to install a linux desktop environment from a live cd?

My question is about Linux in general but lets suppose my ubuntu isn't working property, booting in tty or whatever. I have no internet connection but I have ubuntu live cd. Is it possible to ...
7
votes
2answers
142 views

Are RPMs valid across platforms?

I'm a little confused about RPM's in Red Hat and/or Fedora (and/or other distros?). I can certainly accept that 64-bit RPM's are needed for 64-bit OS'es and 32-bit for 32-bit OS'es but... If I have ...
7
votes
2answers
108 views

How can I instruct yum to install a specifc version of package X?

If there are 2 versions of a given RPM available in a YUM repository, how can I instruct yum to install the version I want? Looking through the Koji build service I notice that there are several ...
7
votes
2answers
3k views

On Gentoo, how do I rebuild all packages depended on some other package?

I made mistake and changed perl non-threaded version to threaded by unmerge first, change USE flags to include ithreads and emerge perl again. Now most packages depending on perl are broken. How do I ...
7
votes
6answers
20k views

How do I upgrade OpenSSL?

According to these instructions: http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI I need to use OpenSSL 0.9.8k or later (right now it's on 1.0.0c) to use name based virtual hosts in apache. ...
7
votes
4answers
383 views

How can I know if a virtual package is “installed” on a Debian system?

Some packages, have a Provides: header. For example, the package postfix on Debian Wheezy has Provides: mail-transport-agent. The package mail-transport-agent which doesn't exist physically is ...
7
votes
1answer
634 views

How to find which package provides a file?

For example, I can't install package qcad because of error: "can't find qdict.h". How can I find the package which provides the file qdict.h so I can install the package qcad?
7
votes
2answers
677 views

Should I use http or ftp links in apt sources.list

Should I use http or ftp links in /etc/apt/sources.list? What I mean is is using something like, deb ftp://ftp.debian.org/debian/ squeeze main contrib non-free deb-src ftp://ftp.debian.org/debian/ ...