LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-20-2015, 11:52 PM   #1
dnpiyush
LQ Newbie
 
Registered: Jan 2015
Posts: 4

Rep: Reputation: Disabled
Problem in installing the software using the command line


Hi all,
i am new to linux, i am using Centos 6. There is some problem in the network settings as i am able to browse internet from a browser but when i am trying to use the terminal (using ping command) for any of the website (say www.google.com) nothing is happening. suppose i want to install some software (like hdf5), when i am using "sudo yum install hdf5" it shows large number of error massages like "error could not connect to the host". It would be a great help if someone provide the solution.
Thanks in advance.

Durgesh
 
Old 01-21-2015, 11:44 AM   #2
Rubian
Member
 
Registered: Dec 2013
Distribution: Arch Linux
Posts: 116

Rep: Reputation: 18
https://www.centos.org/forums/viewto...22194&start=10
Seems like a lot of people are having the same problem. Hopefully this helps you.
 
Old 01-21-2015, 12:41 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
are you behind a router on a LAN ?
if so you have to configure yum to use it

as to pinging google

it is very easy to use the wrong command
please post the command you are using


CentOS BY DEFAULT DOSE NOT USE "sudo"
You have to manually set it up if you understand the security RISKS and except them

Cent uses "su" and "su -" BY DEFAULT

also it is always a good idea to SEARCH the yum repos for the CORRECT NAME
Code:
su -
###### type in the root password when asked for #######
yum search hdf5

#### then from the list ####

yum install hdf5-devel hdf5
but do you also need the "openmpi" one ?

Last edited by John VV; 01-21-2015 at 12:46 PM.
 
Old 01-21-2015, 11:29 PM   #4
dnpiyush
LQ Newbie
 
Registered: Jan 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks John and Rubian.Now yum is working fine i have installed all the software which are required. There is one more issue which i am facing, actually i am on a proxy server and don't know why i am not able to download the data from ftp sites. The same site is opening in the browser but when i am trying to use terminal for ftp noting happens (ftp: connect: Connection refused).
 
  


Reply



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
command line v Software centre install riscxman Linux - Newbie 4 09-02-2012 04:06 PM
Command Line / Simple UI Testing Software cmnorton Linux - Software 1 06-18-2008 09:52 AM
Software installation from command line czamora Linux - Software 13 05-28-2006 07:01 PM
How do I install software trough the command line ??? ivancauso Linux - Newbie 12 08-16-2005 10:59 PM
command line software install sog777 Mandriva 5 05-16-2005 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:13 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
Open Source Consulting | Domain Registration