Tuesday, May 14, 2013

[To do] Top things to do after installing openSUSE 12.3

Top things to do after installing openSUSE 12.3

¿De qué está hablando? Versión en español

Ok, I installed openSUSE. What do I do now?


In this post I will show what I recommend you to do/install to make your computer run smoothly with openSUSE.

I strongly recommend the use of a Terminal, except when I tell you to open "YaST2"  for example. You will need to be root in many cases. To do that you need to use the command su.

NOTE: Every time I use zypper you need to be root.


In openSUSE, YaST2 is your new best friend.

Don't want to wait 8 seconds to boot?


If you don't want to wait the 8 seconds in the GRUB menu you will need to update the configuration file.
Go to the configuration file as root (using su before launching nano):

nano /etc/default/grub

Search the line where you can set the GRUB_TIMEOUT and put 0

GRUB_TIMEOUT=0

Once you changed the file, you will need to update the GRUB with the following command:

grub2-mkconfig -o /boot/grub2/grub.cfg
 

Activating the Network Manager

By default the network manager is disabled. Activate it by going to the menu at the bottom of the desktop.

If your Wifi isn't working I will show you how to enable it later in this tutorial. You will need an Ethernet connexion for your first installation.

Updating and installing the packages

Definitely the first thing you need to do after installing openSUSE is updating your packages and upgrading your software. Open "YaST2" and introduce your password.


The updates will load and you will be able to install them afterwards.


Or you could launch a Terminal and run the following command (as root):

zypper update

The first time you do this could take some time.

Installing proprietary drivers


Graphic drivers : If your computer has a nVidia chipset you will need the proprietary drivers that correspond to your case. First add all the repositories:

zypper addrepo -f http://download.nvidia.com/opensuse/12.3/ nvidia

Depending on the model you will need a different package:

For GeForce 8 and later
zypper install x11-video-nvidiaG03

For GeForce 6 and later
zypper install x11-video-nvidiaG02

For FX5xxx
zypper install x11-video-nvidiaG01

For GeForce 4 and later
zypper install x11-video-nvidia

If you use graphic cards ATI/AMD you can find some information about how to install those drivers in the documentation of openSUSE.

Wireless: if you have a Wifi card in your laptop you can view the model with this command:
hwinfo --wlan --short

If you use an old Broadcom chipset (like me) you will need to install a firmware to make your Wifi work. Run the command:
install_bcm43xx_firmware

Multimedia Codecs


If you want to install all the proprietary codecs you can do it with one click here.

If you prefer to do it manually you will need to use the following commands in the Terminal:

zypper addrepo -f http://ftp.gwdg.de/pub/linux/packman/suse/12.3/ packman

If you want to play DVDs

zypper addrepo -f http://opensuse-guide.org/repo/12.3/ dvd

This are the packages that you may need:

zypper install libxine2-codecs k3b-codecs ffmpeg lame gstreamer-0_10-plugins-bad gstreamer-0_10-plugins-ugly gstreamer-0_10-plugins-ugly-orig-addon gstreamer-0_10-plugins-ffmpeg libdvdcss2

I don't like KDE, I want something else


If you don't like KDE you can try different desktops. OpenSUSE has support for Gnome, XMonad, Enlightenment, among others..

Gnome: if you want to install Gnome 3.8 and classic mode just follow these steps:

zypper ar -f http://download.opensuse.org/repositories/GNOME:/STABLE:/3.8/openSUSE_12.3 gnome38

zypper dup --from gnome38

zypper in gnome-shell-lang


If you want to install Classic Mode:

zypper in gnome-shell-classic



Gnome 2: if you want to go back to classic Gnome

zypper install gnome-panel


There are some others desktops that you may want to try, but I haven't. Here is a quick list of what you may want to install: XFCE, LXDE, Awesome, Xmonad, MATE... among others.

I like KDE but I will like to tweak it

If you like KDE, you can modify it so it will adjust to your needs.


You can add widgets, workspaces and new tasks. I don't think that you need some extra package for tweaking KDE.

Internet



Google Chrome or Chromium: if you don't like Firefox you can install Google Chrome, just go to the download page of Google and download it.
You can install Chrome using zypper too with the following commands:

