LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 12-04-2012, 05:16 PM   #1
jalvaro
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Rep: Reputation: Disabled
head: command not found


Hello. I have an Acer Aspire One netbook running on Linpus Linux (Fedora 8.6).
I'm trying to install some apps by running .sh files, but every time I get "head: command not found"
I've checked in usr/bin and there is a HEAD, in capitals. I've tried changing it into low (head) but then I get that the option -n is unknown, so I have assumed they are not the same.
Is there any way I can include the command "head" in the system?
thank you in advance for your help.
 
Old 12-04-2012, 06:06 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Hello jalvaro, welcome to LQ,

Linpus is not a fullfeatured Linux distribution. You should install a more recent distribution instead.

In order to help you, could you please open a terminal and post the output of
Code:
sudo lspci
Also it would be good if you tell us more about the hardware, how much RAM, processor etc.

Markus
 
Old 12-04-2012, 06:13 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,689
Blog Entries: 54

Rep: Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957
Quote:
Originally Posted by jalvaro View Post
I have an Acer Aspire One netbook running on Linpus Linux (Fedora 8.6).
Auch. I don't know how old your version is but "Linpus 1.7 Lite Desktop" was released earlier this year. Linpus 1.6 Lite Desktop was usable free of cost according to Distrowatch so maybe 1.7 is too. Do check that out because running an old distribution release is not good from various points of view.


Quote:
Originally Posted by jalvaro View Post
I'm trying to install some apps by running .sh files, but every time I get "head: command not found" (..) Is there any way I can include the command "head" in the system?
IIRC Linpus didn't have any repos, maybe check if they do have now? Else you could hunt for a compatible Fedora Core 8 from one of the old Fedora mirrors or search for instance http://rpm.pbone.net. Watch out your laptops arch (i386 or x86_64) and look for "coreutils-6.9-9.fc8" which has the /usr/bin/head" you need.

*And no, running lspci ain't gonna fix any of that ;-p
 
Old 12-06-2012, 04:21 AM   #4
jalvaro
LQ Newbie
 
Registered: Dec 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Great!!! That worked. I found, downloaded and force installed a Fedora 8 coreutils.rpm and now I have a beautiful "head" command in my usr/bin, and I've been able to install almost what I wanted.

Thanks a lot for your help. Anyway, I'll look for than new linpus to see if I can upgrade.

By the way, here is where I found the Fedora 8 repos in case anyone as outdated as I am needs them:http://dl.fedoraproject.org/pub/archive/

All I have to do now is to find out why Acrobat reader doesn't work although it tells me it is installed,but that is another issue...

PD: Linpus 1.7 is a 64 bit, and my processor is a 32 bit one, so I cannot upgrade. I think mine must be the old linpus 9, 32 bit and completely outdated now, but working perfectly for me (apart from the reader problem).
Thanks again for your help.

Last edited by jalvaro; 12-06-2012 at 05:29 PM.
 
  


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
setup command not found in Ubuntu 10.04 Command Prompt vinaytp Ubuntu 2 05-06-2010 02:10 PM
view parts of file by offset (how to use a command such as head -c to start later) doug23 Linux - General 6 08-20-2009 03:44 AM
Using Head command question caponewgp Linux - Newbie 2 08-12-2009 03:24 PM
Firefox on Slackware 10.2: '-remote' command fails on a dual-head system Gone Fishing Slackware 5 10-28-2006 03:57 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM


All times are GMT -5. The time now is 08:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration