LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-13-2004, 12:14 AM   #1
velan
Member
 
Registered: Apr 2004
Posts: 89

Rep: Reputation: 15
how to apt-get from internet


How to install a package from internet via apt-get?
 
Old 05-13-2004, 12:20 AM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
simply edit your /etc/apt/sources.list and put the nearest ftp-mirror which carries the packages into it. see the apt-documentation for syntax. then enter dselect: update, select and finally install (set things to hold if you don't like to update everything).

sl mritch
 
Old 05-16-2004, 02:41 AM   #3
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Rep: Reputation: 30
You should have sources already in your /etc/apt/sources.list file. If you don't have that file, or if it's empty, let us know and we'll fill you in. Otherwise, just type apt-get install foo where foo is the name of the program you want. For instance:

apt-get install frozen-bubble
apt-get install nmap

etc..

If you're not sure if the package you want is there you can use apt-cache search to find it. For instance:

apt-cache search mozilla


Hope that helps!
 
Old 05-16-2004, 05:12 AM   #4
wrongman
Member
 
Registered: May 2004
Location: Italy
Distribution: Debian Unstable 64bit
Posts: 99

Rep: Reputation: 15
...and if you don't find what you search in the mirror you have in sources.list you can give a try to www.apt-get.org
 
Old 05-16-2004, 07:11 PM   #5
furball
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake 10, Xandros 2.0, Fedora Core 1, Debian/GNU 3.0
Posts: 16

Rep: Reputation: 0
I want to install xchat on my debian but for some reason it wont do it.
 
Old 05-16-2004, 10:22 PM   #6
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Try installing the .deb file, with the dpkg -i filename command.
 
Old 05-17-2004, 07:39 PM   #7
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
velan: after 56 posts you should know enough to go to debian.org and in Documentation read the APT HOWTO.
*****************************************************************
furball: you are not giving us any information, you already know the drill, as root:

#apt-get install xchat

in the future give more information, for example.

"i'm using Woody/Sarge, when i try to install xchat with apt-get, i get the following error:

cut and paste here the error

Capisci?
 
Old 05-25-2004, 01:46 AM   #8
muxman
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 203

Rep: Reputation: 32
To add servers to apt-get easily run:

apt-setup

This will start a setup program and give you a long list of source to install from.
 
Old 05-25-2004, 11:52 PM   #9
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
The quickie way for the virgin apt-get user

apt-setup (isn't necessary to do often)
apt-get update
apt-cache search package_name
apt-get install package_name

Last edited by darthtux; 05-25-2004 at 11:53 PM.
 
  


Reply



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
Linspire, Apt-get, No internet agari Linspire/Freespire 8 08-22-2005 09:02 AM
installing fluxbox without internet for apt-get juan18 Linux - Software 1 02-05-2005 10:59 AM
apt-get without internet connection g-string 3 Linux - Software 0 12-03-2004 04:51 AM
cannot connect to internet after apt-get upgrade coyote399 Linux - General 3 04-28-2004 05:22 AM
Knoppix: internet problems, apt-get Zen Arcade Linux - Newbie 6 06-01-2003 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:23 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
Open Source Consulting | Domain Registration