LinuxQuestions.org
Help answer threads with 0 replies.
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 10-24-2003, 03:29 PM   #1
odin123
Member
 
Registered: May 2002
Location: Lebanon
Distribution: PCLinuxOS
Posts: 80

Rep: Reputation: 15
Installed Software in Slackware 9.1 and disabling network service


Hi all!

I'm rather new to Linux, and I just moved, after a couple of months with RH9, to Slackware 9.1.

I'm quite happy with it: much faster, simpler yet full, nothing to complain about! I think I'll stick to it and remove RH9 from my desktop (this one is on the laptop).

A question, though: I have installed a few things (LyX 1.3.3, xforms, xpm) from source (./configure, ./make, ./make install) and, to my surprise, they were automatically installed on the root folder (so now I have /lyx-1.3.3, /xforms, etc.). Is this normal? Under RH9 they were tucked somewhere else.

Another question: How do I temporarily disable the network service at startup (slowing things down) and avoid the quite long "broadcasting DHCP - Discover" process? I tried pkgtool/netconfig but I still get it.

Thanks a lot!

odin
 
Old 10-24-2003, 03:55 PM   #2
Randy
LQ Newbie
 
Registered: Jun 2001
Distribution: Redhat
Posts: 18

Rep: Reputation: 0
I think a Slackware package normally will install packages in the root folder, but most Slackware packages also have a script that runs at the conclusion of the install process that places all the files inside the new directory to where you would normally store them (man pages are sent to manpage directories, binaries to bin directories, etc.) Usually the temporary package stored in / is removed during this process. You can specify the directory you want it installed to by using the -root flag. You'd probably want to do something like:

installpkg - root /opt foo.tgz

or something similar.

Networking is controlled by the /etc/rc.d/rc.inet1 and /etc/rc.d/rc.inet2 files. Comment out the services you want disabled and then restart.
 
Old 10-24-2003, 04:06 PM   #3
odin123
Member
 
Registered: May 2002
Location: Lebanon
Distribution: PCLinuxOS
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks, Randy,

Will keep in mind the root flag next time I do an install.

Checked the LyX folder and it seems that, other than the one I have in / (35 Mb), there's another one in /usr/share (11.5 Mb).

I'll try to rename the / one to something else and see if LyX runs. If it does, then I'll safely delete it.

What do you think?
 
Old 10-24-2003, 04:11 PM   #4
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
Re: Installed Software in Slackware 9.1 and disabling network service

Quote:
Originally posted by odin123
Hi all!

I'm rather new to Linux, and I just moved, after a couple of months with RH9, to Slackware 9.1.

I'm quite happy with it: much faster, simpler yet full, nothing to complain about! I think I'll stick to it and remove RH9 from my desktop (this one is on the laptop).

A question, though: I have installed a few things (LyX 1.3.3, xforms, xpm) from source (./configure, ./make, ./make install) and, to my surprise, they were automatically installed on the root folder (so now I have /lyx-1.3.3, /xforms, etc.). Is this normal? Under RH9 they were tucked somewhere else.
Did you install Lyx on Radhat as an rpm or from source as well? I ask this because it sounds like a not so nice Makefile that doesn't use the standard folders to install to. As you installed from source this problem definately does NOT relate to Slackware Packages.

Quote:
Originally posted by odin123
Another question: How do I temporarily disable the network service at startup (slowing things down) and avoid the quite long "broadcasting DHCP - Discover" process? I tried pkgtool/netconfig but I still get it.
If the DHCP timeout is too long then try to change the -t parameter in
"/etc/rc.d/rc.inet1"

If you want to disable the startup of the network init scripts go into /etc/rc.d/rc.M and comment the lines where it starts rc.inet1 and rc.inet2 and run them manually if necessary.

You can however try to code a little script into that which asks you on startup whether to run it or not
 
Old 10-24-2003, 04:15 PM   #5
Randy
LQ Newbie
 
Registered: Jun 2001
Distribution: Redhat
Posts: 18

Rep: Reputation: 0
Quote:
Originally posted by odin123
Thanks, Randy,

Will keep in mind the root flag next time I do an install.

Checked the LyX folder and it seems that, other than the one I have in / (35 Mb), there's another one in /usr/share (11.5 Mb).

I'll try to rename the / one to something else and see if LyX runs. If it does, then I'll safely delete it.

What do you think?
This recently happened to me as well. I think I got a non-Slack package and used the rpm2tgz utility on it and just did an install and it installed a package that i already had I think. This was confusing since it looked like I had two versions of Apache in different locations. use pkgtool to browse the pacckages already installed. If you just want to update them, downloading swaret I found was a big help.
 
Old 10-25-2003, 01:24 AM   #6
odin123
Member
 
Registered: May 2002
Location: Lebanon
Distribution: PCLinuxOS
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks guys,

Randy, The /lyx folder does nothing, it seems it was created temporarily and Slackware or the lyx source package forgot to remove it. I renamed the whole folder and I'm still using lyx normally, so I assume it's using the /usr/share setup.

Misel, the lyx package comes from the lyx people and it's a "genuine" .tar.gz file which I extracted "as is" and did the ./configure etc. on. Thanks for the network tip!

By the way, another funny thing happens with me in Slack: if I run some program from the console, like lyx, and close it, I get a console message saying "Mutex destroy failure: Device or resource busy." If I click on the program's icon, however, all is fine, no Mutex messages. Any suggestions? I checked the forum but all I got is incomprehensible guru-like answers.

By the way, I'm falling in love with Slack 9.1, and I think it's WAY SUPERIOR to RH9 and not at all as difficult as some say. I'm thinking of subscribing next time to show support rather than download from the net. Thumbs up!
 
  


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
pc/tcp network software is not installed. matarodi Linux - Software 1 08-23-2005 12:48 AM
network disabling on boot siku Linux - Laptop and Netbook 1 11-22-2004 10:38 AM
which service pack is installed? mbhenry Linux - Software 0 11-26-2003 12:55 PM
Disabling 'frame-buffer' on Slackware 9.1 ?? GloVe Linux - General 5 10-12-2003 10:58 PM
disabling SSH in Slackware 8.1 (the rc.M script maybe?) akshunj Slackware 2 10-30-2002 12:01 PM

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

All times are GMT -5. The time now is 05:26 AM.

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