LinuxQuestions.org
Visit Jeremy's Blog.
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 03-10-2010, 06:02 AM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
wget file


I want to wget packages from the web , I know the command is wget ftp://....

but I wonder that how do I know the link ( ftp://... ) of the packages , is there any websit that I can check it .

for example , I want to download php4 package , then how can I know the download link of php4 ?

Thx
 
Old 03-10-2010, 06:06 AM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
What your distro? Normally not required to wget packages manually.
 
Old 03-10-2010, 06:19 AM   #3
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
You generally find the file via your browser and use wget. If you're not sure why you'd need to do this instead of just downloading via your browser, you probably don't need to.

May I ask why you want to wget php4? To say nothing of the fact we're on php5 now, you should be using your package manager to make it easier to do
 
Old 03-10-2010, 06:39 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Quote:
Originally Posted by elainelaw View Post
I want to wget packages from the web , I know the command is wget ftp://....

but I wonder that how do I know the link ( ftp://... ) of the packages , is there any websit that I can check it .

for example , I want to download php4 package , then how can I know the download link of php4 ?

Thx
It's generally a bad idea to manually install packages if your distro has a package manager.

Tell me what distro you use, I can figure out what package manager you have (if any).
 
Old 03-10-2010, 06:46 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Still Redhat ES 4 ?

'php4' → php-4.3.9 : This package is a default,
get it from the install DVD. Or ask Redhat.
You said ""I brought Redhat support service
( it includes software update )""
http://www.linuxquestions.org/questi...gram-794365/#7
.....
 
Old 03-10-2010, 08:25 AM   #6
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by MTK358 View Post
It's generally a bad idea to manually install packages if your distro has a package manager.

Tell me what distro you use, I can figure out what package manager you have (if any).
I use RHEL 4 , I don't see the package manager in it , can you help to suggest . thx
 
Old 03-10-2010, 08:27 AM   #7
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by knudfl View Post
Still Redhat ES 4 ?

'php4' → php-4.3.9 : This package is a default,
get it from the install DVD. Or ask Redhat.
You said ""I brought Redhat support service
( it includes software update )""
http://www.linuxquestions.org/questi...gram-794365/#7
.....

yes , RHEL 4 , not only php4 , I want to download many packages so I ask for advice ?

thx
 
Old 03-10-2010, 08:29 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I think RHEL uses the yum package manager.

Try this command as root:

Code:
yum install php
 
  


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
wget - how to download more than one file at once instead of file after file? De-M-oN Linux - Server 15 09-24-2010 06:35 PM
Use wget got wrong file. brave heart Linux - Newbie 21 04-09-2007 06:01 AM
how to specify the name of the wget output file datasink Linux - Networking 2 01-23-2007 08:39 PM
wGet is there a command for file size? SonoranFun Linux - Software 2 01-02-2006 04:56 PM
wget any version of a file? shishimo Linux - General 1 07-08-2004 02:37 PM


All times are GMT -5. The time now is 02:57 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