If you use a 64Bit version:
zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome

If you use a 32Bit version:
zypper ar http://dl.google.com/linux/chrome/rpm/stable/i386 Google-Chrome

Then run:
zypper red

Finally install Chrome with:

zypper in google-chrome-stable

If you want to install Chromium:

zypper install chromium-browser

KTorrent

If you want to download files using Bit Torrent, there is a client included with openSUSE. KTorrent is light and will do just enough: downloading torrents. You can change some of its configuration.



There are other options in Linux, like Transmission, Deluge...

Thunderbird

If you want to install Thunderbird the only thing you need to do is:


zypper install MozillaThunderbird


Multimedia

A very frequent question that you find in some pages, is how to enable DVD playback. All DVDs uses an encryption algorithm, you will need to install a package that will decrypt the data.
You can find how to do that in the "Codec" section of this post.

VLC


A really great media player is VLC, basically it plays everything that you may want.

zypper ar http://download.videolan.org/pub/vlc/SuSE/12.3 VLC
zypper mr -r VLC
zypper in vlc

Clementine

If you don't like Amarok or you think is just too much, you can try Clementine.

If you want to install it go the download page and install it with one click. 



GIMP

If you do some photography and you don't want to invest a lot of money in Photoshop, you can try installing GIMP. I use it everyday and it has a lot of functionalities.

Just use the following command:

zypper install gimp

You will need this extra package to edit RAW files:

zypper install gimp-ufraw


This will allow GIMP to edit the imported file.


Inkscape

If you like to design sometimes a really great program to use is Inkscape. Here is an example I made on a rainy sunday.

zypper install inkscape

OpenShot

If you want to do some video editing in Linux, I think the best option is OpenShot. Download it from this page.

Did you just find out that Steam is on Linux?

That's right, Steam released its client for Linux a few months ago and it looks very good.
If you want to install it you can go to this page and make a one-click install.

Here is how it looks in openSUSE:




Messenger

Pidgin

If you have had some problems with Empathy another alternative is Pidgin, it supports many protocols like MSN, Facebook, IRC, Google Talk...

zypper install pidgin

Skype

If you want to install Skype in openSUSE first prepare the installation with:
zypper install libqt4 libqt4-x11 libqt4-dbus-1 libsigc++2 libpng12-0

Then go to the download page of Skype and select the RPM version that correspond to openSUSE.
Once you downloaded the file run this command (with the version that you downloaded).

zypper in skype-<version>.rpm




Cloud y backup

Dropbox

A lot of people uses the cloud to make backups or to have many files accessibles from any computer. Go to the download page of openSUSE and do a one-click install.

Deja-Dup

Something that I love about Linux is that there are many good programs to do backups. You can sync your files with a FTP, with Ubuntu One or with a hard drive.
Again, go to the download page of openSUSE and do a one-click install.


Some tools for your system

File managing

If you download or share many files in the Internet maybe you need some tools for compressing. Here is a list of packages that you may need.

zypper install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar
 

Note: If you intall the rar, unrar packages you will be able to read comics in .cbr format with oKular.

Necesito algunos programas de Windows

Wine

If you need to install some Windows programs because you can't find a solution in the opensource world you can install the Wine emulator. You won't be able to run everything but I know that you can install a lot of useful things like Microsoft Office.

zypper install wine



Virtual Box

If Wine doesn't do the trick you can create a virtual machine and install the program that you want in it. The problem es that you need an ISO image of Windows. You will need to prepare the packages to install VirtualBox:

zypper in libpng12.so.0

For 32Bits systems:

wget http://download.virtualbox.org/virtualbox/4.2.0/VirtualBox-4.2-4.2.0_80737_openSUSE114-1.i586.rpm

sudo rpm -ivh irtualBox-4.2-4.2.0_80737_openSUSE114-1.i586.rpm

For 64Bits systems:

wget http://download.virtualbox.org/virtualbox/4.2.0/VirtualBox-4.2-4.2.0_80737_openSUSE114-1.x86_64.rpm

sudo rpm -ivh irtualBox-4.2-4.2.0_80737_openSUSE114-1.x86_64.rpm

