Two Things You May Need
1. Swaret
2.installpkg
How to install Swaret.
-- download the Swaret from the sourceforge.net and rename it as given below
$ cp swaret-1.6.2-noarch-1.tgz.tar swaret-1.6.2-noarch-1.tgz
log in as root to install the software using the installpkg command:
# installpkg swaret-1.6.2-noarch-1.tgz
Rename the conf file located in the /etc folder:
# cp /etc/swaret.conf.new /etc/swaret.conf
installpkg
By typing installpkg [packagename].tgz you can install packages on your system.
removepkg
In it's simplest form, removepkg will remove the package name you specify. The general syntax is removepkg packagename.
upgradepkg
Upgrades a currently installed package with the package specified. If the packages have the same name, then you only need to run upgradepkg packagename to perform the upgrade. If the new package has a different name than the currently installed package, you must use this syntax:
upgradepkg oldpackagename%newpackagename
Do not add any extra whitespace between pairs of old/new package names.
rpm2targz
Converts an RPM (RedHat Package Manager) to a Slackware-compatible package. In case you ever run across the need to obtain something that is only in RPM format, this program may come in handy. The syntax is:
rpm2targz [filename].rpm
NOTE: Running rpm2targz will create a .tar.gz file, while running rpm2tgz will create a .tgz file. The files are exactly the same, the only difference is the extension format (some people prefer one over the other).
slapt-get is a very easy command line program to help you install, remove and upgrade Slackware packages.
To list packages you already have installed: slapt-get --installed
To list packages which are now available to you: slapt-get --available
To show a packages complete description: slapt-get --show [package(s)]
To search for a package in your list: slapt-get --search [package(s)]
To install a specific package: slapt-get --install [package(s)]
If you are a bit unsure of yourself before doing the "install" step do this:
slapt-get -s --install [package(s)]
this simulates the install process without actually doing anything. You can also use "-s" to simulate an upgrade.
If an install borks your system or you decide you don't need the software any longer remove the package with:
slapt-get --remove [packages(s)]
No comments:
Post a Comment