LinuxQuestions.org
Help answer threads with 0 replies.
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 06-15-2008, 02:58 AM   #1
presarioch
LQ Newbie
 
Registered: Jun 2008
Posts: 21

Rep: Reputation: 15
newbie questioning about gcc, make, yum......


Dear all bros,

I ssh into my nas(embedded linux) and uname it. It shows the following:

Linux NAS 2.6.21 #1 Fri Apr 11 10:34:23 CST 2008 ppc unknown

I found that many many commonly used command like gcc, make, yum, locate, find...... cannot be issued.

How can I "install" these commands into my linux??


THANKSSSSS BROS!
 
Old 06-15-2008, 03:29 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Are they not there or are they not in the path of the user you are logged in as? You could check /usr/bin and /usr/sbin.

More than likely it is using a stripped down version of one the more popular distros. If you can figure out which one you will be half-way there. You can run a:

Quote:
cat /etc/redhat-release
If it is RH based that should point you to the version.
 
Old 06-15-2008, 03:57 AM   #3
presarioch
LQ Newbie
 
Registered: Jun 2008
Posts: 21

Original Poster
Rep: Reputation: 15
thanks bros.

but i dont think it's there since there no make, gcc ...... shown either in /bin/ or /sbin/.
and there's no such file named redhat-release.

ooooops. what should i do now? how can i install these programmes?

thanks bros.
 
Old 06-15-2008, 04:46 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Depends on what kind of device it is. As lazlow said, it is likely running a stripped down version of some well known distro and you can use those distro's tools. Alternatively, you may need to install custom firmware that allows the user to add software (many embedded installs aren't really set up for this). For instance, one can install Debian on the NSLU2 (a popular home NAS device) and use apt-get as normal...
 
Old 06-15-2008, 01:49 PM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,062

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
You may not have enough memory space to add all (or even some) of the things that you would like. One of the reasons that embedded distros are usually stripped down is because the actual hardware upon which they are installed is stripped down.
 
Old 06-16-2008, 12:53 AM   #6
presarioch
LQ Newbie
 
Registered: Jun 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Then is it possible to install those softwares into the add-on-hdd/flashdrive/storage on my nas instead of the local memory?
 
Old 06-16-2008, 01:48 AM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
You need to determine what distro it is running first. It might help if you tells the brand and model of the hardware you are running.

It MAY be possible depending on how it is set up.
 
Old 06-16-2008, 01:02 PM   #8
presarioch
LQ Newbie
 
Registered: Jun 2008
Posts: 21

Original Poster
Rep: Reputation: 15
my NAS is Thecus N3200, any idea?
 
Old 06-16-2008, 02:29 PM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
It looks like it uses debian. From what I can tell the user files are stored in /raid rather than the standard locations (so look there). Here is some instructions for the 2100 (a more popular model). They are PROBABLY the same for the 2300.

 
Old 06-19-2008, 08:08 PM   #10
presarioch
LQ Newbie
 
Registered: Jun 2008
Posts: 21

Original Poster
Rep: Reputation: 15
thanks very much!

I m trying to download and install it.
Thank you!!
 
  


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
equivalent of conio.h in gcc? (and some more gcc-newbie questions) Valkyrie_of_valhalla Programming 3 09-22-2007 03:32 AM
yum update gcc to 4.2.x mwainwright Fedora 1 06-08-2007 09:37 AM
help with improving questioning biophysics LQ Suggestions & Feedback 1 08-19-2006 06:30 AM
Newb questioning debian KezzerDrix Debian 12 03-22-2005 10:57 PM
'Make' needs 'Gcc' to compile but 'Gcc' needs 'Make'??? Qwirt Linux - Software 1 07-14-2004 10:54 PM


All times are GMT -5. The time now is 09:11 PM.

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