Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


  Search this Thread
Old 03-26-2010, 05:31 AM   #1
sumeet inani
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Rep: Reputation: 49
SUCCESS in installing software in ubuntu on networkless computer using commands

i have ubuntu 8.04 with GNOME both at office (internet enabled) & at home (standalone so much that has no modem leave aside dial-up or broadband).

I install software at office using
#apt-get install softwarename
I copy all the debian files from /var/cache/apt/archives (from office computer) to /root/installed folder(on home computer)

Now I install dpkg-dev(on home computer) using ubuntu 8.04 cd

#dpkg -i libtimedate-perl_1.1600-9_all.deb
#dpkg -i patch_2.5.9-4_i386.deb
#dpkg -i dpkg-dev_1.14.16.6ubuntu4_all.deb
These files are present on cd.

i edit /etc/apt/sources.list (at home) to prefix # to all lines in it.
Then I append following to it
deb file:/root installed/
Run following command as root (at home)
cd ~; dpkg-scanpackages installed /dev/null | gzip > installed/Packages.gz;apt-get update
Now I can install the softwares at home (which I have in office) via usual #apt-get install SoftwareName

The above steps are for first time only.
Now if I want to install more software at office (or upgrade) then before installing (or upgrading) them I do (in office)
#mv /var/cache/archives/*.deb /var/cache/apt/archives/*.old
This simply renames the debian files which I have already copied at /root/installed folder (at home).
Now (at office)
#apt-get install New-Software-Name OR click on 'get updates' button (for upgrade).

As you must have noticed & guessed.
Now i will copy *.deb files (from /var/cache/apt/archives of office) to /root/installed (of home).
Thus I will get only additional files downloaded during new-software-installation (or upgrading).
Just run at home (as root)
cd ~; dpkg-scanpackages installed /dev/null | gzip > installed/Packages.gz;apt-get update
Some may say that apt offline is easier.
But I just wanted to learn while doing things.
Also I am putting less load on ubuntu servers :-)
Thank You

If you spot a mistake or get problem while attempting this.I am here ALWAYS.

Last edited by sumeet inani; 03-26-2010 at 06:22 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
tweaking openSUSE 10.3 for networkless computer sumeet inani Linux - Newbie 2 07-16-2009 02:23 AM
Installing ubuntu studio v8 on my Dell computer bilirish Linux - Newbie 1 09-23-2008 12:40 PM
Installing Ubuntu: On Which Computer & Which Download (Computer Type) Ntvu Linux - Newbie 2 06-09-2008 05:05 PM
Installing Ubuntu 7.10 to an older computer Lucantoni Ubuntu 4 01-16-2008 09:05 PM
installing new software and typing in commands. brett1963 Linux - Desktop 3 08-23-2006 11:55 AM > Forums > Linux Forums > Linux - General > Member Success Stories

All times are GMT -5. The time now is 05:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration