Sunteți pe pagina 1din 11

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

How to Ubuntu
About Countdown

Things to do after installing Ubuntu 12.04 Precise Pangolin

Why are there ads?

After Installing Ubuntu 12.04 Precise Pangolin, there are a wealth of things that need to be dealt with. DVD, Audio and Video Codecs, Archiving formats, generally useful stu.
These instructions presume you are procient with PPAs, .Debs, and other terminal commands, Ubuntu Tweak, and require a full set of video, audio, and archive codecs, as well as Skype, Flash, and a truck-load of wallpapers.

Download Script
Rather than working your way through this (rather lengthy) page of commands, you can just Download this Script, mark it as executable and execute it by running ./Essentials.sh

Things to do after installing Ubuntu 12.04 Precise Pangolin


Install GetDeb and Check for Updates, PlayDeb Enable Again Partner Upgrade Package Major Upgrades Install Essentials Install Chrome Google

Warnings:
Using the sudo command can result in severe system damage. Read all instructions and conrm you understand before executing any commands.

Repositories Add Personal

Package Archives Add the Medibuntu Source

1 of 11

02/25/2014 11:52 PM

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

Make sure you type commands correctly, or copy and paste the entire code. Your rst click will highlight all the code, or you can double click in the code area to do it again.

Check for Updates Clean Up Authenticate Medibuntu

Download and Install GetDeb and PlayDeb


Both GetDeb and PlayDeb are repositories, sources of updates for actual software you have or will have installed. They are useful for getting more up-to-date versions than those that ship in the ocial Ubuntu repositories, programmers can which nd

echo "Downloading GetDeb and PlayDeb" && wget http://archive.getdeb.net/install_deb /getdeb-repository_0.1-1~getdeb1_all.deb http://archive.getdeb.net/install_deb /playdeb_0.3-1~getdeb1_all.deb && echo "Installing GetDeb" && sudo dpkg -i getdebrepository_0.1-1~getdeb1_all.deb && echo "Installing PlayDeb" && sudo dpkg -i playdeb_0.3-1~getdeb1_all.deb && if [ $(lsb_release -cs) = "luna" ] then echo "elementary OS Luna, Modifying to be Precise" && sudo sed -i 's/luna/precise/g' /etc/apt /sources.list.d/getdeb.list && sudo rm -f /etc/apt/sources.list.d /getdeb.list.bck && sudo sed -i 's/luna/precise/g' /etc/apt /sources.list.d/playdeb.list && sudo rm -f /etc/apt/sources.list.d

dicult to update as they encounter red tape. They may also contain less popular software which is not listed in the ocial repo's. While this may look like an awful lot of code for something that should be relatively simple, you should know that are GetDeb and PlayDeb repositories,

they're not hosted in one. A large part of this script is also adding support for elementary OS Luna, which, while based upon Ubuntu 12.04 Precise Pangolin, is detected as Luna by GetDeb.

2 of 11

02/25/2014 11:52 PM

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

Since pretend Precise.

GetDeb to be

doesn't running

support Luna, we have to

If you really want to shorten it down, you can remove everything from if to && . This won't have much aect on Precise, only a very slight speed increase, but will break support for Luna.

Enable Partner Repositories


The partner repositories are another source of software, but for those with restrictive licenses that mean the general public cannot simply share them, such as Flash and Skype. These are ocial repo's added Ubuntu. that but This are already in command disabled

sudo sed -i "/^# deb .*partner/ s/^# //" /etc/apt/sources.list if [ $(lsb_release -cs) = "luna" ] then echo "elementary OS Luna, Modifying to be Precise" && sudo sed -i 's/luna/precise/g' /etc/apt

enables them.

Add Personal Package Archives


Personal Package Archives, or PPAs, are yet more sources of updates and new and exciting software. These are some of the most popular, useful, and reliable sources for some default software and some more things we'll install later.

Updates to the latest version of VLC, the popular media player that many people

sudo add-apt-repository -y ppa:videolan/stable-daily

3 of 11

02/25/2014 11:52 PM

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

believe should be installed by default.

The default music player is Rhythmbox, and is usually at least a few version behind. This PPA is provided by the Webupd8 Team.

sudo add-apt-repository -y ppa:webupd8team/rhythmbox

GIMP is an image editor akin to Adobe Photoshop, except free. It is included in many open-source systems, and it would be a crime to use a version old enough not to have single window mode.

