Results 1 to 9 of 9
Hi,
I am working on an embedded system. I have Debian installed (2.6) but for some reason I cannot run the commands apt-get or dpkg. I really need these because ...
- 06-28-2006 #1Just Joined!
- Join Date
- Sep 2005
- Posts
- 29
No AP-GET What do I do
Hi,
I am working on an embedded system. I have Debian installed (2.6) but for some reason I cannot run the commands apt-get or dpkg. I really need these because I have to install libsysfs2. I managed to download the .deb file for this on my host machine (over the web) but I can't install it without dpkg. Can anyone tell me how to get apt-get and dpkg?
Thanks.
- 06-28-2006 #2
You're saying these applications simply don't exist? Not even in /sbin/?
Registered Linux user #270181
TechieMoe's Tech Rants
- 06-28-2006 #3Just Joined!
- Join Date
- Sep 2005
- Posts
- 29
Hi,
Originally Posted by techieMoe
I know it's crazy but yep they don't exist. What if I just take the original source, dump it on my board and then run .configure and make ... shouldn't that also work?
For example, does the file sysfsutils_2.0.0.orig.tar.gzip have the source code for all the target processors?
- 06-28-2006 #4Linux User
- Join Date
- Jun 2006
- Posts
- 311
Hi NeoGeo,
Which is the processor that you are using in the embedded system?
With Regards,
Thinker
- 06-28-2006 #5Just Joined!
- Join Date
- Sep 2005
- Posts
- 29
Hi Thinker,
Originally Posted by Thinker
I'm using a mips 4kec.... by the way the ./configure script for the libsysfs fails on my target. How do I manually specify the build to ./configure?
Thanks agian.
- 06-28-2006 #6In theory, yes. I can't tell you it's guaranteed, but it certainly can't hurt to try.
Originally Posted by NeoGeo
Registered Linux user #270181
TechieMoe's Tech Rants
- 06-28-2006 #7Just Joined!
- Join Date
- Sep 2005
- Posts
- 29
Originally Posted by techieMoe
So I can run ./configure --host=mips, however I can't run make install because my board doesn't even have that in /usr/bin.
Is there anyway to get apt-get and dpkg?
Thanks.
- 06-28-2006 #8Linux User
- Join Date
- Aug 2005
- Location
- Italy
- Posts
- 401
The .deb files are AR file archives (so you can use ar to extract its contents).
There, there is a tar.gz containing the precompiled libraries/binaries but, using them without a dpkg check, it's not garanteed they can run, due the libraries/system dependencies (however, if the .deb file is compiled for the specific distribution you're using, probably it will run correctly).
Compiling from sources is the best solution, but reading the thread I understood you don't have make, right? An alternative solution is to compile sources from another machine, using cross compiling, but I've never tried it.
Now my question: why this Debian distro come without dpkg/apt? (note that without this tools, your distro is not a true Debian system, but simply a particoular GNU/Linux system)When using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)
- 06-28-2006 #9Just Joined!
- Join Date
- Sep 2005
- Posts
- 29
Hi,
First of all, thank you for your reply. I tried the cross comilation thing, but how does the make install part work. ./configure works, as does make... but I don't know what to expect when I run make install.
Doesn't make install actually install the .so file in the /lib directory. I don't think I can run make for the host as opposed to the target board.
As for the question on why I don't have all the utilities... I don't know, I have to talk to my board vendor about that one.
Thanks agian.


Reply With Quote
