Questions tagged [package-management]

tools for installing and maintaining software packages

33
votes
5answers
4k 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 ...
51
votes
11answers
17k 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, ...
38
votes
3answers
16k views

How to find out which (not installed) Debian 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 ...
24
votes
6answers
92k views

Invalid signature for Kali Linux repositories : “The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository”

I cannot update my Kali Linux, when trying to execute apt-get update I get this error message: # apt-get update Get:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease [30.5 kB] Err:1 ...
125
votes
17answers
37k 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?
102
votes
9answers
85k views

List packages on an apt based system by installation date

How can I list installed packages by installation date? I need to do this on debian/ubuntu. Answers for other distributions would be nice as well. I installed a lot of stuff to compile a certain ...
5
votes
3answers
8k 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 ...
253
votes
10answers
106k 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 ...
215
votes
3answers
514k 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 ...
17
votes
2answers
14k 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 ...
15
votes
3answers
28k 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?

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 packages priorities, but it doesn't seem to be the ...
9
votes
2answers
4k 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 ...
84
votes
3answers
37k 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, ...
30
votes
1answer
87k views

Debian: The repository does not have a Release file

Whenever trying to install some programs from source, or specifically running apt update, I receive this message: E: The repository 'http://ftp.ca.debian.org/debian stretch/updates Release' does not ...
1
vote
1answer
5k views

How to update Apache and PHP using SCL?

I'm testing an upgrade of PHP using SCLs. The testing is happening on a local VM so its OK to break things as we develop a procedure. Following The SCL Repositories I was able to update Python to 2.7....
45
votes
2answers
65k 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 ...
35
votes
3answers
37k views

How to undo sudo add-apt-repository?

I run sudo add-apt-repository ppa:noobslab/indicators to install my-weather-indicator but it requires GTK3 and I don't want to proceed. So I'd like to undo that command. I'd checked my /etc/apt/...
10
votes
1answer
15k 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 ...
9
votes
8answers
54k views

How to recreate /var/lib/dpkg/status?

I have deleted some files around /var/lib/dpkg/, namely: /var/lib/dpkg/status /var/lib/dpkg/available /var/lib/dpkg/info/* I understand Debian uses these files to keep some information about ...
120
votes
2answers
108k 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 here for the curious). I need to edit the postinst script in the DEB they provide. How can I take ...
53
votes
10answers
27k 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 ...
44
votes
6answers
46k views

Listing packages in Yum that depend on another installed package

I am trying to install a 3rd-party RPM package on RHEL5 which depends on version 3.4 of sqlite. According to Yum I already have 3.3.6 installed. Is there a way to list the installed packages that ...
29
votes
3answers
9k 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. ...
8
votes
4answers
1k views

How to know the source repository of a package in debian?

In Debian, AFAIK some packages are maintained in Subversion (famously team-pkg-gnome), while some are maintained in git, and others in some other VCS. Is there a way to know where the source of a ...
8
votes
5answers
1k 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 ...
4
votes
1answer
1k views

How to get ALL kinds of reverse package dependencies: reverse-depends pendant for non-Ubuntu distributions

I would like to find all possible reverse dependencies (no need for recursive reverse dependencies) of a certain package p, that is, I want to find all packages which depend on p. This shall include ...
3
votes
1answer
433 views

Package name translation across different distros

I'm trying to write a general purpose script which at one point attempts to install certain packages on Linux systems. To handle the different package managers across various distros, I am using ...
6
votes
1answer
606 views

How is the authenticity of Debian packages guaranteed?

What security systems and processes are in place to prevent malicious third parties from hacking/compromising the security of code in the Debian mirrors, or to verify that the packages we get are in ...
6
votes
2answers
10k 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: apt-...
2
votes
1answer
12k views

How to remove all kde packages?

So I recently installed the kde packages, running the command apt install kde-full for installing the kde desktop environment, after test it a while I realize I didn't want it anymore so I remove the ...
50
votes
3answers
68k views

Can I rollback an apt-get upgrade if something goes wrong?

Is there a way, before starting an aptitude upgrade or apt-get upgrade, to set up something so that you can "easily" rollback your system to the "apt" state it was before the actual upgrade, if ...
35
votes
5answers
29k 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?
19
votes
1answer
147k views

Install Apache 2.4 on CentOS using yum

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 ...
49
votes
4answers
70k views

How to delete old packages installed by pacman in Arch Linux?

I have recently installed Arch Linux and found that I am eating away at a lot of memory relatively quickly. For whatever reason I have already used 17GB in just about 2 weeks. I do not have a great ...
33
votes
3answers
54k views

What is the difference between i686 and x86_64 packages?

I have a machine with both glibc i686 and x86_64, and a very annoying problem with glibc. Is it normal to have two libraries of the same name installed on one computer? How can I know which library ...
16
votes
4answers
5k 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
4k views

how to apply a patch in a debian package?

I put up a bug report and have been asked to apply the patch therein and see if it works. I have tried to find documentation about how to go about doing it but is unclear. The closest I have been ...
11
votes
1answer
19k 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 ...
9
votes
4answers
15k views

How to find out if a specific package is installed on Debian?

I'm working with a Raspberry Pi B+ and Raspbian 5/5/2015 and some guides that are a few years old. I've got an external NTFS HDD hooked up to the Pi. Due to the articles age(s), common practices ...
7
votes
3answers
3k 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 ...
6
votes
2answers
7k views

How to install X11 on my own Linux Buildroot system?

I have developed my own tiny linux file system using buildroot and busybox. I used linux-2.6.38.8 kernel configured and cross-compiled for target system(X86) according to needs.Now the filesystem is ...
5
votes
3answers
19k views

how to upgrade a single package in debian

I'm currently running debian 8 and I want to upgrade security patches which is provided by debian but problem is that, if I upgrade a single package then it asks to upgrade many packages, as in: $ ...
4
votes
1answer
3k 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: '...
3
votes
2answers
31k views

E: Package '<any package>' has no installation candidate

I am unable to apt-get install any packages because E: Package '<package name>' has no installation candidate. Unlike the other similarly named questions, I am using debian and I have not been ...
5
votes
1answer
1k 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 ...
2
votes
2answers
617 views

Download Debian packages and dependencies on Windows?

I am working in a restricted environment. I have a Debian system (Jessie) with no internet connection. I want to download the packages and dependencies on a Windows machine (where I don't have admin ...
30
votes
1answer
7k views

How does apt-get really work?

Okay, I understand how I may use apt-get {install|upgrade|remove} mypackages to install, upgrade, or remove binaries as well as their configuration data files and dependencies (actually, remove will ...
36
votes
4answers
184k 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 2....
22
votes
4answers
159k views

Every package “has no installation candidate”

While attempting to install openssh-server on Ubuntu 14.04 64-bit, I get the following error: Package openssh-server is not available but is referred to by another package. This may mean that the ...
12
votes
4answers
39k views

Allow non-admin users to install packages via apt or rpm?

Is it possible to allow non-root users to install packages system-wide using apt or rpm? The place where I work currently has an out of date setup on the linux boxes, and admins are sick of having to ...