Saturday, November 30, 2013

[ToDo] Top things to do after installing Linux Mint 16 | Petra

Top things to do after installing Linux Mint 16 | Petra

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

Not running Linux Mint? Check my previous post for Ubuntu 13.10

Planning to install Linux Mint? This post explains how to do it with partitions (it's more secure and very useful)
So I installed Linux Mint, what now?


In this post I will show the top things that I recommend you to do in order to make your computer run like a champ.

Some really interesting changes in this release, make sure you check the blog post in LinuxMint Forum.

I strongly recommend the use of the (a) Terminal except in a few cases, like when you first update, you should update with the "Update Manager" because you'll have to install new kernel revisions.

Updating packages and upgrading


The first thing that you absolutely want to do, just after installing Linux Mint is to update your packages. To do this, you will need to search for the "Update Manager" in the application list


It will atomically check for updates, after all the packages are updated you can click in "Install Now.


Or you could launch a Terminal and put the following command:

$ sudo apt-get update && sudo apt-get upgrade

The first time you do this it could take a lot of time.

Installing proprietary drivers


If your computer has a graphic card like nVidia or AMD or a wireless connexion you must install some drivers to make it work properly. If your wireless doesn't work you might want to install the driver using a wired connexion.


After searching for the "Driver Manager" go to the application and choose the driver that you want to activate. You need to restart your computer afterwards.


Enabling proprietary packages and installing proprietary software


If you want to install some proprietary packages like libraries to play MP3, or to install software developed by Microsoft, like Skype, you don't need to enable repositories. LinuxMint enables them by default.


You can see the Software Sources if you want.


I don't like Cinnamon, show me something else


Ok, before you try to change to every other desktop environment that is out there, some of this procedures may break your system so I recommend you to download the spin off of Mint with the DE that you like (or want to try).

If you get tired of Cinnamon you could try some other desktops. Here I will show you some other options.

Gnome 3: the Gnome team recently released version 3.10 which is really interesting. And let's admit that New is always better... Maybe not...

Warning: Theoretically Cinnamon 2 doesn't break when you install Gnome Shell, I haven't test it but if you want to give a try you are risking to break your system!!!!!


$ sudo add-apt-repository ppa:gnome3-team/gnome3
$ sudo apt-get update
$ sudo apt-get install gnome-shell

KDE 4: the KDE recently released version 4.11, this desktop is my second choice after Unity. I used it for a while and is fast, stable and the graphics with OpenGL are sick. With this command you're actually changing the flavor of your LinuxMint:

$ sudo apt-get install kde-full



MATE: it started as a fork of Gnome 2. Very interesting and pretty nice too.

$ sudo apt-get install mate-desktop mate-common mate-core


There are many other options out there in the wild but I haven't given them a long try. Here are some examples: XFCE, LXDE, Awesome, Xmonad... among others.
 

Internet




Google Chrome o Chromium: if you don't like Firefox you can install Google Chrome by going to their download page.
After you installed the right package for your distribution you can use this command (adapt it with the name of your package:

$ sudo dpkg -i google-chrome-stable_current_amd64.deb

or you could just open the folder where you save the file and double-click it. But the command line is more fun, let's admit it.

If you want to install Chromium instead:

$ sudo apt-get install chromium-browser

Transmission

If you want to download some files from the Internet using a Bit Torrent client there is one installed by default with Ubuntu. Transmission is a light-weight bit torrent client that will do just the job. You can set it up as you want but it doesn't have a lot of options.


There are many options for Linux, like KTorrent, Deluge...

Geary

If you want to install another client for your e-mail I think you could try to install Geary. Here is how it looks:


To install it:

$ sudo add-apt-repository ppa:yorba/ppa
$ sudo apt-get update
$ sudo apt-get install geary

Multimedia


There are some interesting programs to play multimedia, audio, video... But before doing some installation we want to make sure that we have the right codecs installed.

$ sudo apt-get install ubuntu-restricted-extras

A frequent problem you find in different forums is how to play DVDs in Linux Mint/Linux. DVDs use a special encryption protocol, you have to install a library for decryption, run this command that will install this library and execute a configuration file:

$ sudo apt-get install libdvdread4 && sudo /usr/share/doc/libdvdread4/./install-css.sh

VLC



VLC is a great media player that can read EVERYTHING, and I really mean it.

$ sudo apt-get install vlc

 Clementine

If you're looking for an alternative to Rhythmbox because you don't like or if you miss some functionalities like an equalizer or a little more personalization; Clementine is a great option.
Go to the Download Page of Clementine and choose the latest version for Ubuntu and the architecture that you use (in my case Ubuntu 12.10 64-bit). Then from a Terminal try to install it, you will run into some errors of dependencies, but just use the second command to solve this, and you are good to go.

$ sudo dpkg -i clementine_1.1.1~quantal_amd64.deb

$ sudo apt-get install -f




GIMP

If you like photography and you don't want to spend a lot of money in Photoshop you can try out GIMP. I use it every day and it comes with a lot of functionalities.


Just run the following command:

$ sudo apt-get install gimp

If you want to edit RAW files from your camera you will need this extra package:

$ sudo apt-get install gimp-ufraw


This will let GIMP edit the RAW file after it imports it.


Inkscape

If you want to do some vector drawing Inkscape is a great piece of software, very easy to use. Here is an example I made in a free sunday.

$ sudo apt-get install inkscape


OpenShot

If you want to do some video editing in Linux, I think the best option right now could be OpenShot.

$ sudo apt-get install openshot

Just heard Steam came for Linux?

That's right boy, Steam launched its client for Linux a few months ago and it looks pretty awesome.

If you want to install it the easiest way is to download the .deb from Steam.
Then run the following commands:

$ sudo dpkg -i steam_latest.deb

You will run into some dependencies errors. Just correct them with:

$ sudo apt-get install -f

Then Steam will launch and it will update.

This is how it looks, pretty sweet if you ask me:


Messenger


Pidgin

I have tried Empathy but I had some troubles with my MSN account. Pidgin is a great alternative and it supports many protocols, like MSN, Facebook, Google Talk...

$ sudo apt-get install pidgin

Skype

In order to install Skype in Linux Mint you have to install the independent packages  as seen at the beginning of this blog.

$ sudo apt-get install skype


Cloud and backup


Dropbox

Most people have a cloud account with some server. You can share files, make a backups in the cloud, or just have your files available from anywhere you want. You have to go to the download page and again you can run this command (adapting it to your distribution):

$ sudo dpkg -i dropbox_1.6.0_amd64.deb

Backups

Something that I love about Linux Mint (and other distros) is that they have their own backup manager. You can setup your backups to put them in the Cloud or in a FTP server or simply put it in a hard drive.
You search in your applications for "Backup"  and then you can configure
your backup as you like.



Some tools and indicators for your system

TLP

An interesting tool that allows you to save some energy of your laptop. I use it in all my laptops and haven't had any problems with them. I tried laptop-mode-tools too but I had some errors.

$ sudo add-apt-repository ppa:linrunner/tlp
$ sudo apt-get update
$ sudo apt-get install tlp tlp-rdw

Some other tools you may need are: smartmontools, ethtool.

If you are using a Thinkpad you will also need: tp-smapi-dkms and acpi-call-tools.

Archive Management Apps

If you frequently download files from the internet and you want to uncompress or compress here is a command that has everything you may want to install.

$ sudo apt-get install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar
 

Note: If you install the rar, unrar package you will be able to read comic books in .cbr format with Evince.


I still need some Windows programs

Wine

If you need to install some Windows software that isn't available for Linux you can use Wine emulator. It is not going to work for everything but you can do a lot of stuff like installing Microsoft Office.


$ sudo apt-get install wine



Virtual Box

If Wine doesn't work you may want to create a virtual machine and install some programs in it. The problem is that you must have a Windows ISO.
Download the package from Oracle's site, choose the installer for Ubuntu Raring and again from the terminal (adapting it to your own):

$ sudo dpkg -i virtualbox-4.2_4.2.10-84104~Ubuntu~raring_amd64.deb

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

$ sudo apt-get install build-essential

¿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:

$ sudo apt-get install clang

Geany


A simple IDE that recognizes some languages.

$ sudo apt-get install geany

Eclipse

For programming with Java the only thing that you need to do (because it will install Java at the same time) is install Eclipse.

$ sudo apt-get install eclipse

OpenGL

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

$ sudo apt-get install freeglut3-dev

Cleaning everything that you wont use anymore


After you're done installing everything that you always wanted run this commands to clean your packages and to uninstall everything that you don't need anymore:

sudo apt-get autoremove
sudo apt-get autoclean

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

Did you like this post? Here is what you can expect from my blog. Don't forget to add me to your circles in G+ or to follow me on Twitter: @RobertoXMed

Please consider donating to the Blog it will be of great help! Thank you.

Thursday, November 21, 2013

[Tutorial] ¿Qué hacer luego de instalar openSUSE 13.1?

¿Qué hacer luego de instalar openSUSE 13.1?

What is he talking about? Versión en inglés

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 miren las release notes para ver las nuevas funcionalidades que se han incluido en este lanzamiento. Lo último y mejor está incluído, Linux 3.11.6, Gnome 3.10, KDE 4.11, Wayland en modo de prueba... Btrfs como su sistema de archivos.
Sí, quiero probar Btrfs
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 o usar sudo para tener permisos de súper utilizador.



En openSUSE, YaST2 es su nuevo mejor amigo.

Actualizar el tiempo de espera en GRUB

I don't have 8 seconds!!
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

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.

En esta nueva versión hay un pequeño ícono que les indicará si tienen nuevas actualizaciones.
Pequeño insecto informativo

Instalar los drivers propietarios


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

# zypper ar -f ftp://download.nvidia.com/opensuse/12.3/ nvidia

NOTA!!! Cuando escribí este post no había una carpeta para la versión 13.1 en el servidor ftp. Cambienla si pueden.

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/13.1/ packman

Para reproducir DVDs

# zypper addrepo -f http://opensuse-guide.org/repo/13.1/ 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. Les recomiendo intentar openSUSE con el escritorio que deseen el momento de la instalación.

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

Vayan a YaST y lancen el  Software Manager. En View > Package Group > Gnome Desktop, busquen el paquete gnome-shell.

Lo seleccionan y le dan a Accept.

Gracias a Softpedia por los PrtScrn
Si quieren Gnome Classic, busquen el paquete gnome-shell-classic.
Gnome 2: si quieren volver a Gnome 2

# 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:

64Bit:
# zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome

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/13.1 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

KDEnlive (recomendado por Jos Poortvliet ;-) )

Si quieren hacer un poco de edición vídeo, pueden intentar hacerlo con KDEnlive.

# yast install kde4-kdenlive
# yast install mlt
# yast install ffmpeg

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

Al parecer hay algunos errores en la última versión de Skype con openSUSE, pueden tratar de solucionarlo con esto:

$ PULSE_LATENCY_MSEC=60 skype



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 compilador 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:

# zypper install freeglut3-dev

Y bueno creo que eso es más o menos todo. ¡Disfruten su nuevo sistemal!

Y disfruten también el último vídeo hecho para la SuseCon.


Si les gustó este post no se olviden de agregarme en sus círculos de G+ o pueden seguirme en Twitter también: @RobertoXMed

Por favor consideren donar para el Blog Chimbo, sería de gran ayuda para traerles nuevo contenido siempre! Gracias!