LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   how to install g++ from source code or deb package (https://www.linuxquestions.org/questions/ubuntu-63/how-to-install-g-from-source-code-or-deb-package-4175458486/)

wang 04-17-2013 09:34 AM

how to install g++ from source code or deb package
 
Hi,friends!

I have just installed Ubuntu 10.10 by CD drive and I want to use it as the host for building LFS 7.3 system.To satisfy the host requirements,I need to install g++ first to install ncurses(maybe I am wrong for this) to install textinfo.

Now the problem is that I need to install g++ but cannot use apt-get(No network),so how to install g++
from .deb or source files? Where can I get them?

Thanks for any help

evo2 04-17-2013 09:42 AM

Hi,

you're going to have a rough time doing lfs without a network. Anyway AFAIK, apt-offline is still the recommended way to do package management for systems that don't have network.

See for example:
https://help.ubuntu.com/community/In...se_apt-offline

Evo2

TB0ne 04-17-2013 10:18 AM

Posting the same question twice won't get you help any faster, or get you different answers. Thread reported.

unSpawn 04-18-2013 01:18 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of http://www.linuxquestions.org/questi...de-4175458483/.


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