LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-12-2004, 02:05 AM   #1
Skunk_Face
Member
 
Registered: Jan 2004
Posts: 54

Rep: Reputation: 15
upgrading of packages in slack


1.can someone tell me how to upgrade packages in slackware. I've been using redhat and fedora for some time now and have got used to the ease of using up2date and apt-rpm. Is there a utility out that performs the same thing but ported to slack?? I've googled and so far all i get is pkgtool but thats like having to upgrade each pkg one at a time (not that i remember all the packages thats installed)

2. in redhat i usually place bash scripts of applications that i want running on startup in my /etc/rc.d/init.d or /etc/init folders. then i'll chkconfig --add <app> and chkconfig --level 2345 <app> on
how is the same thing achieved in slackware?

sorry if i sound too much of a n00b here
 
Old 02-12-2004, 02:31 AM   #2
S_Warlock
Registered User
 
Registered: Feb 2004
Location: Sweden Södertälje
Distribution: Archlinux, crux and gentoo
Posts: 32

Rep: Reputation: 15
OK

go to the website http://www.swaret.org download the sabel version of swaret.
Install the the pack. Then tape swaret --update && swaret --upgrade in your console .

/ Teo
 
Old 02-12-2004, 05:02 AM   #3
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
Slackware is using .tgz packed packages wich you can install/uninstall/upgrade with the following installpkg/removepkg/upgradepkg.

1. installpkg is like: installpkg <package.tgz> or installpkg * wich installs all the .tgz packages in the current dir you are in at the moment.
2. removepkg is like installpkg on you use removepkg command to remove packages.
3. upgradepkg just like the other 2

Hope it helps, and it is the answer to your question ( it will be if I understood your question well :P ). Cheers.
 
Old 02-12-2004, 07:04 AM   #4
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
2. Add any programs you want to start to /etc/rc.d/rc.local. X programs however will need to be started a different way. Under KDE you can place a link to the program under .kde/AutoStart (correct me if this is the wrong place). With GNOME add the program to sessions startup programs by Applications/Desktop Preferences/Advanced/Sessions. Then the last tab has an area to add startup programs to. For other WM/DE I'm sure there are ways.
 
Old 02-12-2004, 08:52 AM   #5
adamjaskie
Member
 
Registered: Feb 2004
Posts: 32

Rep: Reputation: 15
You can add stuff to your .xinitrc as well.
 
Old 02-12-2004, 07:11 PM   #6
Skunk_Face
Member
 
Registered: Jan 2004
Posts: 54

Original Poster
Rep: Reputation: 15
yess ...swaret was exactly what i was looking for ..thanks a bunch guys

man i love this site....sure beats looking for help in chat rooms!!

oh and just another thing ...if i have a bash script to run a set of iptables rules and i put it under /etc/rc.d/rc.local ...on reboot of pc, will the script run before starting up all network interfaces?
 
Old 02-19-2004, 01:00 PM   #7
TKS
Member
 
Registered: Dec 2003
Location: NC, USA
Distribution: Slackware, VectorLinux, Smoothwall, and PCLinuxOS
Posts: 40

Rep: Reputation: 15
Quote:
Originally posted by Skunk_Face
yess ...swaret was exactly what i was looking for ..thanks a bunch guys

man i love this site....sure beats looking for help in chat rooms!!

oh and just another thing ...if i have a bash script to run a set of iptables rules and i put it under /etc/rc.d/rc.local ...on reboot of pc, will the script run before starting up all network interfaces?
There should be a /etc/rc.d/rc.firewall file...you can add your stuff there. I like to keep my stuff separate so I put my firewall rules in there instead of in rc.local. If it's in rc.local it won't run before eth0 and eth1 come up...which gives hackers about 10 seconds to hack your box
 
  


Reply



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
Upgrading packages manually arubin Slackware 5 11-02-2005 06:18 AM
packages not upgrading with apt bearwood Linux - Software 4 04-06-2005 04:39 AM
upgrading packages paulr1984 Linux - Software 6 03-23-2005 03:42 PM
Upgrading packages linuxhippy Slackware 2 03-21-2005 06:18 PM
Using Slack 10's 2.6.7 kernel packages on Slack 10.1? SocialEngineer Slackware 1 03-05-2005 11:53 AM

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

All times are GMT -5. The time now is 02:40 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