Programming (a.k.a "Why don't you compile?")

For people who use their machine for writing code, here is a list that you use for installing some basic packages for programming:

Essentials

First of all you want to install some basic packages that allows you to compile, this packages include gcc for example

zypper install gcc make bison

¿gcc is too old school?

Clang is a great compiler for C and C++, it has the same syntax that gcc but it has a nice output:

zypper install clang

Geany

zypper install clang

Geany



Un editor simpático que reconoce algunos lenguajes de programación.

zypper install geany

Eclipse

If you want to program in Java the only thing that you need to do is install Eclipse.

OpenGL

If you're planning to do some programming using OpenGL you must install the "freeglut" package:

zypper install freeglut3-dev

And you're good to go. Enjoy your new install!

Monday, May 13, 2013

[Tutorial] ¿Qué hacer después de instalar openSUSE 12.3?

¿Qué hacer luego de instalar openSUSE 12.3?

What is he talking about? English version

Ok, instalé openSUSE. ¿Y ahora qué hago?


Bueno en este post les mostraré las cosas que les recomiendo instalar/hacer para que su máquina funcione sin problemas en openSUSE.

Les recomiendo que usen el Terminal excepto en algunos casos precisos en los que les diré que vayan a "YaST2" por ejemplo. Así mismo van a tener que pasar a root en la mayoría de casos. Para hacer eso solo usen el comando su .

NOTA: Cada vez que vean que utilizo zypper es que tienen que pasar a root.


En openSUSE, YaST2 es su nuevo mejor amigo.

Actualizar el tiempo de espera en GRUB


Si no quieren esperar los 8 seg para que openSUSE se inicie pueden actualizar el GRUB.
Como súper utilizador (su) editen el archivo de configuración del GRUB.

nano /etc/default/grub

Busquen la linea donde vean GRUB_TIMEOUT y ponganlo en 0

GRUB_TIMEOUT=0

Una vez que hicieron esto solo tienen que actualizar el GRUB con el comando siguiente:

grub2-mkconfig -o /boot/grub2/grub.cfg
 

Activar el Network Manager para acceder a Internet

Por defecto el gestionario de red no está activado y no van a tener una conexión. Actívenlo en la parte inferior derecha.

Si su wifi no funciona más adelante les explicaré como pueden activarlo. Necesitarán una conexión con cable Ethernet al principio.

Actualizar los paquetes e instalar todas las actualizaciones

Definitivamente lo que uno debe hacer apenas instala openSUSE es actualizar los paquetes e instalar las actualizaciones. Para eso vamos a "YaST2" en la lista de programas. Van a necesitar introducir su clave.


Las actualizaciones van a cargarse y luego van a poder instalarlas.


O también podemos lanzar un Terminal y ejecutamos los comandos siguientes (primero tienen que pasar a root):

zypper update

Para la primera instalación esto puede tomar bastante tiempo.

Instalar los drivers propietarios


Cartas gráficas: Si su computador utiliza cartas gráficas nVidia, necesitan instalar los paquetes en sus repositorios:

zypper addrepo -f http://download.nvidia.com/opensuse/12.3/ nvidia

En función del modelo que utilizan pueden usar diferentes paquetes:

Para GeForce 8 y modelos superiores
zypper install x11-video-nvidiaG03

Para GeForce 6 y modelos superiores
zypper install x11-video-nvidiaG02

Para FX5xxx
zypper install x11-video-nvidiaG01

Para GeForce 4 y modelos superiores
zypper install x11-video-nvidia

Si usan cartas gráficas ATI/AMD pueden buscar cómo instalar los drivers en la documentación de openSUSE.

Conexión inalámbrica: si utilizan Wifi, aquí les mostraré cómo pueden activarlo. Pueden ver qué dispositivo tienen en su computador con
hwinfo --wlan --short

Si su dispositivo es un Broadcom un poco antiguo (como el mío) van a tener que instalar un firmware para hacerlo funcionar.
install_bcm43xx_firmware

Codecs multimedia


Para instalar los drivers propietarios pueden hacerlo con un click aquí.

