LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-27-2009, 09:45 AM   #1
midhat
Member
 
Registered: Aug 2009
Location: bosna
Distribution: ubuntu
Posts: 42

Rep: Reputation: 15
Question 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
 
Old 08-27-2009, 11:39 AM   #2
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
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

Last edited by dv502; 08-27-2009 at 11:44 AM.
 
Old 08-27-2009, 12:33 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
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>
.....
 
Old 08-27-2009, 02:06 PM   #4
midhat
Member
 
Registered: Aug 2009
Location: bosna
Distribution: ubuntu
Posts: 42

Original Poster
Rep: Reputation: 15
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
 
Old 08-27-2009, 02:37 PM   #5
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
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

Last edited by dv502; 08-27-2009 at 02:49 PM.
 
Old 08-28-2009, 02:24 AM   #6
midhat
Member
 
Registered: Aug 2009
Location: bosna
Distribution: ubuntu
Posts: 42

Original Poster
Rep: Reputation: 15
i forgot to say he also use pslinxos 2009 like me

sorry
 
Old 08-28-2009, 06:47 AM   #7
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
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.

Last edited by dv502; 08-28-2009 at 06:55 AM.
 
Old 08-28-2009, 07:07 AM   #8
midhat
Member
 
Registered: Aug 2009
Location: bosna
Distribution: ubuntu
Posts: 42

Original Poster
Rep: Reputation: 15
###" 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 .
 
Old 08-28-2009, 09:52 AM   #9
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
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

Last edited by dv502; 08-28-2009 at 09:53 AM.
 
Old 08-28-2009, 03:58 PM   #10
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
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.
 
Old 08-28-2009, 05:22 PM   #11
midhat
Member
 
Registered: Aug 2009
Location: bosna
Distribution: ubuntu
Posts: 42

Original Poster
Rep: Reputation: 15
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
 
Old 08-28-2009, 06:18 PM   #12
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
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.

Last edited by dv502; 08-28-2009 at 07:16 PM.
 
Old 08-31-2009, 04:36 PM   #13
midhat
Member
 
Registered: Aug 2009
Location: bosna
Distribution: ubuntu
Posts: 42

Original Poster
Rep: Reputation: 15
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 .
 
Old 08-31-2009, 05:42 PM   #14
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
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...

Last edited by dv502; 08-31-2009 at 05:43 PM.
 
  


Reply


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
is there a screen magnification software for DL 3-5 and how to instal it (.deb or RPM craig davidson Linux - Newbie 3 03-09-2009 08:33 AM
how to open downloaded software? barkly54 Linux - Newbie 4 12-03-2007 04:28 PM
new instal suse 9.1 set up internet ducksoup Linux - Newbie 3 07-18-2004 11:52 PM
Install downloaded software, how ? newtbfr Linux - Software 2 08-11-2003 02:13 AM
I can't install downloaded software! Adrienne_G Linux - Software 6 03-23-2002 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 AM.

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