Debian This forum is for the discussion of Debian Linux.
|
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.
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.
|
|
08-18-2003, 03:02 AM
|
#1
|
Member
Registered: Mar 2003
Location: canada
Distribution: slackware 9.0 knoppix
Posts: 81
Rep:
|
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
|
|
|
08-18-2003, 03:09 AM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
Last edited by leonscape; 08-18-2003 at 03:15 AM.
|
|
|
08-18-2003, 04:26 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Rep:
|
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".
|
|
|
08-18-2003, 08:03 AM
|
#4
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
For a simple approach to the process apt-get install synaptic. It provides a nice gui for apt.
|
|
|
08-18-2003, 11:01 AM
|
#5
|
Member
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321
Rep:
|
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.
|
|
|
08-18-2003, 11:48 AM
|
#6
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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.
|
|
|
08-18-2003, 12:38 PM
|
#7
|
Member
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569
Rep:
|
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.
|
|
|
08-20-2003, 06:18 AM
|
#8
|
Member
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 10:15 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
|
|