Ticus' Formules

Wednesday, October 27, 2010

Install Java JDK on Ubuntu 10.04

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk

Source: http://happy-coding.com/install-sun-java6-jdk-on-ubuntu-10-04-lucid/

Monday, October 18, 2010

HOW TO MAKE A PRESENTATION WITH LATEX

After installing a latex interpreter, install beamer package. In Ubuntu 9.10, try this:

sudo apt-get install latex-beamer

Code example (subtracted from here):

\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usetheme{Warsaw}
\title[Make a LaTeX presentation using Beamer]{Introduction to Beamer\\How to make a presentation with LaTeX?}
\author{Nadir Soualem -- Astozzia}
\institute{Math-linux.com}
\date{Jule 13, 2007}
\begin{document}

\begin{frame}
\titlepage
\end{frame}


\begin{frame}{Introduction}
This is a short introduction to Beamer class.
\end{frame}

\end{document}

Thanks to:

Sunday, October 10, 2010

HOW TO COPY FILES AND DIRECTORIES IN LINUX

find -iname "*.doc" -exec cp -rf --parents {} {}.doc \;

Example:

find /media/disk -iname "*.doc" -exec cp -rf --parents {} {}.doc /media/disk-1/Misdocumentos/TodosLosDocumentos \;


Sources:
http://www.linuxquestions.org/questions/linux-newbie-8/copy-files-from-multiple-directories-into-one-directory-162396/
http://www.codecoffee.com/tipsforlinux/articles/21.html

Tuesday, June 15, 2010

HOW TO INSTALL iText LIBRARY IN UBUNTU/DEBIAN


Depending of where the Java SDK is installed, there are many ways to install it, this is the most common:
  1. Download iText jar file from here.
  2. Save it on a new empty folder.
  3. Go to the new folder and copy the .jar file to /ext/ folder where the SDK is installed. Eg: sudo cp *.jar /usr/lib/jvm/java-6-sun/jre/lib/ext/
  4. That's it.

Sunday, June 6, 2010

Installing MySQL in Ubuntu 9.04

1. sudo apt-get install mysql-server
Opcional: sudo apt-get install mysql-admin
Also Optional, google for: MySQL workbench

Monday, April 5, 2010

Unable to realize com.sun.media.codec.video.jmpx.Jmpx@ XXXXXX


I guess you are working with JMF.
If you got a problem like this, all you have to do is:
  1. Copy all .so files FROM /JMF-2.1.1e/lib/ TO /usr/lib with: sudo cp *.so /usr/lib/
  2. Compile your code :)

Install JMF 2.1.1e in Ubuntu 9.04



  1. Download JMF .bin from here, choose
  2. Rename the file from .bin to .zip
  3. Copy the three .jar files FROM /JMF-2.1.1e/lib/ TO /usr/lib/jvm/java-6-sun/jre/lib/ext/ with this: sudo cp *.jar /usr/lib/jvm/java-6-sun/jre/lib/ext/
  4. Restart, and you got it!.


Source: this

Stats


View My Stats

Contributors