Vous êtes sur la page 1sur 13

How to Ubuntu

About Countdown

Things to do after installing Ubuntu 12.04 Precise Pangolin


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 Check for

and PlayDeb

Updates, Again

Enable Partner Upgrade

Warnings:
Using the sudo command can

Repositories Add

Package

Personal Major Upgrades

result in severe system damage. Read all instructions and conrm you understand before executing any commands. 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.

Package Archives Add Medibuntu Source Check Updates Authenticate Medibuntu for the

Install Essentials Install Chrome Clean Up Google

Download and Install GetDeb and PlayDeb


Both PlayDeb updates will for GetDeb and are actual installed. more versions Ubuntu which

repositories, sources of software you have or have They are useful for getting up-to-date the ocial

echo "Downloading GetDeb and PlayDeb" && wget http://archive.getdeb.net /install_deb/getdebrepository_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

than those that ship in repositories,

programmers can nd dicult to update as they encounter less red tape. They may also contain 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 GetDeb and PlayDeb are 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. Since GetDeb doesn't support Luna, we have to pretend to be running Precise. 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 repositories another source partner are of

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'

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 that are already added but disabled in Ubuntu. This command them. enables

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 believe many people be should

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

installed by default.

The

default

music

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

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

GIMP is an image editor akin to Adobe except Photoshop, many

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

free. It is included in open-source systems, and it would be a crime to use a version old enough not to have single window mode.

While

we

won't the

be full

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

installing GNOME make already

desktop of the are on

environment, they do many packages that installed

your system, and they can be updated from here.

Another WebUpd8 PPA, this time a masterfully

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

crafted Java package. It hosts Java 8Beta (not yet stable), Java 6 (an old version) and, most importantly, later). Java 7 (which we will install

This

PPA

(WebUpd8 hosts Y the PPA

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

again), program

Manager. That's right, we're adding a PPA so we can add PPAs. But that's not all it does, it can also remove, purge, check and ones. for duplicates broken remove

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

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

upon it, to a certain

Transmission

is

the

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

default torrent client in

Ubuntu, and as such should be kept shiny and new.

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 lists and of packaged

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

GetDeb and PlayDeb. Unfortunately, it also requires some extra code for elementary OS Luna compatability. You can just execute the second command sudo begining with

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

Check for Updates


We need to see what software is available in what version for all

sudo apt-get -qq update

those

new

sources

we've been adding.

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

sudo apt-get -y -qq --allow-unauthenticated install medibunt

secure it by installing

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

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 any playing or Videos, or encounter problems Music on

watching DVDs, going YouTube extracting archives. Below you can nd a breakdown of what each package does. This is the step that most

sudo apt-get install synaptic ubuntu-tweak vlc gimp gimp-data gimp-plugin-registry gimp-data-extras 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-free-codecs libxine1ffmpeg mencoder flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview

frequently goes wrong and you should read what prints end your out up terminal before You may removing

conrming.

something you don't want to if there is a conict.

synaptic

is a package

restarter

is a Firewall

non-free-codecs , libxine1-mpeg , mencoder , faac , faad , mpeg2theora , libmpeg2-4 , uudeview , libmpeg3-1 , mpeg3ac , sox ,

manager, which we use in management application. many tutorials. ubuntu-tweak more than a is far All ports are closed by default, which means you should never need to use. bleachbit is a powerful

settings

manager, it has templates, le type manager, plus an amazing but simple cleaning utility. vlc is one of the most and powerful

scripts, workarounds and a cleaning utility. openjdk-7-jre open-source emulator. oracle-java7-installer the ocial Java installer. ashplugin-installer the ocial Flash installer. unace , unzip , p7zip-rar , rar , is there mpack , cabextract , le-roller unrar , zip , is is is

mpegdemux , an utils , Java liba52-dev , mpeg2dec , tools , mpg321 , libac++6 , lame , libjpeg-progs , libdvdcss , libdvdread4 , libdvdnav4 , w32codecs , libavcodec-extra-53 , libavformat-extra-53 , libavutil-extra-51 , libpostproc-extra-52 , vorbisid3v2 , mpg123 , mpeg , libmad0 ,

popular

media players available. gimp , and gimp-data , gimp-data-extras

totem-mozilla , icedax ,

gimp-plugin-registry , are all parts of a powerful photo editor, built to rival Adobe Photoshop. y-ppa-manager

p7zip-full , sharutils , uudeview , lha , arj , and

so you can manage PPAs without needing to use

are there to

extract and compress les

the Terminal.

in various archive formats.

libswscale-extra-2 , ubuntu-restrictedextras , app-installand data-medibuntu ,

apport-hooks-medibuntu are all media codecs. They play videos, music, and DVDs. ubuntu-wallpapers* adds lived. basically every wallpaper that has ever

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 of extensions and 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

if [ $(getconf LONG_BIT) = "64" ] then echo "64bit Detected" && echo "Installing Google Chrome" && wget https://dl.google.com /linux/direct/google-chromestable_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" &&

version and install it, but is more than three times as long so that it can detect whether you are using 32bit or 64bit and download and install the right one.

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

echo sudo sudo sudo sudo

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

Second, we get rid of any old dependencies, then remove all the packages downloaded we've and

installed, as we likely won't use those again. You can also Tweak use to and Ubuntu remove

orphaned

Congurations Outdated Kernels.

References
Ubuntu 64bit Ubuntu

Further Reading
How to Install Ubuntu 12.04 Precise How to make your Dual Boot better with

How to Burn an ISO to a CD or DVD in About Ubuntu 12.04 Precise Pagolin How to decide if you should use 32bit or Pangolin

How to nd out how much RAM is Burg installed in Ubuntu How to Install a 32bit programme in 64bit Ubuntu

Share and nd us elsewhere Trending

powered by
An OpenShout site.

legal

license

Simplet
the teeny-tiny blog

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

All article have been tested to work with Ubuntu 12.04, 12.10 and 13.04 unless otherwise noted. Ubuntu, Canonical and the Circle of Friends are registered trademarks of Canonical Ltd.

Vous aimerez peut-être aussi