plinuxos how to instal downloaded software on pc where is no internet
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
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.
###" 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
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.