Debian :: How To Install "build-essential" Without Internet Or CD-ROM
Sep 2, 2011
I have a problem when I was installing the build-essential package.
I have a machine which is an embedded system with only 512M Flash and 128M RAM, the CPU is Atom N455. These hard wares have been designed in a very compact style and assembled in a very tiny case without CD/DVD ROM driver and internet access(it has a 100M Ethernet port, but due to security rules, it can not be connected to internet).
Here is the question: I have already installed the minimum system on it with the "network install" ISO image. It took me about 280M out of the 512M Flash.now I want to install the build-essential package on this machine. There are a lot of limitations:
1, I can not use the CD/DVD ROM
2, I can not use the Internet access
3, there are only about 200M storage space left for me, so I can not copy the whole "debian-6.0.2.1-i386-CD-1.iso" image file into it (this image is about 640M).
4, I also do not have any external CD/DVD Driver, Mobile HDD Driver, USB Ethernet etc. (I am in a remote area in Western China, I connect my laptop to internet via 56k Modem, there is no computer market, the express courier is also not available in this place.)
What I have now at my hand is a 512M USB disk, my laptop and the phone line.
I have searched a lot of solutions on internet, but none of them seems feasible for me. I have tried to install a similar system by using the "network install" ISO on VMware virtual machine. I have done the "apt-get install build-essential" on the VMware Machine and get all the .deb packages in /var/cached/apt/archives, they are as following:
Volume in drive Z has no label.
Volume Serial Number is 8C85-5ECD
Directory of Z:DEBS
[.]
[..]
build-essential_11.5_i386.deb
bzip2_1.0.5-6_i386.deb
cpp_4%3a4.4.5-1_i386.deb
cpp-4.4_4.4.5-8_i386.deb
dpkg-dev_1.15.8.11_all.deb
I installed ubuntu on my laptop as virtualbox application. I have tried to install build-essential like that command:
Code:
sudo apt-get install build-essential
If i do, i got the following message:
Code:
Media change: insert the disc labeled 'Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)' in the drive '/cdrom/' and press enter.If i insert the disc with the ubuntu-image and press enter, i see this message every time i press enter.I looked in my Places folder, i saw my disc with the Label "Ubuntu 9.04 i386".
#deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted
i need build-essential on a netbook that can't connect to the Internet (fail.. .) ). But i can't just type in apt-get build-essential because...you get the point. So, do I have a chance to find build-essential on some website, in .rpm form or something like that?
I want to start some C++ development on my 3 year old, un-updated 8.04 ubuntu desktop machine. I tried: sudo apt-get install build-essential
and got, Code: sudo apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help resolve the situation:
The following packages have unmet dependencies: libc6-i386: Breaks: ia32-libs (< 20090804) but 2.2ubuntu11 is to be installed Breaks: lib32asound2 (< 1.0.20-3) but 1.0.15-3ubuntu4 is to be installed E: Broken packages
I thought apt would automatically install the package dependencies. I don't really want to update the entire installation as I have a lot of network services installed and running which I don't want to risk breaking. They aren't exposed to the internet and don't pose a security risk. So is there any way to get apt to install the dependencies for build-essential?
I'm having headaches about not being able to install build-essential on my 9.10. I don't have an internet connection and no CDrom. [URL]. So that solves it if you have a CD drive... What to do if a poor fella (like me) was to have a system with no CD drive? I installed from USB PENDRIVE and I suppose there have to be some command corresponding to apt-cdrom but for the USB drive but I can't find one.
I have build-essential, but make command not working I have build-essential package, but there is still a problem with make command. When I run it in a directory, it shows following message: mudassar@javaDev-1:~/Desktop/gwget-0.99$ make make: *** No targets specified and no makefile found. Stop. When I explicitly specify a make file, the following message appears:
Today is my first day to use ubuntu for my C++ programming. However, when I was trying to install build-essential, it failed. This is the output shown:
vie@vie-laptop:~/TestC++$ sudo apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done Package build-essential is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package build-essential has no installation candidate vie@vie-laptop:~/TestC++$ .....
I have been trying to install build-essential package on Ubuntu-11.x in the production environment, which is not connected through Internet. When I run apt-get install command, it gives me errors such as:
Depends: libc6-dev but it is not installable Depends: gcc but it is not installable and so on
I have checked these packages through "dpkg get-selections" command and i believe that they are already installed (probably virtual packages) in the system. Please let me know the quick way to complete this installation.
I fruitlessly tried to understand the mechanism of package clean in Debian. There are two types of packages: the one that are essential for user and dependencies of these packages. How could I found where the list of essential packages is kept in Debian? (in Gentoo it is called world-file) dkpg -l shows me the list of all packages installed.
I need to install ns-allinone-2.34(network simulator v. 2.34) on my Ubuntu OS. I searched the web and found some useful sites describing the installation steps.they say that before installing ns2 I need to install some essential libraries using the command below
while executing this command I am getting the following error
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
I don't even know what this command refers to. Please help me in understanding this command and also tell how to rectify the error as i need this software for my course as well as for my project on Ad Hoc networks.
I've been using Debian for around ~3 months now, though before that a certain derivative thereof since the start of the year.Long story short is that I was installing packages, as you do, when apt-get prompted that I run apt-get autoremove, as it does. So, trusting the computer, I do, not bothering to read the chunk of packages that it recommends to remove. Life goes on, until a reboot reveals that there are issues.Short story shorter, a quick cat /var/log/dpkg.log | grep remove spits out the following:
Trying to install SW 13.1 (on DVD) on the following system: M/B Intel: DX38BT Processor Intel Core 2 Quad Q6700 - 2.66GHz, 8MB Cache, 1066MHz FSB, Socket 775 Memory Corsair Dual Channel 8192MB PC10600 DDR3 1333MHz Memory (4x2048MB) Graphics Diamond Radeon HD 3850 Video Card - Viper, 512MB GDDR3, PCI Express 2.0 P/S Ultra 1000W
My goal is to install the i386 build on one partition and the 64-bit build on another. I have been away from Linux for a while and am sick to death of Win7, want to come home. :-}
Booted on i386 side of DVD, system freezes after a couple of lines that start with ATA2. Does not respond to 3 finger salute, ctrl-c, nothing. Have to press reset. I have tried both huge.s and hugesmp.s kernels
Booted on 64-bit side, comes up fine. I performed the install, selected for automatic lilo install. Lilo install hung but I was able to reboot. I booted off the 64-bit side again, entered the following: huge.s root=/dev/sde3 rdinit= ro It booted fully to the login prompt but the keyboard does not work, no input.
What are the differences if I build (./configure, make, make install) an app when log in as root vs a "regular" user other than I have to use sudo for make install? If an app is built from a non-root account, will it be available to every other user on the system?
I installed Debian Squeeze-testing weekly build today, with CD1 alone. It took 1 Hour 38 minutes to install and configure on my Pentium 4 2.7 Ghz , 1GB ram HP machine. I have some trouble with the installation. Sometimes the desktop just freezes while moving Icons, or opening Xterm. I cannot use Ctrl-Alt-Backspace, OR Ctrl-Alt-Delete keys. I have to physically reboot. Why doesn't Ctrl-Alt-Backspace work on GNOME? Is there a IRC chat for Debian Help and what applications does one use on GNOME for IRC chat?
I am having trouble in configuring xorg.conf. I am running Suse 11.3 desktop on my PC. Also, I have one onboard nvidia graphics 6150SE and I have put one nvidia 8400GS 512Mb in the 16X PCIe slot for the additional seat...
So kindly tell me what should I do now or what things are missing ?? For any further info abt my PC plz tell me to post outputs(specify the commands for the same..)
After finishing the build I downloaded installed the latest ubuntu desktop, 64bit. It is installed, and up and running, but I have no internet connection. I don't know what to do from here. Here's some info I've seen requested in response to similar questions:
-Motherboard is Gigabyte GA-X58A-UD3R
-Internet is a wired connection to the motherboard.
I have built an Ubuntu 8.10 server machine with great agony as I have no internet. I need to make another machine and install the same software packages. I already have the packages I need. What do I need to copy from the first machine so that the second machine will install these packages? I'm not referring to the packages themselves (I can copy them over and install them). I need to get the apt database in synch with the first machine. I assume that apt has some sort of database files? Without that configuration, the damn machine keeps trying to connect to the internet.
New installation of Squeeze. No Internet. I have googled and browsed but all the responses seem highly complex, involving editing files. But elsewhere it says "In effect, the goal of NetworkManager is to make networking Just Work."
What should I do next?
I don't really understand these commands, but they always seem to be asked for code...
I am planning to install debian in my pc,.I have xp in one partition and want to install debian in 4gb partition (+500mb for swap).PC: intel p4, 3.0ghz, 1gb ram i install debian from net-install cd without internet connection? If so, after installing the cd can i connect to internet using my usb modem (T-mobile/Huawei modem UMG1831). In case of ubuntu i heard of an app to switch the device between mass storage and modem. How in Debian?
I have installed Debian Lenny from a 5 DVD set I purchased some time ago as well as packages I needed over time but now 'synaptic' refuses to recognize the first dvd as number one although when I try it, it boots normally for an install that I then abort.I'd like to install some packages directly from the Internet, can anyone explain what I need to do or point me to instructions, I do not have much experience with the command line.My current kernel is 2-6-26.21
I need to install Etch (not Lenny ) over the internet - but all my mirrors won't even entertain me. Is there a way to still install Etch over the 'net - as opposed to Lenny? I need Etch because of some specific software I am running - and I have to PXE boot (I've used the Etch netboot.tar.gz files).
I recently tossed Ubuntu for Debian Unstable for my personal machines and I'm having trouble building Emerald into a package. I've already configured and installed the package (using the usual ./configure, make, make install) but I wanted to make a deb for future use (for myself and for others). However every time I try to run dpkg-build I get the following error message.
Recently, I did a netinst Debian install (on a C554US compaq presario), and while the net worked fine during install, I didn't seem to have a network connection (I use dhcp, mind you) or even an eth0 set up. I've used Debian before, but it was awhile back and I can't remember it all that well, but I DO remember having had net back then (previous version). I'm using Debian Testing, if that helps explain what might be wrong, and I can't help but feel it is my own mistake which caused it.
During the installation of Debian ( debian-8.2.0-amd64-CD-1.iso ) I couldn't connect to any mirror probably because the internet wasn't configured.
Thus, after the basic installation I wasn't able to install any packages ( trying to install sudo as root prompted me to insert the media disc - the USB drive I used wasn't detected going in an infinite loop ). Judging by the fact that I don't have a window manager installed.
First time user who has just picked up a nice old Sony netbook to give Debian a try on. Only problem is, this little thing doesn't come with any form of Ethernet card or port, and has to rely on a USB D-link DWA 140 B1 Rev Dongle. This device identifies itself as the Type RT2870 device and when i do "lsusb", it comes out as RALink RT2870. Running the CD install of Lenny, Kernel 2.6.26-2-686, and I can't for the life of me figure out how to get this damn Wireless card working.
The Wiki tells me to look into Upping the kernel to 2.6.32, which unfortunately requires some form of internet access for the backports Also consulted and tried (unsuccessfully, the make command would not run properly) this guy's advice: [URL].... Do any of you kind people have any advice or things for me to try to finally figure out how to get this little laptop online?