Tech, Gadgets, Photography, Social Media and Poor Spelling

Ubuntu 12.04 the Macbook Pro Post Install

There are several posts which will cover what you should post install on your shiny new Ubuntu installed Macbook Pro Which we covered a few weeks ago and most of them have a few thing’s i’d suggest which are outlined below.

Software Repositories and Drivers

Change Repsoitory Server Location

It’s recommended that you configure Ubuntu to download, update, or upgrade packages from the main server rather than using location-based servers. You can do this as follows:

– Run this command:

 sudo software-properties-gtk
– Set now this option under the “Ubuntu Software” tab:

Download from: Main server

– In the “Other Software” tab, make sure these options are selected:

* Canonical Partners
* Canonical Partners (Source Code)

– Close the window and run an update with this command:

 sudo apt-get update
Display Drivers

Getting the latest NVidia display drivers will improve the graphics fedback on the Mac no end and at the time of writing you can get the latest version from the following ppa

Open the terminal and install Nvidia 310.14 from PPA at your own risk with these commands:

 sudo add-apt-repository ppa:xorg-edgers/ppa
 sudo apt-get update
 sudo apt-get install nvidia-current nvidia-settings
WIFI Drivers

I found after the fresh install on the link above I had issues with my wifi at the time i wasn’t sure what sorted them and suggested a few things. Specifically however these seemed to fix the problem.

 sudo apt-get install linux linux-headers-generic kernel-package
 sudo apt-get install --reinstall bcmwl* firmware-b43-lpphy-installer b43-fwcutter

Finally, reboot your system.

If that didn’t help, try these commands:

 sudo apt-get remove bcmwl-kernel-source
 sudo apt-get install firmware-b43-installer b43-fwcutter
 sudo reboot


First things first

The first thing I install are always ssh and nmap both useful geek tools.

sudo apt-get install ssh nmap
Install the Multimedia Packages

To be able to play some restricted media formats (MP3, AVI, DVD, etc.) under Ubuntu 12.10, install the “ubuntu-restricted-extras” package with this command:

 sudo apt-get install ubuntu-restricted-extras
Install Gnome-Tweak

To be able to change default theme, icons, and cursors, you need a software like GNOME Tweak Tool. You can install it with this command:

 sudo apt-get install gnome-tweak-tool

JRE 7 Installation

Open the terminal and run the following commands to install JRE7:

 sudo sh -c "echo 'deb debs all' >> /etc/apt/sources.list"
 sudo apt-get update
 sudo apt-key adv --keyserver --recv-keys 5CB26B26
 sudo apt-get update
 sudo apt-get install update-sun-jre

JDK 7 with NetBeans 7.2 Installation

The instructions are for the 64bit JDK as this is what is installed on the MBP, there are 32 bit instructions around too on google.

cd /tmp
 wget -c --no-cookies --header "Cookie:" "" -O
 chmod +x
 sudo sh

Then follow setup instructions without changing anything:

After you finish the installation, run this sequence of commands:

 sudo mkdir -p /usr/lib/jvm/
 sudo cp -R /usr/local/jdk1.7.0* /usr/lib/jvm/
 sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0_07/bin/javac 1
 sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0_07/bin/java 1

You can choose the Java version you want to use with this command:

 sudo update-alternatives --config java 

To check if Java 7 is well installed on your system, open this link and click on “Verify Java Version“. If it is installed correctly, you may see this:

Ubuntu Tweak

 sudo add-apt-repository ppa:tualatrix/ppa  
 sudo apt-get update 
 sudo apt-get install ubuntu-tweak
Compiling and installing source software
To compile and install things on Ubuntu from source, you need to install these packages:
 sudo apt-get install build-essential checkinstall dh-make fakeroot git devscripts
 sudo apt-get install libxml-parser-perl  cdbs avahi-daemon check

2 comments on “Ubuntu 12.04 the Macbook Pro Post Install

  1. David
    October 31, 2012

    What’s the advantage of using the Main Server rather than the local ones?

    • projectzme
      October 31, 2012

      It’s force of habit really i have had downstream issues in the past and it’s caused issues.. If you don’t wish to, don’t.. 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: