Apr 1, 2012

How to Update Ubuntu offline/ Installing and updating Ubuntu Without Internet Connection

Hi friends, I am going to tell you "How to Install/Update Software in UBUNTU offline". But You have to download files from other system or you can get it from any other ubuntu System [having same version as your].

1. Getting Files

  • OR you can also get file from pre-install updated ubuntu machine. Becouse During updating ubuntu all downloaded files were stored by OS at location  /var/cache/apt/archive. So you can copy it from this location to your usb drive.

2.Setting Up Local Repo 

Go to this web address http://archive.ubuntu.com/ubuntu/dists/ and then to the SuiteCodename of the Ubuntu installed in your hard disk (intrepid, jaunty, karmic, ...) and download the files :
  • Release
  • Release.gpg
  • And the Contents files for your architecture (i.e Contents-i386.gz ,if you architecture is i386).
Later, go to the component (main, multiverse, restricted, universe) and architecture (i.e. binary-i386/ in /dists/karmic/main/) that you want in your local repository, and download the files:
  • Packages.bz2
  • Packages.gz
  • Release
Optionally, you can download the same files for the source directory (its packages are architecture independent).
Now, you have to store the files in your local Ubuntu repository in the same order. For example:
  • In /home/repository/dists/karmic you would have the files: Contents-i386.gz , Release and Release.gpg
  • And in /home/repository/dists/karmic/main/binary-i386 the files: Packages.bz2 , Packages.gz and Release

3.Add the local repository in your sources list



Go to  System -> Administrator -> Software Sources the under tab "other software" click on "Add"  to add the offline repository, stored in the /home/repository directory :
deb file:///home/repository SuiteCodename main restricted universe multiverse 

Where:
  • SuiteCodename is intrepid, jaunty, karmic ...
  • You can include some or all the components ( main, multiverse, restricted, universe).


Mar 1, 2012

Installing Google Chrome In Ubuntu

To install Google Crome in Ubuntu type "sudo apt-get install google-chrome" in terminal.

                     OR

Go to www.google.com/chrome and download .deb file and install directly by double clicking. 

Lanshark

What is Lanshark?
Lanshark is a free filesharing tool for local area networks. Lanshark allows you to share files with other users in the same network more efficiently. It automatically detects other lanshark users in the same Network and lets you browse trough their shares. Lanshark has a very fast search function that allows you to search through all the shares in the whole network in just a few seconds!

It works with both Linux and Microsoft Windows System.
  • Type the below code in terminal and hit enter
  • Terminal Command
      • wget https://dl.dropboxusercontent.com/u/14796920/lanshark-master.zip
      • unzip lanshark-master.zip
      • cd lanshark-master
      • python setup.py build
      • sudo python setup.py install
      Configuration
      •  After installation you can open it from Applications->Internet->Lanshark.
      • Click on 'share path' to select location to share on LAN.
      • To view your share file click on Browser tab.
      • From tab Lanshark ->Open Web Interface you can find you address over lan. By using this address you can browse your file from any system by using a web Browser.
         









      Here my address is 106.201.223.156:31337 and shared files at that address. So to access my file from other Systems I have to type this address in web browser at that system. You  can also change it from Advanced tab.