sudo add-apt-repository -y ppa:otto-kesselgulasch/gimp

While we won't be installing the full GNOME desktop environment, they do make many of the packages that are already installed on your system, and they can be updated from here.

sudo add-apt-repository -y ppa:gnome3-team/gnome3

Another WebUpd8 PPA, this time a masterfully crafted Java package. It hosts Java 8Beta (not yet stable), Java 6 (an old version) and, most importantly, Java 7 (which we will install later).

sudo add-apt-repository -y ppa:webupd8team/java

This PPA (WebUpd8 again), hosts the program Y PPA Manager. That's right, we're adding a PPA so we can add

sudo add-apt-repository -y ppa:webupd8team/y-ppa-manager

4 of 11

02/25/2014 11:52 PM

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

PPAs. But that's not all it does, it can also remove, purge, check for duplicates and remove broken ones.

This

PPA

is

for

the

sudo add-apt-repository -y ppa:tualatrix/ppa

amazing(ly popular) Ubuntu Tweak, which, as it's name suggests, is a tool for tweaking Ubuntu (and other distributions based upon it, to a certain extent).

Transmission is the default torrent client in Ubuntu, and as such should be kept shiny and new.

sudo add-apt-repository -y ppa:transmissionbt/ppa

Add the Medibuntu Source


This is another source we're going to add (it's that last one, promise), and has to be done in a slightly dierent way to the PPAs and packaged lists of GetDeb and PlayDeb. Unfortunately, elementary execute command sudo it OS the begining ending and also Luna second with just

if [ $(lsb_release -cs) = "luna" ] then echo "elementary OS Luna, Installing as Precise" && sudo wget --output-document=/etc /apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d /precise.list else

requires some extra code for compatability. You can just

before . Or execute all of it, for an easier life.

5 of 11

02/25/2014 11:52 PM

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

Check for Updates


We need to see what software is available in what version for all those new sources we've been adding.

sudo apt-get -qq update

Authenticate Medibuntu
Unfortunately the way we have to install Medibuntu is unauthenticated, and so not secure. Fortunately we can secure it by installing the keyring.

sudo apt-get -y -qq --allow-unauthenticated install medibuntu-keyrin

Check for Updates, Again


Now we've done that, we're going to need to run that update command again.

sudo apt-get -qq update

Upgrade Packages
Now that we've nished adding places to get updates from and secured them, it's time to update what you already have.

sudo apt-get upgrade

Major Upgrades
Some updates are bigger than others. This command is for the huge ones.

sudo apt-get dist-upgrade

6 of 11

02/25/2014 11:52 PM

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

Disable Guest
Now we're all up to date, we can disable the guest session. This is the only step not to do with installing or updating software.

sudo /usr/lib/lightdm/lightdm-set-defaults -l false

Install Essentials
Now we're going to install all the things we thing the average user will need to not encounter any problems playing Music or Videos, watching DVDs, going on YouTube archives. Below you can nd a or extracting

sudo apt-get install synaptic ubuntu-tweak vlc gimp gimp-data gimp-plugin-registry gimp-dataextras y-ppa-manager firestarter bleachbit openjdk-7-jre oracle-java7-installer flashplugin-installer unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack lha arj cabextract file-roller non-freecodecs libxine1-ffmpeg mencoder flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview libmpeg3-1 mpeg3-utils mpegdemux liba52-dev mpeg2dec vorbis-tools id3v2 mpg321 mpg123

breakdown of what each package does. This is the step that most frequently goes wrong and you should read what your terminal prints out before conrming. You may end up removing something you don't want to if there is a conict.

synaptic tutorials.

is

package

restarter

is

Firewall

non-free-codecs , faac , faad ,

libxine1ac , sox , uudeview ,

manager, which we use in many management

application.

All mpeg ,

mencoder ,

ports are closed by default, is far more which means you should never need to use. bleachbit is a powerful

ubuntu-tweak

mpeg2theora , libmpeg2-4 , libmpeg3-1 , mpegdemux , mpeg2dec , id3v2 , mpg123 , mpeg3-utils , liba52-dev , vorbis-tools , mpg321 , libac++6 ,

than a settings manager, it has templates, scripts, workarounds amazing but simple cleaning utility.

and a le type manager, plus an cleaning utility. openjdk-7-jre is an

open-source Java emulator.

7 of 11

02/25/2014 11:52 PM

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

