LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   plinuxos how to instal downloaded software on pc where is no internet (https://www.linuxquestions.org/questions/linux-newbie-8/plinuxos-how-to-instal-downloaded-software-on-pc-where-is-no-internet-750632/)

midhat 08-27-2009 08:45 AM

plinuxos how to instal downloaded software on pc where is no internet
 
plinuxos how to install downloaded software on pc where is no internet

before when i have ubuntu i install aptoncd and he make make cd for me with all programs that i have download.

is there similar program on pclinuxos or any way to do that,because my frend dont have internet

dv502 08-27-2009 10:39 AM

PClinuxOS and many other distros use package managers to download packages and their dependencies and then configure it to your system.

PClinuxOS has a command called apt-cdrom. Apt-cdrom is used to add a new CDROM to APT's list of available sources. An excerpt from the man page.

But you still need internet access to download the distro image or files. Ask a friend or family member if you can borrow their PC to download the file(s). Or, purchase a cd/dvd distro. PClinuxOS sells one for $5.99.


Lastly, an internet connection is necessary to make installing, upgrading and maintaining your linux distro.


-Cheers

knudfl 08-27-2009 11:33 AM

Welcome to LQ.

Example links for PCLinuxOS
http://spout.ussg.indiana.edu/linux/...clinuxos/2007/

http://spout.ussg.indiana.edu/linux/...007/RPMS.main/

http://ftp.ch.debian.org/mirror/pcli...clinuxos/2007/

Packages can be installed with the commands
1) su
2) rpm -Uvh <package.rpm>
.....

midhat 08-27-2009 01:06 PM

you maybe dont understand i have internet and i have burn pclinuxos image to cd , so i can install on my friend pc , now i want ( because i have internet ) when i open synaptec package manager and inastalll some programs they go to var/chace/archive ( i think ) , now i want to burn all files from that folder to cd and install that programs on his pc
on ubuntu for that i use aptoncd is that posibile

dv502 08-27-2009 01:37 PM

The packages from pclinuxos are rpm based. And, ubuntu is deb based. You will need to use a program called alien. Alien converts different package types to a deb package.

Since your friend doesn't have internet access, you will need to install alien on your PClinuxOS and covert the rpm files to deb packages.

Onnce you do that, make a data CD or DVD of the deb packages to give to your friend who is using ubuntu.

Hope that helps

midhat 08-28-2009 01:24 AM

i forgot to say he also use pslinxos 2009 like me

sorry

dv502 08-28-2009 05:47 AM

Make sure the packages that are downloaded are cached and not deleted.

Open the package manager and select settings --> Preferences. Then click on the files tab and click Leave all download packages in the cache. Once you have the packages downloaded, burn them on a blank cd/dvd.

You can then add the cd/dvd to the package manager. I never tried it, but it's there. Go to Edit and click ADD CDROM.


Or

To install the the rpms manually

Mount the disc
then type
rpm -Uvh package.rpm

Hope this helps.

midhat 08-28-2009 06:07 AM

###" Also, if you have a cd/dvd with rpm files. You can add the cdrom/dvd to the package manager. I never tried it, but it's there. Go to Edit and click ADD CDROM. "##

that is that i want but when i do that ( pres add cd rom ) he say this

E: Unable to stat the mount point /media/cdrom/ - stat (2 No such file or directory)
E: Unable to stat the mount point /media/cdrom/ - stat (2 No such file or directory)
E: Failed to mount the cdrom.

and can i make large list of rpm to be installed at once with this
rpm -Uvh package.rpm
rpm -Uvh package1.rpm
rpm -Uvh package3.rpm

and how to know what rpm must instlled first .

dv502 08-28-2009 08:52 AM

Quote:

E: Unable to stat the mount point /media/cdrom/ - stat (2 No such file or directory)
E: Unable to stat the mount point /media/cdrom/ - stat (2 No such file or directory)
E: Failed to mount the cdrom.
This means that pclinuxos was looking for a disc mounted on /media/cdrom. Put a disc in the drive and try again.

Quote:

and can i make large list of rpm to be installed at once with this
rpm -Uvh package.rpm
rpm -Uvh package1.rpm
rpm -Uvh package3.rpm
If you want to install all rpms at the same time, this is how it is done.
Code:

rpm -Uvh *.rpm
Of course, this works only if you satisfy the programs and dependencies from the system and the files you collected respectively.

Quote:

and how to know what rpm must instlled first .
When you install rpms, debs or source files manually there is only trial and error. Usually, you would install the main program first then any dependencies thereafter if required. Usually, the program you are trying to install will give you clues of what dependencies you need to install first before the main program.


Your friend should find a way to get internet access. Because this will became a headache for you and him. You have to download the files for him and then he has to install what you give him and hope that it works.
If not, you and he have to repeat the process over and over.

Having an internet connection and a good package manager will make installing and upgrading packages easier.

Hope this helps

windtalker10 08-28-2009 02:58 PM

PCLOS packages used to pull the depends in with the package being installed so you would have to make sure you burn everything in cache if this is how you're going to do things.
What has been already stated of downloading the packages and burning them to a cd or dvd has already been done in PCLOS and works.
It's extremely time consuming and frustrating as well as easy to make mistakes.
It might even be a heckuva lot easier to just bring your friends pc to your house and do things that way until it's set up properly.
There was a person at PCLOS that had dvd's for sale with the entire repo on them as well as others downloading the entire repo to their own private repo and did so over a period of time due to limited bandwidth and slow download speeds.
If the cd or dvd you burned was a good burn, synaptic can be set to access the cd and install from it.
I don't know the steps because I don't have or use synaptic but I know it can be done.

midhat 08-28-2009 04:22 PM

i burned all from chache on dvd rw ( also try on cd rw ) except one
Insufficient permissions to read the following files:
/var/cache/apt/archives/lock

maybe i must burn on cd r +-

can you please find someone who know steps because only on pclinuxos i have working all hardware (bluetooth,camera etc. all ) and he also have all programs for normal user and i yust love him.

please find steps that will help all pclos users

dv502 08-28-2009 05:18 PM

midhat, I already mentioned above that you need to burn the files on a blank disc. After that, your friend needs to either add the cd/dvd to the package manager's resources or manually install them via the rpm command.

Your friend needs to mount the disc first, then he needs to open the package manager and click Edit --> ADD CDROM

The other way is to manually install the packages via rpm command.

rpm -Uvh package.rpm


No matter which method he uses there will be trial and error if installing packages this way.

The package manger will do a better job if it has access to the internet.


windtalker10 made a good point that your friend should bring his computer to your house and go over what programs he wants. Once he's satisfy, he can take the computer back home.

PS: Another method you can try is doing an rsync of pclinuxos repository tree. I never done it, so do a google search on it. Once you have downloaded a copy of the repository tree, you then burn a copy on a blank dvd and then add the disc to the package manager as mentioned above i.e ADD CDROM.

midhat 08-31-2009 03:36 PM

hahaha thanks
knudfl
dv502 and
windtalker10

i have found solution ( http://pclosmag.com/html/Issues/200701/page02.html )
and i now can help my friend .

dv502 08-31-2009 04:42 PM

Congrats! midhat

Sure is a lot of work just to install software for your friend who doesn't have internet access.

Anyway, I hope it will work for you and your friend...


All times are GMT -5. The time now is 11:07 AM.