LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Closed Thread
 
Search this Thread
Old 04-17-2013, 09:34 AM   #1
wang
Member
 
Registered: Dec 2010
Distribution: ubuntu 10.04
Posts: 39

Rep: Reputation: 0
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
 
Old 04-17-2013, 09:42 AM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,081

Rep: Reputation: 1096Reputation: 1096Reputation: 1096Reputation: 1096Reputation: 1096Reputation: 1096Reputation: 1096Reputation: 1096
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
 
1 members found this post helpful.
Old 04-17-2013, 10:18 AM   #3
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,134

Rep: Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456
Posting the same question twice won't get you help any faster, or get you different answers. Thread reported.
 
Old 04-18-2013, 01:18 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,952
Blog Entries: 54

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


Closed Thread


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
[SOLVED] how to install g++ on fresh installed ubuntu from .deb files or source code wang Linux From Scratch 7 05-09-2013 01:10 AM
Possible to build deb package from source files? davidas Debian 9 12-09-2006 06:27 PM
Recommended way to install from source code and yet manageable by package system? Akhran Debian 6 03-12-2006 10:03 PM
How to package a .deb file from source? hkl8324 Debian 1 06-09-2005 05:13 PM
how to create a deb package from a source abd_bela Debian 1 03-04-2005 10:27 AM


All times are GMT -5. The time now is 03:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration