Questions tagged [package-management]

tools for installing and maintaining software packages

Most Unix variants come with tools to install software packages, list installed packages, upgrade them, remove them and other maintenance tasks. Many variants have two sets of tools:

  • a low-level tool for maintaining the packages installed on a machine (install a package file, list the files belonging to an installed package, list the installed packages, …);
  • a high-level tool for downloading new or upgraded packages (download and install a package and its dependencies, upgrade all packages, …).

Package management tools

  • APT, the Debian high-level package management suite, over Dpkg (and ported to other low-level packagers), also used by other distributions such as Ubuntu
    • An APT-based package manager with both a command line and a full-screen text mode interface
  • The Debian low-level package manager, also used by other distributions such as Ubuntu
  • The package manager for OS X
  • A Linux package manager, originally developed for the Arch Linux distribution
  • A low-level package manager originally developed by Red Hat, now used by many distributions including Red Hat Enterprise Linux, CentOS, Fedora, SuSE, …
  • YaST, the setup tool, includes the functionality of high-level package management tools
  • A high-level package manager over RPM, originally from Yellowdog Linux, used by many RPM-based distributions including Red Hat Enterprise Linux, CentOS and Fedora
  • Zypper, the SuSE high-level command-line packaging tool, and the underlying engine ZYpp

Other related tags

Further reading

2373 questions
200
votes
3 answers

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 an existing DEB, extract the contents (including…
John Jumper
  • 2,105
20
votes
2 answers

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 see recommended packages: No command 'asdf' found,…
briank
  • 253
19
votes
3 answers

Where can I download the /usr/dict/ packages?

I am looking for free lists of words in multiple languages. I understand that linux distributions do have such lists in /usr/share/dict. Is it possible to download these from somewhere without having to install linux? Tar balls (or equivalent) would…
13
votes
2 answers

Difference between .deb files and .run file

What is the difference between creating .deb files and installing them and just running a .run file?
12
votes
1 answer

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

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 not?
fouric
  • 2,281
10
votes
4 answers

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 takes monstrous machines for such repositories. I…
phunehehe
  • 20,240
10
votes
6 answers

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 will not work without this library, but the…
VPeric
  • 627
7
votes
1 answer

Why are the packages in the official repo often very out of date?

I like the idea of a package manager because it's a central source for finding the applications I need and I can keep track of versions and updates very easily. I recently downloaded and installed Anki. Their website's download section says…
7
votes
2 answers

How to find where a library is installed?

I have installed libgoogle-perftools-dev via software center in Ubuntu 12.04. As suggested by http://pj.freefaculty.org/blog/?p=140, I want to add to my cpp file: #include But the compiler says gperftools/profiler.h: No…
Tim
  • 101,790
6
votes
1 answer

How do I find out which package contains an executable?

Suppose I want to use the command eg. from the project info2html and it's not available on my system. Some distro's sometimes suggest packages for some missing commands that are expected (ie. considered common), but not for all commands (and not all…
n611x007
  • 1,007
5
votes
2 answers

How to know when the package was updated in the repository

apt-get update command updates the package list of the repository in our system apt-get upgrade upgrades the programs if the package version of the new program does not match the current installed version. apt-cache show shows the detailed…
3
votes
4 answers

Install new packages on old unmaintained computer

We have an ancien server (Fedora Core 4) installed in 2005. This server had never been updated. It runs a special software allowing to monitor a production line without being connected directly to the outside world. It is out of question to upgrade…
3
votes
2 answers

A page documenting usage of various package managers

I'm looking for a reasonably up-to-date and comprehensive web page that documents differences in how to use different package managers.
tshepang
  • 65,642
3
votes
1 answer

Where does Debian store the list of installed packages?

I need to find a list of the packages that were installed on a Debian (Armbian) sever before it died. Since it's offline, I can't use apt or dpkg (or any other command). I need to know which file(s) contain the list (even if they're binary). I tried…
Synetech
  • 173
3
votes
3 answers

install package manager on asus router

I just got an asus dsl-ac68u modem/router and I noticed it has ssh access. I set this up and I can ssh in with root permissions, but it doesn't seem to have a package manager installed. Being used to Debian, just to test, I tried: # apt-get install…
mulllhausen
  • 2,668
1
2 3 4