How to Install Noosfero on Ubuntu

This document is outdated and deprecated. Please use the InstallSteps instead

The HACKING guide at the source directory consider your system has the right version of ruby, rails and other programs. However, newer Ubuntu versions comes with newer packages.

This installation focus on get most dependencies from GEM instead of using the system packages.

Get the stable noosfero by running:

git clone https://gitlab.com/noosfero/noosfero.git
cd noosfero
git checkout stable

First of all, uninstall all packages from INSTALL guide:

sudo aptitude remove ruby rake libgettext-ruby1.8 libsqlite3-ruby rcov librmagick-ruby libredcloth-ruby libwill-paginate-ruby libfeedparser-ruby libferret-ruby libdaemons-ruby mongrel mongrel-cluster
Note that libwill-paginate-ruby installs rails as a dependency. So:
sudo aptitude remove rails librmagick-ruby

Now lets install prerequisites:

sudo aptitude install ruby rubygems1.8 rcov libgettext-ruby1.8 libsqlite3-ruby libopenssl-ruby libferret-ruby libmocha-ruby tango-icon-theme libtidy-ruby libhpricot-ruby libredcloth-ruby libfeedparser-ruby libdaemons-ruby
sudo aptitude install ruby1.8-dev libxslt1-dev libmagickcore-dev libmagickwand-dev -y

Before using gem, you should update your PATH

export PATH=$HOME/.gem/ruby/1.8/bin:$PATH
You should add this line also to $HOME/.bashrc and/or $HOME/.bash_profile

Now you can install other requisites using gem:

gem install builder -v=2.1.2
gem install cgi_multipart_eof_fix -v=2.5.0
gem install cucumber -v=0.4.0
gem install daemons -v=1.0.10
gem install database_cleaner -v=0.5.2
gem install diff-lcs -v=1.1.2
gem install fast_gettext -v=0.5.6
gem install fastthread -v=1.0.7
gem install gem_plugin -v=0.2.3
gem install gettext -v=2.1.0
gem install gettext_activerecord -v=2.1.0
gem install gettext_rails -v=2.1.0
gem install locale -v=2.0.5
gem install locale_rails -v=2.0.5
gem install mongrel -v=1.1.5
gem install nokogiri -v=1.4.2
gem install polyglot -v=0.3.1
gem install rack -v=1.2.0
gem install rack -v=1.1.0
gem install rails -v=2.1.0
gem install rake -v=0.8.7
gem install rmagick -v=2.13.1
gem install rspec -v=1.2.8
gem install rspec-rails -v=1.2.7.1
gem install Selenium -v=1.1.14
gem install selenium-client -v=1.2.17
gem install term-ansicolor -v=1.0.5
gem install treetop -v=1.4.8
gem install webrat -v=0.5.1
gem install will_paginate

If you plan to use PostgreSQL then also install:

sudo apt-get install libpq-dev
gem install pg

Now keep following the guide from the INSTALL file

-- BraulioBhavamitraBO - 31 Jul 2010


Add comment
You need to login to be able to comment.
 
Topic revision: r9 - 13 Jan 2014 - 19:01:26 - RodrigoSouto
 
Translations: English
Search on Docs:
   
ActionItem Search:

Copyright © 2007-2014 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres