12 #ifndef ROOT_TAlienPackage
13 #define ROOT_TAlienPackage
61 const char *installationdirectory =
"/var/tmp/alien/packages");
TString fInstallationDirectory
void SetName(const TString &theValue)
TString GetInstallationDirectory() const
TString fPostInstallCommand
Bool_t Enable()
Install/enable an AliEn package on the local computer.
const char * GetEnable()
Return shell command to enable package.
TString fAliEnMainPackageDir
virtual ~TAlienPackage()
Destructor.
Bool_t UnInstall()
Uninstall a package e.g. remove it from the local disk.
TString GetPlatform() const
void SetVersion(const TString &theValue)
void SetDebugLevel(Int_t &theValue)
void SetAliEnMainPackageDir(const TString &theValue)
void SetInstallationDirectory(const TString &theValue)
void SetPlatform(const TString &theValue)
Bool_t PostInstall(TString name, TString version)
Execute post_install procedure for a package.
Bool_t InstallSinglePackage(TString name, TString version, Bool_t isDep=kFALSE)
Install a single package.
TString GetVersion() const
TList * GetInstallList() const
Bool_t ReInstall()
Reinstalls a package e.g. uninstall + install.
Bool_t CheckDependencies()
Check the dependency packages of this package.
Bool_t InstallAllPackages()
Installs a package and all its direct dependencies.
ClassDef(TAlienPackage, 0)
Bool_t CheckDirectories(TString name, TString version)
Check the name and version directory of package/version given.
Bool_t IsDirectory(const char *dir1, const char *str)
Check that is listed in GRID directory .
Bool_t Exec(const char *cmdline)
Execute package command.
void SetInstallList(TList *theValue)
TString GetAliEnMainPackageDir() const