Ubuntu: handy commands that helps

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list –output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo apt-get install mysql-admin
sudo apt-get install mysql-query-browser

sudo apt-get install kate

sudo apt-get install libdvdcss2

sudo apt-get install w32codecs

sudo apt-get install skype

sudo apt-get install acroread

sudo apt-get install vlc

sudo apt-get install flashplugin-nonfree

sudo apt-get install putty
sudo apt-get install audacious

echo ‘deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main’ >> /etc/apt/sources.list.d/openoffice.sources.list && sudo apt-get update
wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin && chmod +x GoogleEarthLinux.bin && ./GoogleEarthLinux.bin
sudo echo ‘deb http://dl.google.com/linux/deb/ stable non-free’ >> /etc/apt/sources.list && sudo apt-get update && sudo apt-get install picasa

sudo apt-get install dctrl-tools

Advertisements

16 Responses to “Ubuntu: handy commands that helps”

  1. If you have the time, could you offer an explanation for each of the applications being installed? There are plenty of Ubuntu newbies (including myself) that don’t know what half of these applications are.

    Thanks!

  2. Hi jschodde,

    Sure, at the very first free time..

    With regards,

    Harish

  3. saffrongeek Says:

    sudo apt-get install apache2
    sudo apt-get install php5
    sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
    sudo apt-get install mysql-admin
    sudo apt-get install mysql-query-browser

    From the commands above , the listed ones here help set up basic LAMP development stack..

  4. saffrongeek Says:

    Kate
    Kate is a full-featured programmer’s editor with syntax highlighting for over 150 filetypes.

  5. saffrongeek Says:

    You need codecs (decoders) to read the contents of DVDs and to be able to see multimedia files of different format.

    libdvdcss2 package helps you play dvds.

    w32codecs package is used to play some media file formats.

  6. saffrongeek Says:

    skype

    It is standard chat, call, video conferencing application

  7. saffrongeek Says:

    Acroread is adobe reader.

    VLC sets up VLC player which reads and plays many media formats.

    FlashPlugin Nonfree helps power browser for flash support

    Audacious is free audio/media editor.

  8. Hey Harish,.
    All are very helpfull commands..thanks for sharing to all… 🙂

  9. while using “sudo apt-get install php5” command , this is installing latest version of php. But i want o install lower version( like php 5.2) of php , How to do that ..??

  10. saffrongeek Says:

    PHP4
    $ sudo apt-get install php4
    $ sudo apt-get install libapache2-mod-php4
    $ sudo /etc/init.d/apache2 force-reload
    $ sudo gedit /var/www/testphp.php

  11. saffrongeek Says:

    PHP5.3 to 5.X whr X > /etc/apt/preferences.d/php

    apt-cache search php5-|grep php5-|awk ‘{print “Package:”, $1,”\nPin: release a=karmic\nPin-Priority: 991\n”}’ >> /etc/apt/preferences.d/php
    apt-cache search -n libapache2-mod-php5 |awk ‘{print “Package:”, $1,”\nPin: release a=karmic\nPin-Priority: 991\n”}’ >> /etc/apt/preferences.d/php

    exit
    # add karmik to source list
    sed s/lucid/karmic/g /etc/apt/sources.list | sudo tee -a /etc/apt/sources.list.d/karmic.list
    # update package database (use apt-get if aptitude crash)
    sudo apt-get update
    # install php

    sudo apt-get install -t karmic php5-cli libapache2-mod-php5

  12. saffrongeek Says:

    GD Library
    sudo apt-get install php5-gd

  13. saffrongeek Says:

    Wine: Installing Wine in Ubuntu 10.10
    I tried below from the winehq.com link

    Command Line Instructions for Installing Wine: useful on Kubuntu, Xubuntu, and other Ubuntu derivatives
    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update
    sudo apt-get install wine1.3

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: