LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-18-2003, 02:02 AM   #1
monkeymartin
Member
 
Registered: Mar 2003
Location: canada
Distribution: slackware 9.0 knoppix
Posts: 81

Rep: Reputation: 15
Apt howto installing software for debian


i would like to find information on apt, apt-get, apt install, wget etc

all the commands that a person would use to deal with software

any wed pages would be great
 
Old 08-18-2003, 02:09 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Go to the source

http://www.debian.org/doc/manuals/ap.../index.en.html

This covers most things

Last edited by leonscape; 08-18-2003 at 02:15 AM.
 
Old 08-18-2003, 03:26 AM   #3
Gieltje
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
apt-get install * (name of the software)
apt-get remove *
apt-cache search *
apt-get update (updates the sofware list from the server)
apt-cache upgrade (upgrades everything)
I suggest that you set the software from the servers to unstable, I never had any problems with them as "unstable".
 
Old 08-18-2003, 07:03 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
For a simple approach to the process apt-get install synaptic. It provides a nice gui for apt.
 
Old 08-18-2003, 10:01 AM   #5
LSD
Member
 
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321

Rep: Reputation: 31
Quote:
Originally posted by Gieltje
apt-get install * (name of the software)
apt-get remove *
apt-cache search *
apt-get update (updates the sofware list from the server)
apt-cache upgrade (upgrades everything)
OK, how do I uninstall something but ignoring any dependencies? I'm trying to excise inetd (and replace it with xinetd) from my machine but don't want to remove the half-dozen packages that are dependent on it (and should work just as easily as with xinetd as they did with inetd).

Quote:
I suggest that you set the software from the servers to unstable, I never had any problems with them as "unstable".
That's the only way to run Debian really. I swear some of the packages in "Stable" are so old the Debian developers had to go to archeological sites in order to find them.
 
Old 08-18-2003, 10:48 AM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Well I think its possible, but.....

The thing is these programs are linked with inetd and even with xinetd installed they probably wouldn't use it anyway.

Dependency on inetd for basic networking is quite universal, as they know that it will probably be available, where xinetd might not.

Just because its available doesn't mean the program would be used. Thats what dpendancy checks are all about.

Also this may destroy your SYSTEM!!!!!! as somethings may go down as a side effect.

YOU HAVE BEEN WARNED!!!!

go into your conf file for apt and add

RPM
{
Fake-Provides {"inetd version";};
}

Replace version with your version of inetd, then remove it.

You may have to remove inetd first and its dependancies. then reinstall them after adding the above. Remember by default apt-get leaves all configuration files as they are, and won't remove them.

But as I said they probably won't work as they will still be looking for inetd.
 
Old 08-18-2003, 11:38 AM   #7
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Or you can just have inetd installed and not run anything and then install xinetd alongside it (it's available in Deb), actually running the things you want. I don't see any problems with this setup, but I do see a lot of problems with circumventing the dependency system.
 
Old 08-20-2003, 05:18 AM   #8
LSD
Member
 
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321

Rep: Reputation: 31
I ended up using update-rc.d (is there a better tool for this? Something more like Red Hat's ntsysv?) to disable inetd and install xinetd as the default Internet superserver. It was either that, or reformat it and install Slackware on it again. I'm still considering that as I've since learned of a tool that gives Slack Debian/Gentoo style package management but I'd have to hook floppy and CD drives back up to it againif I wanted to do that and I don't know if I can really be bothered. I swear, Debian's almost as bad as Red Hat when it comes to annoying dependency issues...
 
  


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
Re-installing software after apt-get install failure mks21471 Linux - Newbie 1 11-09-2005 08:11 AM
Error installing software with apt-get wimdeg Debian 7 03-27-2005 11:43 PM
Installing latest Mozilla in Debian thru apt-get bureado Linux - Software 1 12-08-2003 01:09 PM
installing mplayer and skins on debian woody | howto macewan Linux - Software 2 03-04-2003 06:36 AM
installing apache on debian, apt-get error omac Linux - Newbie 4 01-27-2002 01:15 AM

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

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