LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   upgrading of packages in slack (https://www.linuxquestions.org/questions/slackware-14/upgrading-of-packages-in-slack-145127/)

Skunk_Face 02-12-2004 02:05 AM

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

S_Warlock 02-12-2004 02:31 AM

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

nykey 02-12-2004 05:02 AM

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.

Nis 02-12-2004 07:04 AM

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.

adamjaskie 02-12-2004 08:52 AM

You can add stuff to your .xinitrc as well.

Skunk_Face 02-12-2004 07:11 PM

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?

TKS 02-19-2004 01:00 PM

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 :p


All times are GMT -5. The time now is 08:31 PM.