LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install programs from synaptic offline (https://www.linuxquestions.org/questions/linux-newbie-8/install-programs-from-synaptic-offline-850788/)

FMA1965 12-16-2010 10:55 PM

Install programs from synaptic offline
 
I have a laptop on a wireless network in a apartment building, but the server is in the manager's office, the signal is real good. I also have a desktop with no wireless or wired connection. My question is how do I transfer my apps from my laptop to my desktop in offline mode?

I don't want to install a wireless card for my desktop. Is there a way to install synaptic while offline? Or is there a way to install these apps from a flash drive to my desktop, if so how would I do that? Remember people I'm a newbie in linux.

Thanks in advance

rajasekhar19489 12-16-2010 11:25 PM

If u have installed the apps thru synaptic in ur laptop . then there is a chance dat u can find the .deb packages of the applications u like to install on ur laptops apt-cache folder so u can jus go to /var/cache/apt/....( i dont remember the exact location after cache .. but u can find the .deb packages there so u copy them in admin mode and den get them on to ur desktop ini a folder and use the command dpkg -i *.deb

FMA1965 12-16-2010 11:34 PM

I forgot to mention that I run PClinuxOS 2010 gnome....So I can't use deb files, PCLOS use's rpm files.

TobiSGD 12-16-2010 11:41 PM

Quote:

Originally Posted by rajasekhar19489 (Post 4194357)
If u have installed the apps thru synaptic in ur laptop . then there is a chance dat u can find the .deb packages of the applications u like to install on ur laptops apt-cache folder so u can jus go to /var/apt/cache/....( i dont remember the exact location after cache .. but u can find the .deb packages there so u copy them in admin mode and den get them on to ur desktop ini a folder and use the command dpkg -i *.deb

Please spell out your words, text language is not allowed on this forum.

rajasekhar19489 12-16-2010 11:49 PM

I forgot to mention that I run PClinuxOS 2010 gnome....So I can't use deb files,
Quote:

Originally Posted by FMA1965 (Post 4194368)
PCLOS use's rpm files.

I guess u have cache for RPM also so try to find it it will be mostly in var .. but i wud also like to know from somebody else's answer :P

rajasekhar19489 12-17-2010 12:08 AM

Quote:

Originally Posted by TobiSGD (Post 4194377)
Please spell out your words, text language is not allowed on this forum.

Sorry TOBI .. I Dint knw dis .. i believe in not wastin da charactr Space(Jus kiddin) .. ok frm now i wudn't write in dat way .. dis wud be my last reply in dis way sorry again

reagrds,
sekhar

rajasekhar19489 12-17-2010 12:44 AM

Quote:

Originally Posted by FMA1965 (Post 4194368)
I forgot to mention that I run PClinuxOS 2010 gnome....So I can't use deb files, PCLOS use's rpm files.

Heyy I just found out the directory of Yum in cache the path is /var/cache/yum/.... so see for the packages in that directory there in that directory I observed two directories headers & packages .so u can just have a look into packages folder


same as my first reply keep the packages in a folder and run the command in that folder

"yum install <package/app name>"
or
"rpm -ivh <package.rpm>"
regards

FMA1965 12-17-2010 12:11 PM

Solved.........
 
Quote:

Originally Posted by rajasekhar19489 (Post 4194431)
rpm -ivh package.rpm


rajasekhar19489
Thanks that code worked.........


All times are GMT -5. The time now is 03:31 AM.