vlc is one of the most popular available. gimp ,

oracle-java7-installer

is the

mpeg , icedax , libjpeg-progs ,

totem-mozilla , lame , libmad0 , libdvdcss , libdvdnav4 , libavcodec-

and powerful media players ocial Java installer. ashplugin-installer gimp-data , ocial Flash installer. and unace , unzip , p7zip-rar , uudeview , arj , unrar , is the

libdvdread4 , w32codecs ,

gimp-plugin-registry ,

gimp-data-extras are all parts of a powerful photo editor, built to rival Adobe Photoshop. y-ppa-manager is there so

extra-53 , libavformatzip , extra-53 , libavutil-extra-51 , p7zip-full , libpostproc-extra-52 , libswscale-extra-2 , ubuntulha , restricted-extras , app-installand data-medibuntu , and apportrar ,

sharutils , mpack ,

cabextract ,

you can manage PPAs without needing to use the Terminal.

le-roller are there to extract hooks-medibuntu are all media and compress les in various codecs. They play videos, music, archive formats. and DVDs. ubuntu-wallpapers* has ever lived. adds

basically every wallpaper that

Install Google Chrome


Google Chrome is not only one of the more popular, fastest, and most reliable browsers available, but it also includes a pre-packed and fully patched version of Adobe Flash and a huge array apps. This is another section of the script that seems long for what it does, but Google Chrome sets up it's repository itself when you install it. This script is set to download the current version and install it, but is more than three times as long so that it can detect of extensions and

if [ $(getconf LONG_BIT) = "64" ] then echo "64bit Detected" && echo "Installing Google Chrome" && wget https://dl.google.com/linux/direct /google-chrome-stable_current_amd64.deb && sudo dpkg -i google-chromestable_current_amd64.deb && rm -f google-chromestable_current_amd64.deb else echo "32bit Detected" && echo "Installing Google Chrome" && wget https://dl.google.com/linux/direct /google-chrome-stable_current_i386.deb && sudo dpkg -i google-chrome-

8 of 11

02/25/2014 11:52 PM

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

whether you are using 32bit or 64bit and download and install the right one.

Clean Up
Now it is time to tidy up, and the rst command sure we here have makes

echo "Cleaning Up" && sudo apt-get -f install && sudo apt-get autoremove && sudo apt-get -y autoclean && sudo apt-get -y clean

everything we want. Second, we get rid of any old dependencies, then remove all the packages we've downloaded and installed, as we likely won't use those again. You can also use Ubuntu Tweak to remove orphaned Congurations and Outdated Kernels.

References
How to Burn an ISO to a CD or DVD in Ubuntu Ubuntu How to nd out how much RAM is installed in Ubuntu How to Install a 32bit programme in 64bit Ubuntu

Further Reading
About Ubuntu 12.04 Precise Pagolin How to make your Dual Boot better with Burg

How to decide if you should use 32bit or 64bit How to Install Ubuntu 12.04 Precise Pangolin

2
Like

14
Tweet

41

145

Share and nd us elsewhere

9 of 11

02/25/2014 11:52 PM

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

Trending
Things to do after installing Ubuntu 12.04 Precise Pangolin How to Ubuntu How to Install LAMP on Ubuntu How to Ubuntu How to Execute a .Run or .Bin le in Ubuntu How to Ubuntu How to Install and Update avast! Antivirus in Ubuntu How to Ubuntu How to Install Spotify in Ubuntu How to Ubuntu How to Play a DVD in Ubuntu How to Ubuntu How to make your Dual Boot better with Burg How to Ubuntu
Powered by AddThis

Why are there ads?

powered by
An OpenShout site.

legal

license

Simplet
the teeny-tiny blog

This work is licensed under Creative disclaimer Commons license which requires suitable Attribution upon the reproduction of any copyright work, for Non-Commercial uses only. It also requires you Share-Alike derivative cookies works under the same or more liberal license. read more license legal code privacy terms

All article have been tested to work with Ubuntu 12.04, 12.10 and 13.04 unless otherwise noted.

10 of 11

02/25/2014 11:52 PM

Things to do after installing Ubuntu 12.04 Precise...

http://howtoubuntu.org/things-to-do-after-installi...

Ubuntu, Canonical and the Circle of Friends are registered trademarks of Canonical Ltd.

11 of 11

02/25/2014 11:52 PM

S-ar putea să vă placă și