O para hacerlo de una forma más manual pueden hacerlo desde el Terminal con los comandos siguientes:

zypper addrepo -f http://ftp.gwdg.de/pub/linux/packman/suse/12.3/ packman
Para reproducir DVDs
zypper addrepo -f http://opensuse-guide.org/repo/12.3/ dvd

Aquí están los paquetes que pueden necesitar:

zypper install libxine2-codecs k3b-codecs ffmpeg lame gstreamer-0_10-plugins-bad gstreamer-0_10-plugins-ugly gstreamer-0_10-plugins-ugly-orig-addon gstreamer-0_10-plugins-ffmpeg libdvdcss2

No me gusta KDE, quiero otra cosa


Si no les gusta KDE pueden intentar instalar otro escritorio. OpenSUSE soporta XMonad, Gnome, Enlightenment,

Gnome: para instalar Gnome 3.8 y el modo clásico solo tienen que seguir los pasos siguientes.

zypper ar -f http://download.opensuse.org/repositories/GNOME:/STABLE:/3.8/openSUSE_12.3 gnome38

zypper dup --from gnome38

zypper in gnome-shell-lang


Para el modo clásico instalen el paquete siguiente:

zypper in gnome-shell-classic



Gnome 2: si quieren volver al Gnome anterior lo único que tienen que hacer es

zypper install gnome-panel


Hay algunos otros escritorios que se pueden utilizar pero que personalmente no he utilizado mucho. Algunos ejemplos son: XFCE, LXDE, Awesome, Xmonad, MATE... entre otros.

Me gusta KDE, pero quisiera modificarlo un poco

Si les gusta KDE, pueden modificarlo bastante para que se adapte a sus necesidades.


Pueden agregar widgets, espacios y nuevas tareas. No creo que necesiten una herramienta extra para hacer KDE su escritorio favorito.

Internet



Google Chrome o Chromium: si no les gusta utilizar Firefox pueden instalar Google Chrome yendo a la página de descargas de Google para descargarlo.
Pueden también instalarlo usando zypper con los comandos siguientes:

Si usan su distribución en 64bit
zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome

O si usan su sistema en 32bit:
zypper ar http://dl.google.com/linux/chrome/rpm/stable/i386 Google-Chrome

Luego usen el comando
zypper red

Para terminar instalen Chrome con:

zypper in google-chrome-stable

Para instalar Chromium:

zypper install chromium-browser

KTorrent

Si quieren descargar archivos desde Internet usando Bit Torrent, hay un cliente que está instalado por defecto con openSUSE. KTorrent es ligero y hará exactamente su propósito: descargar torrents. Tiene algunas opciones y configuraciones que pueden cambiar.



Hay otras opciones en Linux, como Transmission, Deluge...

Thunderbird

Para instalar Thunderbird lo único que tienen que hacer es


zypper install MozillaThunderbird


Multimedia


Un problema muy frecuente que se lee en los foros, es la reproducción de DVDs. Como los DVDs utilizan un sistema de seguridad, hay que instalar una biblioteca especial.
Tienen que ver la instalación al principio de este tutorial.

VLC




Un gran reproductor multimedia es VLC, básicamente lee TODO y cuando digo TODO es en serio.
 
zypper ar http://download.videolan.org/pub/vlc/SuSE/12.3 VLC
zypper mr -r VLC
zypper in vlc

 Clementine

Si no son muy fans de Amarok como yo o si piensan que está muy cargado una buena opción puede ser Clementine.

Para instalar este reproductor deben ir a la página de dercargas y con un click van a poder instalarlo.


GIMP

Si les gusta la fotografía y no quieren invertir un montón de dinero en Photoshop, pueden intentar GIMP. Yo lo uso todos los días y tienen un montón de funcionalidades.

Solo usen el comando siguiente:

zypper install gimp

Si quieren editar archivos RAW necesitarán este paquete extra:

zypper install gimp-ufraw

Esto permetirá a GIMP editar el archivo RAW una vez que lo ha importado.


Inkscape

Si uds. hacen un poco de diseño un gran programa muy fácil de usar es Inkscape. He aquí un ejemplo de lo que hice un domingo sin deberes.

zypper install inkscape

