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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-30-2008, 12:15 PM
|
#1
|
|
Member
Registered: Aug 2005
Posts: 75
Rep:
|
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
|
|
|
|
09-30-2008, 12:18 PM
|
#2
|
|
Member
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Rep:
|
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.
|
|
|
|
09-30-2008, 05:05 PM
|
#3
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
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.
|
|
|
|
09-30-2008, 10:33 PM
|
#4
|
|
Member
Registered: Sep 2008
Posts: 43
Rep:
|
what distro linux you are using?
Last edited by Tinkster; 10-30-2010 at 03:42 PM.
|
|
|
|
10-01-2008, 12:20 AM
|
#5
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 10,346
|
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.
|
|
|
|
10-01-2008, 12:57 AM
|
#6
|
|
LQ Newbie
Registered: Feb 2008
Posts: 22
Rep:
|
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
|
|
|
|
10-01-2008, 07:18 AM
|
#7
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
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.
|
|
|
|
10-01-2008, 10:05 AM
|
#8
|
|
LQ Newbie
Registered: Feb 2008
Posts: 22
Rep:
|
Quote:
Originally Posted by i92guboj
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.
|
|
|
|
10-01-2008, 07:35 PM
|
#9
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,988
|
If at any stage during an install, you need to be root, the README or equiv will (should!) let you know.
|
|
|
|
10-01-2008, 11:24 PM
|
#10
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
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.
|
|
|
|
10-02-2008, 01:05 AM
|
#11
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,988
|
Sorry, i meant installing an app, not the orig OS install

|
|
|
|
10-02-2008, 09:41 AM
|
#12
|
|
Member
Registered: Feb 2006
Distribution: Debian Sid
Posts: 217
Rep:
|
For the KDE source code, I recommend anonymous SVN. link
|
|
|
|
10-02-2008, 05:44 PM
|
#13
|
|
Member
Registered: Sep 2008
Posts: 39
Rep:
|
SHOULD, being the operative word there 
hehe
Last edited by Tinkster; 10-30-2010 at 03:58 PM.
|
|
|
|
10-02-2008, 06:21 PM
|
#14
|
|
Member
Registered: Sep 2008
Posts: 54
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:40 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|