LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-19-2006, 08:41 AM   #1
commandline
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Rep: Reputation: 0
Download via Terminal


I just got hired into a job with 2 windows boxes and a redhat box. The redhat box is a proxy server. When i try to do an apt-get it says 'apt-get' is not found. So i need to download the repository, but i don't know how to download something with terminal. I can download it on the windows box just fine but i am not educated enough to do it on terminal.

Help?
 
Old 09-19-2006, 08:49 AM   #2
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Quote:
Originally Posted by commandline
I just got hired into a job with 2 windows boxes and a redhat box. The redhat box is a proxy server. When i try to do an apt-get it says 'apt-get' is not found. So i need to download the repository, but i don't know how to download something with terminal. I can download it on the windows box just fine but i am not educated enough to do it on terminal.

Help?
First, you can't apt-get in RedHat. That's only available in Debian and Debian based Distros such as Ubuntu and Mephis. You might be able to if you install Synaptic and apt4rpm. You should be able to. To download use this in terminal.

wget -c www.downloads.com/filetodownload

The -c lets you resume your download later if it fails by giving the same command in the same directory. Here is another useful option

wget -r www.linuxquestions.org

This should download the entire linuxquestions.org website. That may take a while. I have seen aget. It is supposed to be an accelerated downloader that runs in a terminal with less features than wget.

Last edited by fakie_flip; 09-19-2006 at 08:51 AM.
 
Old 09-19-2006, 10:44 AM   #3
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
wget is the simplest and easiest. You can also try browsing to it with a text browser such as links (http://links.sourceforge.net/) or lynx (http://lynx.browser.org/) or by using curl (which is similar to wget).
 
Old 09-20-2006, 07:40 AM   #4
commandline
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks guys, the wget worked awesome. Thanks again
 
  


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
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 02:45 PM
How to launch an app in terminal, & keep it running after I close terminal? kornerr Linux - General 7 06-24-2006 05:54 PM
how to download from terminal ty263 Red Hat 2 09-28-2004 10:44 PM
download resource from terminal ty263 Red Hat 2 09-28-2004 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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