LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-27-2004, 03:38 PM   #1
disinformation
Member
 
Registered: Sep 2003
Location: Wakefield, UK
Distribution: Slackware, Debian
Posts: 38

Rep: Reputation: 15
removing apache


This is probably a bit of a daft question, im currently giving slackware 9.1 a go.

I rushed the install and just went for the intall everything button.

I want to remove the apache server and the mysql server, so i can install newer versions, with php support and such.

Now im used to the training wheels mandrake offers and because it installs apache from rpm i would just do

rpm -e apache

rpm -e other_apache_stuff

So what do i do in slackware??

Do i just delete the files, download compile and install my new version? I promise i will get into in in more depth when i have time, but a pointer would be nice for the time being/



TIA
 
Old 01-27-2004, 04:26 PM   #2
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
You might visit www.slackware.com and read the FAQs. They have good information on installing and removing softeware as well as other information that will make slacking much easier.

Try

#removepkg <insert name of program/package to remove>

Netizen
 
Old 01-27-2004, 04:38 PM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Get the slackware packages from one of the mirrored sites listed from slackware.com or go to www.linuxpackages.net to get the latest ones.

Then instead of removing the packages and then reinstalling, you can do something like this:

Download the packages and place them in /var/log/packages

This is where Slackware keeps the listing of all the slack packages installed.

Say you got apache installed, version 1.3.27 that came with your version, you would do something like this to upgrade:

# upgradepkg apache-1.3.27-i386-1%apache-1.3.29-i486-2.tgz

Or something along those lines. Its basically in this format:

# command [old-installed-package-name]%[new-package-name.tgz]

If that's too daunting, just a simple:

removepkg [package-name]
installpkg [package-name]

But this only works with slackware tgz files.

You can also look into using www.swaret.org
 
Old 01-27-2004, 04:45 PM   #4
disinformation
Member
 
Registered: Sep 2003
Location: Wakefield, UK
Distribution: Slackware, Debian
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks for the reply
 
Old 01-27-2004, 04:49 PM   #5
disinformation
Member
 
Registered: Sep 2003
Location: Wakefield, UK
Distribution: Slackware, Debian
Posts: 38

Original Poster
Rep: Reputation: 15
Trickykid : Thanks for the cool reply, I was just looking for a pointer before i started reading the manuals.

Thanks very Much
 
Old 01-27-2004, 05:19 PM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally posted by disinformation
Trickykid : Thanks for the cool reply, I was just looking for a pointer before i started reading the manuals.

Thanks very Much
The manuals are always good too...

Glad I could be of help.

Cheers and happy slacking.
 
Old 01-27-2004, 07:17 PM   #7
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Swaret is a useful tool, as well.
 
Old 01-28-2004, 09:09 AM   #8
mcleprechaun
Member
 
Registered: Oct 2003
Location: Missouri
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
su to root then type "pkgtool" without the quotes and you will have a nice menu for adding or removing packages.
 
Old 01-28-2004, 09:22 AM   #9
disinformation
Member
 
Registered: Sep 2003
Location: Wakefield, UK
Distribution: Slackware, Debian
Posts: 38

Original Poster
Rep: Reputation: 15
thanks for all the responses, from my initial view slack looks great - just the type of dist ive been looking for.

Its given me both heightend and dimished respect for mandrake in the sense that mandrake gives great "training wheels" but somewhat subtracts frrom the linux experience
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
removing old version of apache? dt4stat Linux - Newbie 2 03-19-2005 12:31 PM
Removing Apache 2 from Redhat 9 Jonpittam Linux - Newbie 3 12-01-2004 10:30 AM
Removing/Uninstallin Apache 1.3 Spyiish Slackware 1 11-04-2004 08:31 AM
Removing apache 1.3.19 after upgrade GabeF Linux - Networking 9 10-14-2002 07:52 PM
Removing apache rpm and install apache from source john lee Linux - Software 2 11-15-2001 08:44 PM


All times are GMT -5. The time now is 03:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration