Author Topic: How to install offline  (Read 1103 times)

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
How to install offline
« on: April 15, 2010, 03:48:13 AM »
I know I had it somewhere - but I lost it.  I am pretty good at this...

How can I install software offline.  I have an online PC here and an offline PC there.  How do I get my software (like Oo and others) as well as my upgrades from here to there?

Please point me into the correct direction.

Thanks
« Last Edit: April 15, 2010, 04:20:26 AM by longtom »
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11535
  • ----IOFLU----
Re: How to install offline
« Reply #1 on: April 15, 2010, 03:59:33 AM »
I know I had it somewhere - but I lost it.  I am pretty good at this...

How can I install software offline.  I have an online PC here and an offline PC there.  How do I get my software (like Oo and others0 as well as my upgrades from here to there?

Please point me into the correct direction.

Thanks

How about, you pick it up here, and carry it over there?  ;D ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: How to install offline
« Reply #2 on: April 15, 2010, 04:21:14 AM »
I know I had it somewhere - but I lost it.  I am pretty good at this...

How can I install software offline.  I have an online PC here and an offline PC there.  How do I get my software (like Oo and others0 as well as my upgrades from here to there?

Please point me into the correct direction.

Thanks



How about, you pick it up here, and carry it over there?  ;D ;D

Oh - come on O-P - you can do better than that!....hmpf...
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11535
  • ----IOFLU----
Re: How to install offline
« Reply #3 on: April 15, 2010, 12:21:55 PM »
I know I had it somewhere - but I lost it.  I am pretty good at this...

How can I install software offline.  I have an online PC here and an offline PC there.  How do I get my software (like Oo and others0 as well as my upgrades from here to there?

Please point me into the correct direction.

Thanks



How about, you pick it up here, and carry it over there?  ;D ;D

Oh - come on O-P - you can do better than that!....hmpf...

What do you want for a late night ad lib? I don't have any script writers here, ya know.  ;D ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: How to install offline
« Reply #4 on: April 16, 2010, 01:06:47 AM »
I know I had it somewhere - but I lost it.  I am pretty good at this...

How can I install software offline.  I have an online PC here and an offline PC there.  How do I get my software (like Oo and others0 as well as my upgrades from here to there?

Please point me into the correct direction.

Thanks




How about, you pick it up here, and carry it over there?  ;D ;D


Oh - come on O-P - you can do better than that!....hmpf...


What do you want for a late night ad lib? I don't have any script writers here, ya know.  ;D ;D


I am sure you don't and I never would dare to ask something like that from you.  I kind of thought this question of mine has been asked before and there is a standard answer for this and I just can't find it.  (something like this)

Well, there obviously isn't - otherwise you would have known about it for sure.

Thanks for replying anyway - now I don't feel ignored!   ;D ;D
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: How to install offline
« Reply #5 on: April 16, 2010, 01:15:24 AM »
Wait a minute - this Oo fix from pinoc here, would that work with other programs if I get the rpms from the synaptic cache?  Just a thought....
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: How to install offline
« Reply #6 on: April 16, 2010, 03:35:15 AM »
Well - just did it with Scribus and it worked.  Now that's quite dandy....  This can help a lot of people here who are offline.  This always was a spanner in the wheels.

I'll do some more testing...
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11535
  • ----IOFLU----
Re: How to install offline
« Reply #7 on: April 16, 2010, 05:33:14 AM »
Wait a minute - this Oo fix from pinoc here, would that work with other programs if I get the rpms from the synaptic cache?  Just a thought....

Well - just did it with Scribus and it worked.  Now that's quite dandy....  This can help a lot of people here who are offline.  This always was a spanner in the wheels.

I'll do some more testing...


If you are referring to this;

su -c 'apt-get install *.rpm'

the answer is yes, it should work with any batch of .rpm packages within a single directory.

The only problem might be from a missing dependency. As it's apt-get being called instead of rpm direct, it should then try to check the repository for the dependency and add it to the list of what's being installed from the directory. If you get an error message that the dependency could not be installed, (because of the lack of a connection) the package name would still be revealed, so you could then collect it from the repo, using the online machine, and add it to the directory. Once all dependency rpms are present, you're good to go. It can get awkward at times, but it beats a sharp stick in the eye, none the less. ;D  

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: How to install offline
« Reply #8 on: April 16, 2010, 05:47:45 AM »
It can get awkward at times, but it beats a sharp stick in the eye, none the less. ;D  

Hey - that's as good as I have ever had it.  So far it appears to be working.  I am collecting now - even got the new kernel - and see what it does on a real setup tonight.

And yes - if I do miss a dependency it should tell me what it is.  I'll keep reporting...
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11535
  • ----IOFLU----
Re: How to install offline
« Reply #9 on: April 16, 2010, 06:09:44 AM »
It can get awkward at times, but it beats a sharp stick in the eye, none the less. ;D  

Hey - that's as good as I have ever had it.  So far it appears to be working.  I am collecting now - even got the new kernel - and see what it does on a real setup tonight.

And yes - if I do miss a dependency it should tell me what it is.  I'll keep reporting...

For the kernel, be sure you have the proper -devel- package also. That's what installs all the driver modules in /lib/modules. Each kernel needs it's own -devel- package.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: How to install offline
« Reply #10 on: April 16, 2010, 06:28:59 AM »
It can get awkward at times, but it beats a sharp stick in the eye, none the less. ;D  

Hey - that's as good as I have ever had it.  So far it appears to be working.  I am collecting now - even got the new kernel - and see what it does on a real setup tonight.

And yes - if I do miss a dependency it should tell me what it is.  I'll keep reporting...

Thanks for that.

For the kernel, be sure you have the proper -devel- package also. That's what installs all the driver modules in /lib/modules. Each kernel needs it's own -devel- package.


What I do is as follows:

- Change my synaptic settings to "keep all in cache"
- install an application
- fire up dolphin and go to /root/var/cache/apt/archives
- copy all rpm files into a directory on a ram stick.

After that I go back to synaptic:

- go to settings > preferences > files
- press "delete Cached Packaged Files"
- start installing the next application.


Doing it like that I got the devel package for the kernel as well.  Haven't missed a dependency yet.

Reckon it's worth a "How to"?



Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11535
  • ----IOFLU----
Re: How to install offline
« Reply #11 on: April 16, 2010, 09:58:57 AM »
I moved the silliness part of this thread to the sandbox, where it's more appropriate.  ;)
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...