Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am going thru docs but somethings aren't alwasys clear and I don't want to spend a week learing to use this app to finish setting up my video card. Thanks
Found short tutorial said 1st create .wgetrc in /home/user/dir
Q is: Do i copy .wgetrc from /etc/wgetrc and put in my home dir?
Also said put my username passwrd.... I don't normally need that to go online. In any case that info wld be my ISP User Info right?
I am going thru docs but somethings aren't alwasys clear and I don't want to spend a week learing to use this app to finish setting up my video card. Thanks
Found short tutorial said 1st create .wgetrc in /home/user/dir
Q is: Do i copy .wgetrc from /etc/wgetrc and put in my home dir?
Also said put my username passwrd.... I don't normally need that to go online. In any case that info wld be my ISP User Info right?
Whatever instructions you are reading, they're all wrong. You should never have to reveal your personal password or other info to use wget.
Here is a typical wget invocation to download a file:
Code:
$ wget -c (url)
The (url) should be a full path to a desired file that you see while browsing. I normally find a file I want, right-click the link and select ":copy link location" in Firefox, then paste that link into a shell session next to the wget name. Like this:
Code:
$ wget -c [paste URL here]
It's really, really simple. You don't need a configuration file. You don't need to enter a password or any of that stuff you've been reading.
One of many advantages of wget is that, if a download is interrupted for any reason, you can just restart it with the same URL and it will resume the previous download, rather than starting over.
Works for me 95% of the time. If I need to leech the entire content of a site, that's another story. And not a very common occurance on my dialup connection. wget is very usefull, since I can continue after a dial out, or just stop the download while I use the limited bandwidth for other tasks. And some servers just like to reset every 15 seconds, leaving you with only a partial download if you don't use wget.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
wget can use a configuration file, but it doesn't need one. I use wget like this:
wget<space>-r<space>--user-agent=<space>-k<space>-erobots=off l 1 http://<username>:<password>@domain.com
where -r is recursive, user-agent is browser type (I leave it blank), -k is convert links to local, -robots=off turns off observation of robots.txt and l is how many levels deep to recurse on the server. username and password are NOT your linux username and password. They are only used if you need to pass a username and password to the web site you are downloading from.
For instance, if you want to download tons of pictures from a pay site, you need to give your username and password for the pay site, or it won't allow wget access. If you put a url in a browser formatted with the username and password as above it will also work. The problem arises that the password is passed plain text.
wget also has options to use to supply username and password. I would just read the man page for wget, or use curl for fetching single files. wget builds an entire directory tree from the server. It's mainly for downloading multiple files. Curl works like:
curl <url> -O
will place the file in the working directory (where you launch curl from). Curl and wget are very similar.
I just want to download geforce6600 GT drivers and icewm from slackbuild... before starting up any gui, so i can get a clean video driver install to us in xorg.conf
I wld use lynks but it took me forever just to figure out how t toggle the options menu. lol
I got:
302 moved temporarily.
301 moved permanently
nvidia.com/content/404/nvidia.asp ??? Maybe because u have click download and then read and click I agree button to license?
Finally, curl worked but i had to su
and i had to get the ftp file name to the driver, then rmv ftp part and add www.
It took less than a minute. wld u beleive?
Thanks all
I just want to download geforce6600 GT drivers and icewm from slackbuild... before starting up any gui, so i can get a clean video driver install to us in xorg.conf
I wld use lynks but it took me forever just to figure out how t toggle the options menu. lol
You want a driver that exists specifically for your Linux distribution? Why don't you use your package manager? It's likely to be one of these:
Code:
# yum install (package name)
-- or --
Code:
# apt-get install (package name)
Using your package manager is a much better idea than trying to download and install a driver "by hand". One reason is the package manager automatically sorts out all the dependency issues.
I'm just trying to download NVIDIA-Linux-x86-185.18.36-pkg1.run without using a gui...
I thought I had succeeded but when i did the sh drivernave I got a text file saying that basically describing a shell of the pkg. I am so fed up this is wasting too much time.
I don't know how u guys get a download from the nvidia.com site all i get is a text copy of the link. Or other junk. At one point it looked like i was downloading the entire site. Had to ctrl cancel out.
Where did all that stuff go? hope i am not filling up hdd with junk.
You should be able to use the vesa driver and use a gui. Not that you want to, but it should be an option. It might help keep life simple. Noting how wireless access at the rest stop requires a gui web browser to load the intro page before it forwards you on to the internet. At which point you can exit X and carry on at the cli.
Thank you all for your effort, I feel really stupid. Just don't understand how downloading a stupid file cld be so hard. Something must be wrong it my setup. I am going to backup the wgetrc in /etc and copy the file to /home/user/... turnoff the passive ftp option. I may just windup making a cd copy from a different desktop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.