Linux Setup Old: Difference between revisions

From National Gallery Research Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
A collection of older notes used for previous versions of Ubuntu, see [[Linux Setup]] for the more current notes.
A collection of older notes used for previous versions of Ubuntu, see [[Linux Setup]] for the more current notes.


==Ubuntu 13.10==
* '''wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - && sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && sudo apt-get update'''
* '''sudo apt-get install bison flex automake1.10 make libfftw3-dev libxml2-dev libpango1.0-dev libfreetype6-dev g++ libatk1.0-dev intltool imagemagick libmagick++-dev indent gpp openexr libopenexr-dev libgtk-3-dev libgsl0-dev openssh-server python-dev liboil0.3-dev swig libimage-exiftool-perl libtiff-tools libtool samba cifs-utils libdatetime-perl subversion libmatio-dev openjdk-7-jdk libgoffice-0.10-dev pngtools gimp liborc-0.4-dev libcfitsio3-dev synaptic gobject-introspection geany geany-plugin-spellcheck geany-plugin-extrasel geany-plugin-addons apache2 php5 mysql-server php5-mysql php5-gd phpmyadmin libapache2-mod-fastcgi mysql-workbench php5-cli php5-sybase php5-curl ruby ruby1.9.1-dev subversion google-chrome-stable libopenslide-dev openslide-tools gnome-tweak-tool unity-tweak-tool gnome-color-manager gnumeric libmysqlclient-dev  libmysql-ruby lib32z1 lib32ncurses5 lib32bz2-1.0 gnome-session-fallback'''
== Ubuntu 13.04 ==
This page is currently set up for Ubuntu 13.04, Raring Ringtail
--[[User:Jpadfield|Jpadfield]] 11:43, 23 May 2013 (BST)
Need the following to install gnome:
* sudo apt-get install gnome-session-fallback
===Google Chrome from PPA===
* wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
* sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
* sudo apt-get update
===General:===
* '''sudo apt-get install bison flex automake1.10 make libfftw3-dev libxml2-dev libpango1.0-dev libfreetype6-dev g++ libatk1.0-dev intltool imagemagick libmagick++-dev indent gpp openexr libopenexr-dev libgtk-3-dev libgsl0-dev openssh-server python-dev liboil0.3-dev swig libimage-exiftool-perl libtiff-tools libtool samba cifs-utils libdatetime-perl subversion libmatio-dev openjdk-7-jdk libgoffice-0.8-dev pngtools gimp liborc-0.4-dev libcfitsio3-dev synaptic gobject-introspection geany geany-plugin-spellcheck geany-plugin-extrasel geany-plugin-addons apache2 php5 mysql-server libapache2-mod-auth-mysql php5-mysql php5-gd phpmyadmin libapache2-mod-fastcgi mysql-workbench php5-cli php5-sybase php5-curl ruby ruby1.9.1-dev subversion google-chrome-stable libopenslide-dev openslide-tools gnome-tweak-tool unity-tweak-tool gnome-color-manager gnumeric libmysqlclient-dev  libmysql-ruby ia32-libs'''
* 32-bit machine will not need the '''ia32-libs''' packages.
== Ubuntu 11.10 ==
== Ubuntu 11.10 ==



Revision as of 10:57, 5 May 2015

A collection of older notes used for previous versions of Ubuntu, see Linux Setup for the more current notes.

Ubuntu 13.10

  • wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - && sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && sudo apt-get update
  • sudo apt-get install bison flex automake1.10 make libfftw3-dev libxml2-dev libpango1.0-dev libfreetype6-dev g++ libatk1.0-dev intltool imagemagick libmagick++-dev indent gpp openexr libopenexr-dev libgtk-3-dev libgsl0-dev openssh-server python-dev liboil0.3-dev swig libimage-exiftool-perl libtiff-tools libtool samba cifs-utils libdatetime-perl subversion libmatio-dev openjdk-7-jdk libgoffice-0.10-dev pngtools gimp liborc-0.4-dev libcfitsio3-dev synaptic gobject-introspection geany geany-plugin-spellcheck geany-plugin-extrasel geany-plugin-addons apache2 php5 mysql-server php5-mysql php5-gd phpmyadmin libapache2-mod-fastcgi mysql-workbench php5-cli php5-sybase php5-curl ruby ruby1.9.1-dev subversion google-chrome-stable libopenslide-dev openslide-tools gnome-tweak-tool unity-tweak-tool gnome-color-manager gnumeric libmysqlclient-dev libmysql-ruby lib32z1 lib32ncurses5 lib32bz2-1.0 gnome-session-fallback

Ubuntu 13.04

This page is currently set up for Ubuntu 13.04, Raring Ringtail --Jpadfield 11:43, 23 May 2013 (BST)

