LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-21-2013, 01:31 AM   #1
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Rep: Reputation: Disabled
How to add new commands in root file system of linux 2.6.34


Hi,
I am working on FDI3250 Generic Board with Linux 2.6.34 version on ubuntu.
After kernel booting process the file system does not contains some commands.I want to add new commands like apt-get to my Root File system. Is it possible to add new commands or not? If posssible then please help me.


Thanks & Regards,
Md.Biyabani.
 
Old 05-21-2013, 01:39 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

Ubuntu should already have apt-get in /usr/bin/. What do the following commands return?
Code:
file /usr/bin/apt-get
which apt-get
echo $PATH
Evo2.
 
Old 05-21-2013, 05:57 AM   #3
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Original Poster
Rep: Reputation: Disabled
Thanks for Reply sir,
Actually i have asked i did not found apt-get command in my LPC3250 board Root File system after kernel booting process.

The directories and files which i have found are below
bin etc home linuxrc sbin usr
dev ftp lib proc tmp var
~ # cd usr/
/usr # ls
lib sbin
/usr # cd sbin/
/usr/sbin # ls
in.ftpd in.telnetd xinetd
/usr/sbin # cd ../..
~ # cd bin/
/bin # ls
[ df hostname mkdir resize traceroute
[[ diff id mkfifo rm true
application dmesg install mknod rmdir tty
ash du ip mktemp run-parts umount
awk dumpkmap ipaddr more sed uname
basename dumpleases ipcalc mount seq uncompress
busybox echo ipcrm mountpoint setarch uniq
cal egrep ipcs mv sh unlzma
cat env iplink nc sha1sum unzip
catv ether-wake iproute netstat sleep uptime
chattr expr iprule nice sort usleep
chgrp false iptunnel nohup stat vi
chmod fgrep kill nslookup strings watch
chown find killall od stty wc
chvt fold killall5 openvt sum wget
cksum free length pidof sync which
clear ftpget linux32 ping tail who
cmp ftpput linux64 ping6 tar whoami
comm fuser ln printenv tee xargs
cp getopt loadfont printf telnet yes
cttyhack grep logger ps test zcat
cut gunzip login pwd tftp
date gzip logname readlink time
dc head ls realpath top
dd hexdump lzmacat renice touch
deallocvt hostid md5sum reset tr

May be it will help you to give answer.

Thanks & Regards,
Md.Biyabani.
 
Old 05-21-2013, 06:06 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,516

Rep: Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436
what is in /sbin? Try to find dpkg
 
1 members found this post helpful.
Old 05-21-2013, 07:36 AM   #5
Suresh Maniyath
Member
 
Registered: Feb 2009
Location: India
Distribution: Fedora, Ubuntu
Posts: 37

Rep: Reputation: 19
Lightbulb

Hi,
I belive LPC3250 is an embedded board. You can try the busy-box based filesystem from http://www.busybox.net/.

You may not get every command, but this is good for all your needs.

Regards,
Suresh Maniyath
 
Old 05-21-2013, 09:32 AM   #6
biyabani
Member
 
Registered: Mar 2013
Posts: 65

Original Poster
Rep: Reputation: Disabled
Thanks for your reply suresh,

Ya absolutely you have guessed correct. I am working on LPC3250 embedded board. I did not found apt-get and some commands in busy box also. I want to install some software using apt-get command.is there any other command to install software?

Thanks & regards,
Md.Biyabani.
 
Old 05-21-2013, 09:45 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

ohh, so you're running some embedded system. If it is running Linux and other free software, then they must also provide the build system (to comply with the gpl). Is this the web site: http://embeddedartists.com/products/oem/lpc3250_oem.php ? If so check the support pages including the FAQ.


Evo2.
 
  


Reply


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
commands to find type,mountPoint, file system id for the filesystems in a linux suryashikha Linux - Newbie 4 01-13-2010 07:15 PM
Add user to sudoer list but cannot use root commands vitalstrike82 Slackware 3 12-31-2008 08:27 AM
varied output for linux df and du commands on same file system bzlaskar Linux - Newbie 1 12-11-2007 10:41 PM
Add a notice of the top 20 commands to check your unix system on the front page t3gah LQ Suggestions & Feedback 1 03-21-2005 09:23 AM


All times are GMT -5. The time now is 08:50 AM.

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