How do I install upstart on CentOS 5.9? - centos

YUM doesn't have upstart. I installed the package under NPM, but I don't think that's what I want. I know there's a package for apt-get, but CentOS doesn't have apt-get (at least, not by default).
So... pretty newbie question, I know, but how do I install under CentOS 5.9?

If you've got software that's in Debian package manager (apt-get) format, and you want to install it on a Linux that uses RPM (yum) format ...
... your best bet is to install something like RPMForge:
http://everyday-tech.com/apt-get-on-centos/

Related

Can't intall chef-manage rpm package

I have CentOS and chef-server. I try to install chef-manage, but something wrong.
When I start install my rpm package
I have this error
You need to install Chef Server (i.e. chef-server-core) first. Then install Manage afterwards via the addons system.

Trouble with installing Monitorix (Centos 7)

I am trying to install Monitorix; but I can't seem to overcome certain issues with the required modules.
I have every prerequisite except for three of the perl modules (MIME-Lite, HTTP-Server-Simple, and Config-General). Even though I have installed them using CPAN, I can't seem to use rpm or yum to finish the installation process (I have the monitorix-3.9.0-1.noarch.rpm file downloaded).
Is there something I'm missing, or some way that is much easier to go about this? I started with a bare-bones Centos 7 system, in accordance to the nature of the course I have to do this for. Anything would be helpful, at this point.
Installing with CPAN is not the equivalent of installing them with yum; the installs are not in the RPM Database. Uninstall them and try again with yum, e.g. yum install perl-MIME-Lite.

installing yum from scratch on centos after mistakenly erarsing the python on a whole from centos 6.7

Mistakenly I deleted the python, which in result also corrupted the yum, now i cant install yum as it has many dependencies. Can anyone of you help me in getting the yum fiasco fixed?
You will have to install all dependencies packages one bye one on your server through RPM. There is no other way to get this fix.

Install only dblink module from postgresql-contrib package in centOS

I would like to install only the dblink module from postgresql-contrib package. I use the command as below
zypper install postgres-contrib
But it installs everything. Is there a way to install a specific module.
There is no reasonable way to install just a part of an RPM package. Is there any specific reason to do so? The contrib package isn't that large and the modules aren't used unless you want to use them.

How to install PIL in system library using homebrew?

In a new SnowLeopard install, I'd like to use homebrew to install PIL. However the recipe installs PIL under cellar instead of in /Library/Python/2.6/site-packages. Is there a way to change the install directory?
Instead of installing pip and another PIL, you can just make a symlink
brew install pil
ln -s /usr/local/Cellar/pil/1.1.7/lib/python2.7/site-packages/PIL /Library/Python/2.7/site-packages/PIL
Tested on Lion, on Snow Leopard, you may need to change paths to use /python2.6 /Python/2.6.
It seems that Pillow replaced PIL in homebrew. The new command is:
brew install Homebrew/python/pillow
Since there seems to be no "accepted" way of installing homebrew eggs into the system site-packages, here is what I ended up doing:
% brew install pil
% easy_install pip
% pip install pil
The homebrew install grabs and installs all of PIL's dependencies (especially jpeg). The later easy_install then uses them when compiling PIL for the system site-packages. Freetype support doesn't show up in the "easy-installed" version, but that's fine for my purposes.
As my initial goal was to provide a simple way for a web designer to build a django development environment, having an unused homebrew PIL installed is not really a problem.
Hope this helps someone. Still hoping there's a better answer out there.
As #BarnabasSzabolcs mentioned, newer versions named pillow.
an alternative to brew install Homebrew/python/pillow is pip install pillow. You may need to add sudo, depends on your python environment permissions.
p.s.
that answer could be fit better as a comment, 14 credits to go...