Need the following to install gnome:

  • sudo apt-get install gnome-session-fallback

Google Chrome from PPA

General:

  • sudo apt-get install bison flex automake1.10 make libfftw3-dev libxml2-dev libpango1.0-dev libfreetype6-dev g++ libatk1.0-dev intltool imagemagick libmagick++-dev indent gpp openexr libopenexr-dev libgtk-3-dev libgsl0-dev openssh-server python-dev liboil0.3-dev swig libimage-exiftool-perl libtiff-tools libtool samba cifs-utils libdatetime-perl subversion libmatio-dev openjdk-7-jdk libgoffice-0.8-dev pngtools gimp liborc-0.4-dev libcfitsio3-dev synaptic gobject-introspection geany geany-plugin-spellcheck geany-plugin-extrasel geany-plugin-addons apache2 php5 mysql-server libapache2-mod-auth-mysql php5-mysql php5-gd phpmyadmin libapache2-mod-fastcgi mysql-workbench php5-cli php5-sybase php5-curl ruby ruby1.9.1-dev subversion google-chrome-stable libopenslide-dev openslide-tools gnome-tweak-tool unity-tweak-tool gnome-color-manager gnumeric libmysqlclient-dev libmysql-ruby ia32-libs
  • 32-bit machine will not need the ia32-libs packages.

Ubuntu 11.10

This page is currently set up for Ubuntu 11.10, Oneiric Ocelot Jpadfield 20:23, 6 November 2011 (UTC)

Need the following to install gnome:

  • sudo apt-get install gnome-session-fallback

With the upgrade to Ubuntu 11.10:

General:

sudo apt-get install bison flex automake1.10 make libfftw3-dev libxml2-dev libpango1.0-dev libfreetype6-dev g++ libatk1.0-dev intltool imagemagick libmagick++-dev indent gpp openexr libopenexr-dev libgtk-3-dev libgsl0-dev openssh-server python-dev liboil0.3-dev swig libimage-exiftool-perl libtiff-tools libtool samba smbfs libdatetime-perl subversion libmatio-dev openjdk-6-jdk libgoffice-0.8-dev pngtools gimp liborc-0.4-dev libcfitsio3-dev synaptic gobject-introspection

Plus the following on a 64-bit machine. sudo apt-get install ia32-libs

Gnome over remote SSH

It seems that the "owner" of the ".dbus" folder in a users home area can be set to "root" during the update process. This will mean that you will get a lot of errors when trying to use any graphical programs remotely over ssh. This problem can be fixed by running the following command in your home area:

sudo chown -R UserName:UserName .dbus/

Flash

The required flash plugin can be installed through firefox. When the user goes to a site that requires a flash plugin an install option is offered.

Adobe Flash Plugin: has been tried and seemed to work well.

Vmware Tools

If you have installed Ubuntu within a vmware virtual machine you will also need to run the following two lines to get the vmware tools to build properly.

sudo ln -s /lib/modules/YourInstalledKernel/build/include/generated/utsrelease.h
  /lib/modules/YourInstalledKernel/build/include/linux/utsrelease.h
sudo ln -s /lib/modules/YourInstalledKernel/build/include/generated/autoconf.h 
  /lib/modules/YourInstalledKernel/build/include/linux/autoconf.h

Vips

Download and build the latest source code from the Vips website.

Preparations

Ensure something simliar to the following is in your .basrc file:

export VIPSHOME=/usr/local/vips
export MANPATH=$MANPATH:$VIPSHOME/man
export PATH=$VIPSHOME/bin:"${PATH}"
export LD_LIBRARY_PATH=/usr/local/lib:$VIPSHOME/lib
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib32/pkgconfig:/usr/share/pkgconfig:$VIPSHOME/lib/pkgconfig:

  • sudo mkdir /usr/local/vips-X.XX
  • sudo ln -s /usr/local/vips-X.XX /usr/local/vips

cd into vips source code dir

  • ./configure --prefix=/usr/local/vips-X.XX
  • make
  • sudo make install

cd into nip2 source code dir

  • ./configure --prefix=/usr/local/vips-X.XX
  • make
  • sudo make install

Nvidia

To install the latest Nvidia drivers:

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current

LAMP:

Additional steps need to be defines for setting up the security issues.

sudo apt-get install apache2 php5 mysql-server libapache2-mod-auth-mysql php5-mysql php5-gd phpmyadmin libapache2-mod-fastcgi mysql-admin php5-cli php5-sybase php5-curl

phpMyAdmin

To set up under Apache all you need to do is include the following line in /etc/apache2/apache2.conf.

Include /etc/phpmyadmin/apache.conf

And then restart apache:

sudo /etc/init.d/apache2 restart