Gringotts

How to go about with a new Linux Distro : Ubuntu

by mage on Sep.25, 2009, under Open Source

Well as many of the people are confused of linux, this tutorial might just help you :

INTERNET

> To configure internet on your ubuntu OS, first goto your network manager and select your connection/interface.

> It would be set to automatic DHCP, to set a static IP. Right click on the network manager and edit prefrenced, now here specify your ip,gateway,netmask and DNS settings.

> Ubuntu unlike windows has an advantageous feature of Proxy settings. You can apply proxy for every application by specifying it once at System>Administration>Network Proxy

MULTIMEDIA

> Another problem that ppl face is in understanding why linux cannot play mpeg formats by default.

> To start playing your mp3,flv,wav etc files, you can either install vlc player or you can install the gstreamer plugins for default players(Totem, Audacious).

> To install VLC : goto Application>Accessories>Terminal and run this command.

$sudo apt-get install vlc

> To set up gstreamer plugins, just run the type of multimedia file and it’d install the related plugin automatically.

INSTALLING SOFTWARES

Considering ubuntu, it follows the debian color.

You have 3 ways to install any application on ubuntu :

1. Using Ubuntu repository (apt-get).

> Ubuntu has a repository and a method to fetch it on your machine, so that installation occurs without any pain.

> You can find maximum no. of softwares in the repository for installation. To check all of them goto Application>Add/Remove application and select the drop down box to All Available Applications.

> These are a list of applications that you can install without hastle.

Using binaries.

When surfing for a software and you come accross binary version, select the .deb version or the ubuntu recomended version for installation.

Binaries are another easy way of installing a software, now after downloading just double click your .deb file and it’d install it automatically

Compiling program from Source.

When Compiling from source you’d probably have a .tar.gz or other format compressed file.

extract that file to a location.. and in your terminal traverse to that path.

Now for installation from source you require 3 steps :

  1. configuration
  2. make install file
  3. execute install file

Configuration

This process checks whether the system has everything required to install the application, the compilers and libraries to be precise.

You can configure the application by running this file.

mage@h4ck-b0x:~/software_directory$ ./configure

If this runs without error, then proceed to next step otherwise keep installing the compilers and libraries on which it is dependent upon, uptill configure file runs successfully.

MAKE

In this process we tend to make (compile) all the files to create an installation file for the application.

the command for this would be simple :

mage@h4ck-b0x:~/software_directory$ make

INSTALL

In this process we finally compile and execute the installation file,

mage@h4ck-b0x:~/software_directory$ make install

If all the process work in order… your s/w would be ready to go.

:, , , , ,

2 Trackbacks / Pingbacks for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...