Process of installation, deletion and update the software configuration in the operating system using a pre-prepared packages.
Questions tagged [package-management]
405 questions
6
votes
4 answers
How can I remove the GUI bits from a Red Hat Enterprise Linux install?
I am looking at a farm of RedHat Enterprise Linux (RHEL) 5.3 servers, which all have GNOME and Xorg installed, none of which need them. They were deployed by a 3rd party from a VM template, and I don't know all of their history. What I do know is…

crb
- 7,998
- 1
- 38
- 53
6
votes
3 answers
How can I version control a mirrored upstream repository?
I manage many servers that span multiple environments (dev, qa, staging, and production). To help manage these, we have multiple repositories on a local webserver for our applications (e.g. app_1_el6, app_2_el7, etc.). We also mirror several…

CHK
- 266
- 2
- 7
6
votes
2 answers
Install software from packages, or build it from source?
This is a Canonical Question about when to use packaged software and when to build and install it yourself.
When should I install software from packages provided by my OS distribution, instead of building and installing it myself from source? …

Andrew Schulman
- 8,811
- 21
- 32
- 47
6
votes
2 answers
Removing stubborn modules
I'm trying to programatically stomp on bluetooth on RHEL5.
I've got the service stopped -- no problem. Also no problem on rpm -e for the associated bluetooth packages, bluez-*.
ps -aef | grep -v grep | egrep -c '(sdpd|hcid)'
returns zero , so I…

pboin
- 1,096
- 8
- 11
6
votes
6 answers
How to keep programs from source up to date?
I'm designing a new server setup for hosting multiple websites. (Shared hosting for my clients over at SliceHost.) I've recently moved away from the traditional LAMP setup and chosen Ubuntu, Nginx, php-fpm and mysql.
I like it a lot better then my…

reconbot
- 2,455
- 3
- 25
- 30
6
votes
3 answers
Using Puppet to install software "bundles"
We're in the process of researching a configuration/systems management implementation and we've done quite a lot of demoing of Puppet. Puppet seems to excel at the somewhat simple "ensure this package is installed, this config file exists, and that…

Kyle Smith
- 9,683
- 1
- 31
- 32
6
votes
1 answer
How to use dpkg-divert to temporarily remove/replace symlink when package is installed?
The default nginx package creates a symlink named default in the sites-enabled dir, which points to a default config file in sites-available. I'm currently creating a package for an app that sits on top of Nginx, and I want to remove or move away…

Suan
- 163
- 1
- 5
6
votes
3 answers
How to stay up to date with the latest information about UNIX software patches and upgrades?
Until now I have always used the SecurityFocus mailing lists to keep myself informed about the possible need of upgrading my server packages. The main problems I have with using this method:
Massive amount of items every day. I simple don't have…

Aron Rotteveel
- 8,449
- 17
- 53
- 64
6
votes
6 answers
Source vs Package Managers on the job
I am a bit confused, as there are two ways to install applications. One being to configure and make from source and the other from a package manager. If one were a UNIX/Linux administrator, is it fair to use package managers and is it trustworthy?…

Recursion
- 619
- 2
- 7
- 19
5
votes
2 answers
How do I specify that a deb package should replace one with a different name?
I am creating a Debian package foo which needs to replace an existing package bar on systems on which it is installed.
I've read:
https://www.debian.org/doc/debian-policy/ch-relationships.html
And concluded that the correct clauses in the…

spierepf
- 51
- 1
- 3
5
votes
2 answers
How to completely remove a package in Debian?
I tried to use this:
aptitude remove denyhosts
And it seemed successfully but after a reboot after I use:
ps aux | grep "denyhosts"
I see denyhosts is still loaded after startup.
So what am I supposed to do so that I can stop and destroy it once…

datasn.io
- 279
- 1
- 5
- 16
5
votes
1 answer
Best way to automatically update all centos packages except those which might affect a user-specified list of packages?
More specifically...
What I want to be able to do:
Centralized package management.
Keep systems updated without downloading entire repos (i.e. if a system doesn't have Libreoffice on it, I don't want to have to download any Libreoffice…

Parthian Shot
- 1,165
- 4
- 16
- 32
5
votes
4 answers
Yum (CentOS 6.4) - Remove all Installed Packages
I need to clean my system and redo it all. Is there any easy way to get rid of every single package I've installed (to a point where it's CentOS minimal)? I can't remember all of the packages and
yum list installed
pulls up a list of 1,000s of…

Ryan
- 197
- 1
- 3
- 10
5
votes
1 answer
Copying Cygwin installation from one computer to another?
I have a computer that has a Cygwin installation that has been customized over the years by installing additional packages as needed using Cygwin's setup program.
I'd like to duplicate this installation on a second computer, with the same set of…

Brooks Moses
- 171
- 1
- 6
5
votes
6 answers
Can anybody tell me how to create my own local package repository for my packages in Ubuntu?
I want to create a package repository for my packages in ubuntu and this repository will be using in multiple Ubuntu systems to install and update packages.

Charly
- 321
- 4
- 6
- 16