Linux: Difference between revisions

From NEOSYS Dev Wiki
Jump to navigationJump to search
No edit summary
Line 6: Line 6:


<pre>
<pre>
#Pick ONE.
#Pick ONE Distro.
export DISTRO=Fedora_15
export DISTRO=Fedora_15
export DISTRO=RedHat_RHEL-5 #use this for Centos5 too
export DISTRO=RedHat_RHEL-5 #use this for Centos5 too
Line 27: Line 27:


<pre>
<pre>
#Pick ONE.
#Pick ONE Distro.
export DISTRO=Debian_6.0
export DISTRO=Debian_6.0
export DISTRO=xUbuntu_10.04
export DISTRO=xUbuntu_10.04
Line 56: Line 56:
zypper search exodus
zypper search exodus
</pre>
</pre>
== Removing Repositories ==
=== Redhat/Fedora/Centos ===
sudo yum remove "*exodus*"
sudo rm /etc/yum.repos.d/exodus.repo
sudo yum clean all
=== Ubuntu/Debian ===
sudo rm /etc/apt/sources.list.d/exodus.list
sudo apt-get update
=== Suse ===
sudo zypper remove "*exodus*"
sudo rm /etc/zypp/repos.d/exodus.repo
sudo zypper refresh


== Building From Source ==
== Building From Source ==

Revision as of 19:10, 10 July 2011

Example session: Install/Test/Uninstall - Ubuntu 10.04 LTS

Adding Repositories

Redhat/Fedora/Centos

#Pick ONE Distro.
export DISTRO=Fedora_15
export DISTRO=RedHat_RHEL-5 #use this for Centos5 too

sudo su -c "echo -e '\
[exodus]\n\
name=exodus\n\
type=rpm-md\n\
baseurl=http://download.opensuse.org/repositories/home:/neosys:/exodus/$DISTRO/\n\
gpgcheck=1\n\
gpgkey=http://download.opensuse.org/repositories/home:/neosys:/exodus/$DISTRO/repodata/repomd.xml.key\n\
enabled=1\n\
'>/etc/yum.repos.d/exodus.repo"

sudo yum clean all
yum search exodus

Ubuntu/Debian

#Pick ONE Distro.
export DISTRO=Debian_6.0
export DISTRO=xUbuntu_10.04
export DISTRO=xUbuntu_11.04

sudo su -c "echo 'deb http://download.opensuse.org/repositories/home:/neosys:/exodus/$DISTRO  ./' > /etc/apt/sources.list.d/exodus.list"

sudo apt-get update
sudo apt-cache search exodus

Suse

export DISTRO=openSUSE_11.4

sudo su -c "echo -e '\
[exodus]\n\
name=exodus\n\
type=rpm-md\n\
baseurl=http://download.opensuse.org/repositories/home:/neosys:/exodus/$DISTRO/\n\
gpgcheck=1\n\
gpgkey=http://download.opensuse.org/repositories/home:/neosys:/exodus/$DISTRO/repodata/repomd.xml.key\n\
enabled=1\n\
'>/etc/zypp/repos.d/exodus.repo"

sudo zypper refresh
zypper search exodus

Removing Repositories

Redhat/Fedora/Centos

sudo yum remove "*exodus*"
sudo rm /etc/yum.repos.d/exodus.repo
sudo yum clean all

Ubuntu/Debian

sudo rm /etc/apt/sources.list.d/exodus.list
sudo apt-get update

Suse

sudo zypper remove "*exodus*"
sudo rm /etc/zypp/repos.d/exodus.repo
sudo zypper refresh

Building From Source

Core

Includes library, postgres plug, command line utilities and programming using C++ compiler

Debian/Ubuntu

Redhat/Centos/Fedora

Suse

Language Bindings

Perl, Python, PHP, Java, C#

Debian/Ubuntu

Redhat/Centos/Fedora

Other

Building Boost from scratch on Ubuntu 10.04 LTS