tools for installing and maintaining software packages

learn more… | top users | synonyms (1)

26
votes
5answers
2k 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 ...
41
votes
10answers
11k 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, ...
20
votes
3answers
10k 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 ...
192
votes
10answers
73k 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 ...
89
votes
17answers
15k 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?
65
votes
2answers
146k views

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

If there are two (or more) 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 ...
47
votes
6answers
35k 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 ...
5
votes
1answer
1k views

How do I replicate installed package selections from one Debian system to another? (Debian Wheezy)

I am trying to set up a staging environment in a VM, in order to test updates before applying them to my main system. In order to do so, I have done a basic installation of Debian Wheezy (same as on ...
7
votes
2answers
1k 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 ...
4
votes
3answers
3k views

Ways to update Ubuntu (debian-based distros) offline

What is the easiest way to update/upgrade an offline Ubuntu machine with the help of a Windows machine that has internet access? This question also applies to installing new packages offline and not ...
7
votes
1answer
6k views

How to download a file from repo, and install it later w/o internet connection?

Assuming that I want to install a program called leafpad later. Currently the only way to install it is via: yum install leafpad -y but I want to save this and install it later without internet ...
40
votes
8answers
17k 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 ...
15
votes
1answer
82k views

CentOS - install using yum Apache 2.4

I need Apache 2.4 in CentOS because with Apache 2.2 mod_proxy_wstunnel is not possible. I have tried this, but unfortunately its for RHEL. After installing, I can't execute the Apache 2.4. Can anyone ...
12
votes
2answers
13k 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 ...
6
votes
2answers
7k views

Openssl upgraded via apt-get, `openssl version` showing previous version

I am running Debian Wheezy. I have just upgraded my system and should have the latest version of openssl (1.0.1g which fixes a critical bug), but it does not appear to be being used. I have run: ...
12
votes
3answers
2k 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
1answer
8k 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
6answers
27k 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. ...
2
votes
1answer
1k views

Fedora's command-not-found doesn't work

I've recently installed Fedora 19. Packagekit-command-not-found is installed. But its own examples don't work. When I enter gedti the output is: bash: gedti: command not found... Similar command is: ...
5
votes
1answer
697 views

Equivs: enhance or update an existing package without uninstalling?

Some background: I'm using Debian 7 as my main environment, and I want to tell my system that I have glibc = 2.15 in addition to the environment's required glibc = 2.13 for the purposes of using some ...
24
votes
4answers
102k views

How to install the latest Python version on Debian separately or upgrade?

I'm still new to Linux, so I'm still trying to understand where executables and their libraries are and how to install packages, so I have Debian Wheezy 7.3 which has these Python versions: Python ...
22
votes
2answers
24k views

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

I'm on a CentOS 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 ...
7
votes
4answers
210 views

Finding all software packages in Debian that provide a particular alternative

The Debian distribution has the Debian Alternatives System. From the Wiki: The Debian alternatives system creates a way for several programs that fulfill the same or similar functions to be ...
6
votes
5answers
702 views

Correlating filename with package [duplicate]

Say, I'm given a filename like libasound.so.2. Is there a way to query the package manager to correlate the filename with its corresponding package? I'm interested to get answers for any package ...
9
votes
3answers
2k views

Is there a way to determine what packages or libraries should be loaded to support an executable?

There is an executable I want to install on a computer that I can't recompile that wasn't built as a package, and I want to download the libraries it requires to run them. Below is part of the output ...
10
votes
1answer
2k 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?
9
votes
4answers
3k views

How to keep my Debian system with the latest packages?

Most of the "Software" I install on my server needs to be the latest release (Java, Tomcat, MySQL-Cluster). So I never have the luck, that there are pre-built Debian packages (in the distribution) ...
6
votes
1answer
8k views

How do I remove/uninstall a program that I have complied from source? [duplicate]

How do I remove a program that I have compiled from source using the ./configure; make; make install method? Does it matter whether I have kept the original directory that the source was stored in or ...
6
votes
1answer
114 views

Check and fix all files from Debian packages.

I've been having some memory corruption issues, causing random crashes, but I've fixed them now. However, I'm concerned that some packages may be corrupted (as naturally any package update has to go ...
6
votes
3answers
2k views

What is the Fedora equivalent to the Debian/Ubuntu package search pages?

The Debian/Ubuntu package search pages are very useful to look up what version of a program is available in what distribution series, how programs are split along multiple packages etc. For example I ...
2
votes
2answers
1k views

How to download Debian package's source code?

I want to read source code of some package in Debian, how can i do that?
8
votes
4answers
16k 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)?
4
votes
2answers
3k views

