Submitted by Exoware on Sat, 09/05/2009 - 14:52
With a default deployment of CentOS on Xen, using the default supplied CentOS x86_64 base image, I cannot install vi or irssi, nor are they installed (without downloading from source and compiling).
I'm not exactly sure what is causing this, but I certainly know it isn't normal behaviour.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 09/05/2009 - 15:08 Comment #1
What happens if you try to install vi from YUM with a command like :
yum install vim
Submitted by Exoware on Sun, 09/06/2009 - 11:30 Comment #2
-bash-3.2# yum install vim Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors2.portafixe.com * updates: centos.intergenia.de * addons: mirrors2.portafixe.com * extras: mirrors2.portafixe.com base | 1.1 kB 00:00 updates | 951 B 00:00 addons | 951 B 00:00 extras | 1.1 kB 00:00 Setting up Install Process Parsing package install arguments No package vim available. Nothing to do
Submitted by JamieCameron on Sun, 09/06/2009 - 13:28 Comment #3
My mistake, the package is really called vim-enhanced , so you have to run :
yum install vim-enhanced
Submitted by Exoware on Mon, 09/07/2009 - 16:58 Comment #4
Aha, thanks. But what about irssi? I'm pretty sure there's a package for irssi on CentOS 5.3 x86_64.
Submitted by JamieCameron on Mon, 09/07/2009 - 18:15 Comment #5
You can search for it with a command line :
yum list | grep irssi
If you have extra packages you want in an image, you can create a system, install whatever you need, then create your own image from that system.
Submitted by Exoware on Mon, 09/07/2009 - 18:16 Comment #6
-bash-3.2# yum list | grep irssi -bash-3.2#
Submitted by JamieCameron on Mon, 09/07/2009 - 18:20 Comment #7
Looks like it isn't in the standard CentOS repo then. But there is a package from DAG for it - see http://dag.wieers.com/rpm/packages/irssi/
Submitted by Exoware on Wed, 09/16/2009 - 19:14 Comment #8
Aha, thanks. The images I must have been working on must've had dag's repos on it. My bad.