OpenShot

Si quieren hacer un poco de edición vídeo en Linux, creo que la mejor opción por ahora es OpenShot. Descárguenlo de esta página.

Se acaban de enterar que Steam ahora también está en Linux?

Así es, Steam lanzó su cliente para Linux hace algunos meses y se ve muy bien.
Si quieren instalarlo deben ir a la página de descargas para instalarlo con un solo click.

Así es como se ve en openSUSE:



Messenger

Pidgin

Si como yo han tenido algunos problemas con Empathy otra alternativa es Pidgin, igual soporta muchos protocolos como MSN, Facebook, Google Talk...

zypper install pidgin

Skype

Para instalar Skype en openSUSE tienen que instalar algunos paquetes antes:
zypper install libqt4 libqt4-x11 libqt4-dbus-1 libsigc++2 libpng12-0

Luego van a ir a la página de descargas de Skype y seleccionar la versión RPM que corresponde a openSUSE.
Una vez que lo descargaron usan este comando (con la versión de Skype que les corresponde).

zypper in skype-<version>.rpm




Cloud y respaldos 

Dropbox

La mayoría de gente utiliza cuentas en el cloud para sus archivos y poder tenerlos disponibles cuando sea. Hay que ir a la página de descargas de openSUSE e instalar el programa con un solo click.

Deja-Dup

Algo que me encanta de Linux es que tiene buenos programa para poder respaldar todos los datos importantes que queremos, ya sea en una cuenta de Ubuntu One, en un servidor FTP o en un disco duro externo.

Deben ir a la página de descargas de openSUSE e instalarlo con un click.


Algunas herramientas e indicadores para su sistema

Paquetes para comprimir

Si bajan muchos datos de Internet y deben descomprimirlos o comprimirlos con mucha frecuencia, he aquí una lista de paquetes que les van a ser muy útiles.

zypper install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar

Nota: Si instalan los paquetes rar, unrar van a poder leer comics en formato .cbr directamente con Okular.

Necesito algunos programas de Windows

Wine

Si necesitan instalar algunos programas de Windows porque simplemente no hay alguna alternativa en el mundo libre pueden usar el emulador Wine. No todo va a servir y yo no he intentado mucho con este emulador pero sé que se pueden hacer muchas cosas como instalar Microsoft Office.

zypper install wine



Virtual Box

Si Wine no funciona pueden optar por crear una máquina virtual e instalar el programa en ella. El problema es que hay que tener un ISO de Windows.
Hay que preparar los paquetes para la instalación:

zypper in libpng12.so.0

Para sistemas de 32Bits:

wget http://download.virtualbox.org/virtualbox/4.2.0/VirtualBox-4.2-4.2.0_80737_openSUSE114-1.i586.rpm

sudo rpm -ivh irtualBox-4.2-4.2.0_80737_openSUSE114-1.i586.rpm

Para sistemas de 64Bits:

wget http://download.virtualbox.org/virtualbox/4.2.0/VirtualBox-4.2-4.2.0_80737_openSUSE114-1.x86_64.rpm

sudo rpm -ivh irtualBox-4.2-4.2.0_80737_openSUSE114-1.x86_64.rpm

Programación (o "maldición porqué no compila")

Para la gente que usa su máquina para programar he aquí una lista de lo que pueden querer instalar para programar tranquilamente:

Esenciales

Primero hay que instalar los paquetes neceserios para poder compilar, entre esos hay gcc 

zypper install gcc make bison

¿gcc está muy viejo?

Clang es un compilar muy interesante para programas en C y en C++, tiene la misma sintaxis que gcc. Muestra los errores que cometimos donde están exactamente.

zypper install clang

Geany



Un editor simpático que reconoce algunos lenguajes de programación.

zypper install geany

Eclipse

Para programar en Java lo único que hay que hacer (porque va a instalar Java al mismo tiempo) es instalar Eclipse.

OpenGL

Si planean programar usando OpenGL van a tener que instalar el paquete freeglut primero:

Vayan a este sitio donde pueden descargar el paquete de instalación.

Ahora sí todo debería estar a su gusto. ¡Disfruten su nueva instalación!