Operating System - Linux
1822080 Members
3525 Online
109640 Solutions
New Discussion юеВ

Re: Need to Install mySQL on Sarge

 
SOLVED
Go to solution
Jay Bollyn
Honored Contributor

Need to Install mySQL on Sarge

I need to install this package, but I do not know the syntax. Do I run apt-get?

Need step-by-step instructions, please.

Don't assume I know anything about linux, which is quite close to the truth.

TIA - J.

nat-12-157:/home/jbollyn/Desktop/mysql-standard-5.0.27-linux-i686# ls -la
total 100
drwxr-xr-x 14 503 users 4096 2006-10-21 03:23 .
drwxr-xr-x 3 jbollyn jbollyn 4096 2007-02-21 03:10 ..
drwxr-xr-x 2 503 users 4096 2006-10-21 03:23 bin
-rwxr-xr-x 1 503 users 801 2006-10-21 03:23 configure
-rw-r--r-- 1 503 users 19071 2006-10-20 19:22 COPYING
drwxr-x--- 4 503 users 4096 2006-10-21 03:23 data
drwxr-xr-x 2 503 users 4096 2006-10-21 03:23 docs
-rw-r--r-- 1 503 users 5806 2006-10-21 03:18 EXCEPTIONS-CLIENT
drwxr-xr-x 2 503 users 4096 2006-10-21 03:23 include
-rw-r--r-- 1 503 users 7752 2006-10-21 03:18 INSTALL-BINARY
drwxr-xr-x 2 503 users 4096 2006-10-21 03:23 lib
drwxr-xr-x 4 503 users 4096 2006-10-21 03:23 man
drwxr-xr-x 7 503 users 4096 2006-10-21 03:23 mysql-test
-rw-r--r-- 1 503 users 1380 2006-10-20 19:22 README
drwxr-xr-x 2 503 users 4096 2006-10-21 03:23 scripts
drwxr-xr-x 3 503 users 4096 2006-10-21 03:23 share
drwxr-xr-x 5 503 users 4096 2006-10-21 03:23 sql-bench
drwxr-xr-x 2 503 users 4096 2006-10-21 03:23 support-files
drwxr-xr-x 2 503 users 4096 2006-10-21 03:23 tests
check Facebook
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: Need to Install mySQL on Sarge

Shalom Jay,

First step.

man apt-get

Its a great tool but I don't know how to use it either.

Here are some docs to help.

man page
http://www.die.net/doc/linux/man/man8/apt-get.8.html

http://people.debian.org/~csmall/ipv6/setup.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jay Bollyn
Honored Contributor

Re: Need to Install mySQL on Sarge

My understanding is, I would go to whatever directory has the installation executable I need, and enter something like:

apt-get install XXXXXX

...but I don't know what XXXXXX should be.

Or perhaps I don't use apt-get at all. Or I need to tweak it before I run it.

(In windows, I am accustomed to just going to the root folder of the source files, and running setup.exe from a command prompt.)

J.
check Facebook
Jay Bollyn
Honored Contributor

Re: Need to Install mySQL on Sarge

I thought this would be a pretty simple question.

Is it because so few forum regulars are running Debian?

J.
check Facebook
Heironimus
Honored Contributor
Solution

Re: Need to Install mySQL on Sarge

That looks like a binary installer downloaded from the MySQL web site. I would suggest starting with the instructions they provide on using their binary releases (perhaps that "INSTALL-BINARY" file, or the "README"), which were pretty step-by-step from what I remember. Most Debian people probably use the MySQL packages Debian provides.

You'd use apt-get if you wanted the Debian-supplied MySQL packages. I don't think they have 5.0 in Sarge, only 3 and 4. If you want to go that route instead you should head over to http://packages.debian.org/ and search on mysql to find the exact package name, it's mysql-server or something similar.
Jay Bollyn
Honored Contributor

Re: Need to Install mySQL on Sarge

H,

If you reply, my points assignment at that time will give you your Pro's cap. It was a cheap thrill when I got mine.

Between your reply and SEPs, I should be able to have this thing working tomorrow.

J.
check Facebook
Maarten Verwijs
Advisor

Re: Need to Install mySQL on Sarge

OMG. I'm actually shocked that so few people out here know the answer to this question.

Short:
1. apt-get update
2. apt-get install mysql-server-4.1

Short 2:
1. add this line to /etc/apt/sources.list :
deb http://backports.org/debian sarge-backports main contrib non-free
2. apt-get update
3. apt-get install -t sarge-backports mysql-server-5.0

Long:
What you appear to be doing is compiling MySQL from source-code. This is *not* needed.

Debian.org (a group of 1500 volunteers around the globe) has done this job for you. The compiled source-code is put in a file called 'a package'.

The package ends with the extention .deb.

All precompiled packages are available on the internet. The way to get them is through the programme 'apt-get'.

This will fetch the list of packages available on the internet:
apt-get update

This will install a package:
apt-get install vim

This will remove a package:
apt-get remove emacs

This will search for a package:
apt-cache search text editor

For any questions about debian, you'd do well to join the mailinglists (lists.debian.org), or forum.debian.net.

Oh, and welcome to the Debian Community!

Kindest regards

Maarten
Sheriff Andy
Trusted Contributor

Re: Need to Install mySQL on Sarge

Jay,

As mentioned, you do the apt-get install xxxx

If you go to the following site, you will see a list of different packages.

http://www.debian.org/distrib/packages

Once I see what package I need, I run the apt-get install xxxx.

Nice thing about the apt-get is that it will install the dependencies as well.
Jay Bollyn
Honored Contributor

Re: Need to Install mySQL on Sarge

hey, look who got a new Pro's cap!
check Facebook
Jay Bollyn
Honored Contributor

Re: Need to Install mySQL on Sarge

thanks guys - J.
check Facebook