How do I install mercurial on openSUSE?

Hi I need to install mercurial on my opensuse but I couldn't find the rpm so I just download mercurial.rpm and wanted to install it by using: sudo zypper ... but it said to need python 2.6 so I ...
3
votes
1answer
7k views

install firefox in ubuntu-server edition

I have ubuntu server edition installed and I want to install firefox inside it , I don't want full ubuntu-desktop package just a minimal setup which would let me run firefox inside ubuntu-server 10.04 ...
2
votes
1answer
270 views

Wrapper for package managers

There are a lot of language-specific package managers like cpan for perl, cabal for haskell etc. When we want to install some software, it can sometimes be installed from a corresponding repo, with ...
2
votes
2answers
2k views

removing linux kernels

Below are all the linux kernels that are running on my machine. I am trying to make a debian base install as light as possible. The kernel I am running is linux-image-2.6.30-vortex86mx-apm. I am ...
1
vote
2answers
526 views

The following packages have unmet dependencies

Every time I try to use apt-get install or remove or purge on my Debian, I have this error pop up: The following packages have unmet dependencies: libimage-magick-q16-perl : Depends: ...
1
vote
1answer
2k views

Backup and Restore list of installed packages and APT sources

I commonly reinstall Ubuntu and back up my APT stuff [sources, keys and installed package lists] using the tutorial at http://askubuntu.com/a/99151/371765. However I commonly also remove software such ...
1
vote
1answer
489 views

Installing Kino fails with missing file linux/videodev.h

I'm running into a brick wall here, I'm getting an error on the command: make in installing Kino(Video Editing Software(Dead Project)). Here is the error: make[3]: Leaving directory ...
1
vote
2answers
711 views

Why are custom programs always installed in /opt, /srv, /usr/local, etc. and not in ~/ (home) folder?

The LTS repo is pretty good, but for some reason I prefer the "build from source" method for some programs. One reason is that I get the preferred version (PHP on LTS is on 5.3, whereas I can compile ...
0
votes
0answers
24 views

Debian/Security: How can we verify the Debian software and the download mirrors which provide it are safe? [on hold]

I asked the question recently at Information Security stack exchange, where this was met with "better to ask at the Unix/Linux debian community". Main question: This question is part of a ...
0
votes
1answer
283 views

How to automatically install packages?

I want to install packages automatically by running a script I can write yum install php, but I want it to install another package once installation of the php package is completed. Is there any ...
32
votes
2answers
25k views

Easily unpack DEB, edit postinst, and repack DEB

I'm attempting to install Intel's OpenCL SDK but the DEB files are buggy conversions from RPM (see https://software.intel.com/en-us/forums/topic/515680 for the curious). I need to edit the postinst ...
18
votes
5answers
11k 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?
35
votes
2answers
22k 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 ...
32
votes
3answers
12k 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, ...
11
votes
1answer
3k 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 ...
15
votes
2answers
603 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: ...
11
votes
1answer
7k views

How to quickly create a local apt repository for random packages using a Debian based linux distribution?

Some situations call for manually installing a local package using dpkg -i <packagename>. Sometimes it may be further useful to leverage the functionality of apt with that package so the ...
20
votes
3answers
9k 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 ...