Archives For ubuntu

Want GCC 4.8 with c++11 complete feature? Well here’s how to install it in Ubuntu 12.04, Ubuntu 13.04, Ubuntu 12.10 via the PPA.

The PPA provides both GCC 4.7.3 and GCC 4.8.1 for Ubuntu users. In this tutorial, you can follow below steps to upgrade gcc version in your system.

1.) Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands to add the ppa:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

2.) Then install gcc 4.8 and g++ 4.8:

sudo apt-get update; sudo apt-get install gcc-4.8 g++-4.8

3.) Once installed, run following commands one by one to use gcc 4.8 instead of previous version.

sudo update-alternatives --remove-all gcc 

sudo update-alternatives --remove-all g++

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20

sudo update-alternatives --config gcc

sudo update-alternatives --config g++

Now you have the gcc 4.8 with c++11 complete feature in your system. Check out by:

gcc --version

gcc (Ubuntu 4.8.1-2ubuntu1~13.04) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

R Statistical PackageIf you have problem installing R statistical package via the official document. Here’s easy guide with pictures shows you how to install R package in Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 10.04.

R Package is available in Ubuntu Software Center by default, but it’s old. This tutorial will install the latest verson – so far it is 3.0.1 – in Ubuntu via the via official repository.

Add R Statistical Package Repository:

Search for and open Software & Updates from unity dash home.

software&updates

Navigate to Other Software tab, click Add and paste below line in pop-up window.

For Ubuntu 12.04: deb http://cran.stat.ucla.edu/bin/linux/ubuntu precise/

For Ubuntu 13.04: deb http://cran.stat.ucla.edu/bin/linux/ubuntu raring/

For Ubuntu 12.10: deb http://cran.stat.ucla.edu/bin/linux/ubuntu quantal/

For Ubuntu 10.04: deb http://cran.stat.ucla.edu/bin/linux/ubuntu lucid/

add r package repository

You can change “cran.stat.ucla.edu” to other mirrors.

Install R Statistical Package:

After added the repository, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below command to get the key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9

add r package keyring

Finally, you can use Synaptic Package Manager (install it from Ubuntu Software Center) to install R Package.

install r package ubuntu

Gdebi is a lightweight deb packages installer which was the default in Ubuntu Desktop. Now Ubuntu uses Ubuntu Software Center which is slow and frequently gives me ‘The package is of bad quality’ error.

You can easily install Gdebi package installer (default in Linux Mint) and set it as default deb installer by this tutorial.

Go to Ubuntu Software Center, search for and install GDebi Package Installer (gdebi) package:

install gdebi package installer

Then, open your file manager and go to Properties window of one deb package by right-clicking on it. Under open with tab, highlight Gdebi package installer and click Set as default button.

set default package installer

That’s it. Enjoy!

This brief tutorial is going to show you how to download and install JDownloader 2 Beta on Ubuntu 12.04 Precise, 13.04 Raring.

Jdownloader 2 main window

As you may know, Jdownloader is a free and open-source download manager written in Java, which allows the automatic downloading of files and split files from one-click hosting sites such as RapidShare.

For the difference between classic Jdownloader and Jdownloader 2 Beta, see:

Install JDownloader 2:

Jdownloader depends on Java 6 or 7, so first install OpenJDK from Ubuntu Software Center or Oracle Java 7 from ppa. To check current installed version, run below command in terminal:

java -version

You should see similar output:

java version “1.7.0_25″
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode)

To get started installing Jdownloader 2 Beta, you may check your system type (32-bit or 64-bit). Go to Unity Dash, search for and open Details to check out your OS information:

System-type-32bit-64-bit

Once you confirmed your OS type, press Ctrl+Alt+T to open terminal. When it opens, run command to download JDownloader 2 beta for Linux installer. (jdownloader download page)

  • For 32-bit os:
    wget http://installer.jdownloader.org/JD2SilentSetup_x86.sh
  • For 64-bit os:
    wget http://installer.jdownloader.org/JD2SilentSetup_x64.sh

In order to run this .sh installer, run below command to give it executable permission (Or you can do this in file Properties window.)

chmod +x JD2SilentSetup*.sh

After that, run the .sh installer via command below:

./JD2SilentSetup*.sh

It brings up the setup wizard. Follow it and you’re done!

Jdownload 2 setup wizard

Once installed, Jdownloader 2 should available in the Unity Dash.

UPDATE: To uninstall Jdownloader 2, just run the “Uninstall JDownloader” file in the installation folder to bring up uninstall wizard and follow it.

As you may know, Jupiter is a powerful and lightweight power and hardware control applet. It has been retired and last supported release is up to Ubuntu 12.10 Quantal. However, Jupiter is available for Ubuntu 13.04 from JoliCloud Desktop Environment PPA.

Jupiter on Ubuntu 13.04

The webupd8team add the packages to the ppa and it’ll be used as a background program for JoliCloud session. I’ve installed it on my laptop and it’s working well.

Install Jupiter on Ubuntu 13.04:

Note that don’t install it on a product machine. Use it as your own risk!

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below command to add the PPA repository:

sudo add-apt-repository ppa:jolicloud-team/ppa

Then update package lists and install:

sudo apt-get update; sudo apt-get install jupiter

To install Jupiter support package for Eee PCs:

sudo apt-get install jupiter-support-eee

jupiter ubuntu 13.04 unity