please could you help me to download some of my right software for Ubuntu.

Rashkae ubuntu at tigershaunt.com
Fri Aug 21 17:09:42 UTC 2009


Alfred George wrote:
> Dear team,
> I have a computer with Ubuntu on it. currently i don't have internet
> connection on my house. so can i download any software in my office and save
> it on my flash drive to installe it on my pc at home?How?
> 
> yours faithfully,
> ALfred Geoge
> 
> 


The problem is that all packages for all versions of currently supported
Ubuntu or Debian are all in the same directory tree.  You can use the
debmirror  to create a local repository just the file you want/need.

Here's an example command:

debmirror --passive \
--host=your.favorite.mirror --root=ubuntu/ \
   --method=http  --progress  \
--dist=jaunty,jaunty-updates,jaunty-security \
   --section=main,restricted,universe,multiverse \
    --arch=amd64 \
  --ignore-release-gpg  /mnt/storage2/ftp/ubuntu



There are further scripts you can use to split these up into DVD's that
apt can use to install from, but I would suggest, if it's an option, you
instead use a USB connected hard drive, to store the mirror.

When you have the files to the destination computer, then you need only
edit the /etc/apt/sources.list file to comment out all the exiting repos
and instead point to your local copy.

Example:
deb file:/mnt/storage2/ftp/ubuntu jaunty main multiverse restricted universe
deb file:/mnt/storage2/ftp/ubuntu jaunty-security main universe
multiverse restricted
deb file:/mnt/storage2/ftp/ubuntu jaunty-updates main universe
multiverse restricted


You need only run the debmirror command over the same files again to
download any new updates, which is why I suggest using a portable hard
drive to store this repo.






More information about the ubuntu-users mailing list