LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   installing addtional packages in fc6, with no network or net connection (http://www.linuxquestions.org/questions/fedora-35/installing-addtional-packages-in-fc6-with-no-network-or-net-connection-504327/)

ianbobisveck 11-23-2006 06:51 PM

installing addtional packages in fc6, with no network or net connection
 
I installed fc6, i686, choosing to install it as a workstation. It installed fine, i got no errors or anything.
Now i want to install the rest of the packages. when i try to run the "add/remove software", a popup appears telling me to put the root password in, which i do. THen the add/remove program runs, and says that it is checking for network connections. Then i get an error, saying that no network connection is found, and the program exits. I dont have a network connection, im not connected to the internet, but i do have the cd's for fc6 and i want to just install off them. How do i do it without having to set up a network or internet connection? cuz i dont want to do that at the moment.

Thanks,
ianbobisveck

jschiwal 11-23-2006 08:37 PM

You could use the rpm command directly to install the package you want.
rpm -Uhv <full/path/to/rpm/package/filename>

You might also try commenting out lines in /etc/yum.conf that point to files in /etc/yum.repos.d/ that reference repo urls.

ianbobisveck 11-24-2006 03:23 AM

Quote:

You might also try commenting out lines in /etc/yum.conf that point to files in /etc/yum.repos.d/ that reference repo urls.
Thanks. I changed the "enabled=1" to "enabled=0", now the add/remove software program runs. However, i can only add/remove the packages taht are already installed. I want to add the other packages from the install cds. I would just use the rpm -Uhv <full/path/to/rpm/package/filename> thing, but theres 2.5 cd's worth of rpms... last check, i want to install a total of more than 500 hundered, and im thinking that typing in each ones name and full path is not gonna be that enjoyable. Any ideas would be appreciated.

Hitboxx 11-24-2006 07:43 AM

http://www.linuxquestions.org/questions/showthread.php?t=428924
Hope this helps.

Digital Surgeon 11-24-2006 07:19 PM

reply
 
Hi,
I am in a similiar jam too, I posted a similiar thread on here. The reply was nothing on add/remove but I bet you can reboot off of the cds or dvd and do an upgrade install to just the additional packages you want. I really really suggest they work on getting add/remove working without a network connection as well as with. For those of us with dialup or no connection.

andrew7a2 12-30-2006 07:37 AM

Creating local repo from fc6 dvd
 
If you have the dvd version of fc6 and enough hard disk space try the following:

Install createrepo...rpm from the dvd's RPMS directory by clicking on the file from within gnome or using rpm -ivh (it shouldn't require further dependencies with a default gnome install)
Copy RPMS directory and its contents from dvd to suitable location, say /opt
Copy comps.xml from repodata directory on dvd to /opt/RPMS
$su -
#createrepo -g /opt/RPMS/comps.xml /opt/RPMS
Create the file /etc/yum.repos.d/opt.repo containing:

[opt]
name=opt
baseurl=file:///opt/RPMS
enabled=1
gpgcheck=0

Change "enabled=1" to "enabled=0" in all other .repo files in /etc/yum.repos.d
#yum clean all
Add/Remove Software can now be used to install groups or individual packages.


All times are GMT -5. The time now is 10:41 AM.