Re: Debian 3.1: PHP install strategies
- From: Darren Salt <news@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 20 Aug 2006 13:40:46 +0100
I demand that Gordon Henderson may or may not have written...
In article <1155809431.227213.219170@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,[snip]
<bruce_phipps@xxxxxxxxxxx> wrote:
PS: apt-get just looks on my CD drive -- I can't figure out how to edit
the apt-get config file to change this.
Edit /etc/apt/sources.list
I have the following in mine:
deb http://www.debian-multimedia.org stable main
deb http://debian.blueyonder.co.uk/ stable main non-free contrib
deb http://security.debian.org/ stable/updates main contrib non-free
You *should* also have this line, mainly to cope with release updates:
deb http://ftp.uk.debian.org/debian stable main contrib non-free
apt-get update
and you might as well run
apt-get upgrade
to get all the latest securty upgrades at the same time.
Then use something like dselect or the newer aptitude to select packages.
This will work out and resolve the dependancies for you.
It would be better to check whether aptitude is already installed:
$ which aptitude
If not (no output):
# apt-get update; apt-get install aptitude
With aptitude installed, you can use
# aptitude update
Then
# aptitude upgrade
Or if you'd rather use aptitude's UI:
# aptitude
Press 'u' to start an update; or press 'g' for a list of upgradable packages,
then again to start the upgrade. 'q' to close the current view (and the whole
program if that was the only one). '?' for help.
From a personal point of view, I tend to use Debian just to get a basic
installation going, then I download and install packages like apache, php,
mysql directly from the original web sites to get things installed the way
I want them, [...]
First, copy a few 'deb' lines, replacing 'deb' with 'deb-src', then
# aptitude update
$ apt-get source $PACKAGE
$ sudo apt-get build-dep $PACKAGE # should really be done by aptitude :-|
$ cd $PACKAGE-$VERSION
... hack away, possibly modify debian/changelog ...
$ debuild
$ sudo dpkg -i ../$PACKAGE_$VERSION_$ARCH.deb
--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Lobby friends, family, business, government. WE'RE KILLING THE PLANET.
I'd like to, but I have too much guilt.
.
- References:
- Debian 3.1: PHP install strategies
- From: bruce_phipps
- Re: Debian 3.1: PHP install strategies
- From: MJ Ray
- Re: Debian 3.1: PHP install strategies
- From: bruce_phipps
- Re: Debian 3.1: PHP install strategies
- From: Gordon Henderson
- Debian 3.1: PHP install strategies
- Prev by Date: Re: Working around a stupid Konqueror bug: any ideas? (CSS?)
- Next by Date: Re: Upgrade Problem
- Previous by thread: Re: Debian 3.1: PHP install strategies
- Next by thread: Cups pauses after app. 6 jobs
- Index(es):
Relevant Pages
|
|