Package Manager HowTos
Topic include Linux and Unix package management system including apt-get, yum, and other package manager. Example includes installing, upgrading, configuring, troubleshooting, and removing software packages on Linux and Unix like oses in a consistent manner ( rss feed ).
ow can I update for Google Cloud SDK components on a Linux or OS X unix based systems? [click to continue…]
am a new RHEL / Centos Linux server admin. I would like yum to update all packages except the Linux Kernel. How can I prevent yum command
from updating kernel on a CentOS/RHEL/Fedora Linux based systems? [click to continue…]
am a new CentOS / RHEL 6.x server user and DevOP. I need to lock a package called nginx on a server being updated via yum command
. How do I lock package version at a particular version on CentOS / Red Hat Enterprise Linux (RHEL) 6.x or Fedora Linux? [click to continue…]
am a new CentOS / RHEL / Red Hat / Fedora Linux server user. I need to provide tidy library support using php. How do I install php-tidy on RHEL or CentOS Linux for Apache server? [click to continue…]
would like to see detailed information on the history of yum transactions such as updates, deleted packages, and other information. How do I see history of yum commands on CentOS / RHEL 6.x based server? How do I undo or redo or rollback packages using yum command
? [click to continue…]
entOS Linux v6.5 has been released and available via repos for immediate update. The new version includes several hundred bug fixes for, and enhancements to the Linux kernel. How do I upgrade from CentOS Linux version 6.0 / 6.1 / 6.2 / 6.3 or 6.4 to the latest version 6.5? [click to continue…]
ow do I setup and manage a virtualized environment with Kernel based Virtual Machine (KVM) in CentOS or Red Hat Enterpise Linux version 6 server on IBM server? Can you provide step-by-step commands of how to install and manage Virtual Machines (VMs) on a physical server using KVM for RHEL/CentOS version 6.4? [click to continue…]
am a new CentOS Linux user running my community site on production server. I want to update all packages except the Linux kernel on CentOS Linux. How can I prevent the yum command
from updating the Linux kernel on CentOS/RHEL/Scientific/Fedora Linux server? [click to continue…]
I am using Ubuntu 12.04.2 LTS ("precise"). I am trying to upgrade all packages using kernel via apt-get upgrade method. But, I am getting the following message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-headers-virtual linux-image-virtual mysql-client-5.5 mysql-server-5.5
The following packages will be upgraded:
base-files dosfstools linux-libc-dev linux-libc-dev:i386
4 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 1,847 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue [Y/n]?
How do I fix this issue and install linux-headers-virtual linux-image-virtual packages which have been kept back in Ubuntu Linux LTS version 12.04.2?
[click to continue…]
mount /tmp with nodev, nosuid, and noexec options to increase the security of my Linux
based web server. And, whenever I ran apt-get install
or apt-get upgrade
command, I am getting the following error:
apt-get install linux-generic linux-headers-generic linux-image-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-43-generic
Found initrd image: /boot/initrd.img-3.2.0-43-generic
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-43-generic
W: TMPDIR is mounted noexec, will not cache run scripts.
How do I fix this problem without compromising security of the data or web-server?
[click to continue…]