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 09-30-2008, 12:15 PM   #1
vineet7kumar
Member
 
Registered: Aug 2005
Posts: 75

Rep: Reputation: 15
how to download from ftp mirrors?


HI,
Sorry if this seems stupid.
I want to know,in Linux, how to download a directory (for eg. source code of some app)from ftp mirrors? I had the difficulty downloading KDE source.

Thnaks and Regards,
Vineet
 
Old 09-30-2008, 12:18 PM   #2
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 31
Well, the absolute easiest way is to use your file manager or firefox. You can type in the ftp url in a linux file manager or firefox and it should display the contents of that ftp site directory.
 
Old 09-30-2008, 05:05 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
If you have the complete url with the file name included, you can download it with wget or curl from command line as well.

Code:
wget http://www.somesite.org/somefile.tar.bz2
Or even

Code:
wget ftp://somesite.org/somefile.tar.bz2
Read the wget man page for more options.

As someone said above, you can as well download it from your browser. If you need more info, provide us more info as well and links illustrating what do you exactly want to do.
 
Old 09-30-2008, 10:33 PM   #4
linuxer8786
Member
 
Registered: Sep 2008
Posts: 43

Rep: Reputation: 15
what distro linux you are using?

Last edited by Tinkster; 10-30-2010 at 03:42 PM.
 
Old 10-01-2008, 12:20 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 11,278
Blog Entries: 3

Rep: Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446
Hi,

You can use 'wget' as suggested. You can always copy and paste the link of the file onto the cli from the browser. Or you could just use the copy link option then use the right mouse button to paste onto the cli. Be sure to type 'wget' or the 'ftp' line and paste after that.

You should 'man wget' or 'man ftp' to get more information for the desired command.
 
Old 10-01-2008, 12:57 AM   #6
Caighil
LQ Newbie
 
Registered: Feb 2008
Posts: 22

Rep: Reputation: 15
Cool Ftp

I use the wget method from a terminal. If you are in init 5 you can always copy the link location (make sure to copy the file and not the webpage) and paste it after the the command wget. You may need to be root though. GL

Kyle
 
Old 10-01-2008, 07:18 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Be root to download a file? That's almost sacrilege. You shouldn't be using root for anything that's not an administrative task. Downloading files certainly isn't.

You can download as many files as you wish (always into your home directory) as regular user.
 
Old 10-01-2008, 10:05 AM   #8
Caighil
LQ Newbie
 
Registered: Feb 2008
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
Be root to download a file? That's almost sacrilege. You shouldn't be using root for anything that's not an administrative task. Downloading files certainly isn't.

You can download as many files as you wish (always into your home directory) as regular user.
A thousand apologies. I know your right. There are some times depending on what your installing that you may need to be root no? Such as compiling a LAMP server, or installing AMANDA? This may be a total misconception on my part though,and if I am wrong, it will be a lesson well learned.
 
Old 10-01-2008, 07:35 PM   #9
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
If at any stage during an install, you need to be root, the README or equiv will (should!) let you know.
 
Old 10-01-2008, 11:24 PM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Well, during installation you are going to be root all the time because there's no other user. I didn't know we were talking about that concrete case.
 
Old 10-02-2008, 01:05 AM   #11
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
Sorry, i meant installing an app, not the orig OS install
 
Old 10-02-2008, 09:41 AM   #12
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 241

Rep: Reputation: 45
For the KDE source code, I recommend anonymous SVN. link
 
Old 10-02-2008, 05:44 PM   #13
jgallo
Member
 
Registered: Sep 2008
Posts: 39

Rep: Reputation: 15
SHOULD, being the operative word there
hehe

Last edited by Tinkster; 10-30-2010 at 03:58 PM.
 
Old 10-02-2008, 06:21 PM   #14
loperz7
Member
 
Registered: Sep 2008
Posts: 53

Rep: Reputation: 15
gftp.
your browser of choice.
download manager of choice.

And since you sound like a beginner I guess you want to install software - there are packages in the sites of some distros and there are package managers (like Synaptic) that make installing a software easy with a nice modern graphical interface (linux software evolution is: textual, DOS like graphics, modern graphics).
-apt is textual, there was another one I forgot the name of which has DOS like looks, and Synaptic.
there is also Gnome-apt but it's for gnome...so just download synaptic.

Debian

Last edited by loperz7; 10-10-2008 at 05:25 AM.
 
  


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
apt-get download simultaneously from mirrors? Dankles Debian 3 02-13-2006 03:37 PM
FTP server mirrors kiekar Linux - Newbie 0 12-13-2004 09:18 AM
Mirrors for new Novell Desktop download? dhave Suse/Novell 1 11-08-2004 07:08 PM
cannot download host-app driver - Any available mirrors? kkempter Fedora 0 06-15-2004 11:38 AM
mirrors where one one download PHLAK? studpenguin Linux - Security 3 04-11-2004 06:47 AM


All times are GMT -5. The time now is 07:54 PM.

Main Menu
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