how to install g++ on fresh installed ubuntu from .deb files or source code
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 |
either you have it on cd or should be downloaded.
|
Quote:
|
so I don't understand the question. if you have a deb package you can install it with dpkg -i. to download you need to look for an official repo. You can reach this site, so you can download packages. http://packages.ubuntu.com/, http://packages.ubuntu.com/lucid-updates/devel/g++-4.4 and of course you can use wget to download packages
|
Quote:
|
If you are going to start compiling software on ubuntu you must at least install the build-essential package not just g++, also you will have to install -dev packages for anything you want to compile against.
|
Since it seems annoying installing g++ and it is not my goal(I originally want to install the textinfo package!),I just leave it uninstalled.I installed another package termcap and successfully installed textinfo.However,all your advice is helpful,thanks for your kindness!
|
glad to hear that. If you really want to say thanks just click on YES. (installing g++ should not be a hard task anyway)
|
All times are GMT -5. The time now is 02:41 PM. |