Tech, Gadgets, Photography, Social Media and Poor Spelling
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.
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 updateDisplay 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-settingsWIFI 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 nmapInstall 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-extrasInstall 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 http://www.duinsoft.nl/pkg debs all' >> /etc/apt/sources.list" sudo apt-get update sudo apt-key adv --keyserver keys.gnupg.net --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: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://goo.gl/AJ1oS" -O jdk-7u7-nb-7_2-linux-x64-ml.sh chmod +x jdk-7u7-nb-7_2-linux-x64-ml.sh sudo sh jdk-7u7-nb-7_2-linux-x64-ml.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:
sudo add-apt-repository ppa:tualatrix/ppa sudo apt-get update sudo apt-get install ubuntu-tweakCompiling and installing source software
sudo apt-get install build-essential checkinstall dh-make fakeroot git devscripts sudo apt-get install libxml-parser-perl cdbs avahi-daemon check