• Increase font size
  • Default font size
  • Decrease font size
Home Software SysFunc Sysfunc Reference Guide - Software packages

Sysfunc Reference Guide - Software packages

E-mail Print
Read : 3,799 times
(0 votes, average 0 out of 5)
Article Index
Sysfunc Reference Guide
Configuration parameters
System database
Disk management
Error handling
File manipulation
Filesystems
IP V4 addresses
Kernel
Logical volume manager
Miscellaneous
Message display
User interaction
Network
OS
File backup
Software packages
Services
Time and date
Temporary file management
Users and groups
Vmware-specific
Function index
All Pages

soft_available_version

Get the available version of an upgradeable package

Arguments

$1Software name

Returns

0 if an update is available, 1 if not installed, 2 if up-to-date

Displays

Available version if one exists, nothing if not

soft_clean_cache

Clean the software installation cache

Arguments

None

Returns

Always 0

Displays

Nothing

soft_exists

Check if software exists (installed or available for installation)

Arguments

$1Software name

Returns

0 if software exists, 1 if not

Displays

Nothing

soft_install

Install software(s) if not already present on the host

If a software is installed but not up to date, it is not upgraded.

Arguments

$*Software name(s)

Returns

Always 0

Displays

Info msg

soft_install_upgrade

Install or upgrade software(s)

For each of the software names supplied as arguments :

- if the software is not installed, install it, - if the software is installed and upgradeable, upgrade it, - if the software is up-to-date, do nothing.

Arguments

$*Software name(s)

Returns

Always 0

Displays

Info msg

soft_is_installed

Check if a software is installed

Arguments

$1Software name

Returns

0 if software is installed, 1 if not.

Displays

Nothing

soft_is_up_to_date

Check if a software is installed and the latest version

Arguments

$1Software name

Returns

0 if software is up-to-date, 1 if not installed, 2 if upgradeable.

Displays

Nothing

soft_is_upgradeable

Check if a newer version of a software is available

Note : if the software is not installed, it is not considered as upgradeable

Arguments

$1Software name

Returns

0 if the software is upgradeable, !=0 if not.

Displays

Nothing

soft_list

List installed software

Returns a sorted list of installed software

Linux output: (name-version-release.arch)

Arguments

None

Returns

Always 0

Displays

software list

soft_reinstall

Reinstall software(s), even at same version

Arguments

$*Software name(s)

Returns

Always 0

Displays

Info msg

soft_remove

Uninstall software(s) (ignoring and bypassing dependencies)

Nothing is done for softwares which are not present on the host.

Arguments

$*Software name(s)

Returns

Always 0

Displays

Info msg

soft_repo_list

List defined software repository names

Arguments

None

Returns

Always 0

Displays

List of software repositories, one per line

soft_uninstall

Uninstall software(s) (including dependencies)

Nothing is done for softwares which are not present on the host.

Arguments

$*Software name(s)

Returns

Always 0

Displays

Info msg

soft_version

get version of an installed software

Arguments

$1Software name

Returns

0 if software is installed, 1 otherwise.

Displays

Software version (nothing if soft is not installed)

 

Please login or register to add a comment