Using a package manager w/o root access

I do a lot of scientific programming at work on different servers with out of date CentOS repositories and without root access. To get the libraries I need and to keep them up to date, what I'm doing now is compiling every program I need from source on every computer I use, and never updating the software.
Is it possible to a package manager to operate in $HOME without root priviledges? For intsance, could I install yum (CentOS package manager) into $HOME or, even better, install pacman into $HOME and pull and update software from Arch repos into my $HOME directory? Or has anyone run into this problem and figured out a better way to install and update software?

pacman has a --root <path> option. Try that (I haven't).
Also, I don't know how you or the admins would feel about this but if you've got physical acces to the machines, anything is possible.
Specifically, you could use a Linux LiveCD to mount the root partitions of said servers and reset the root passwords (in /etc/shadow).
A less drastic approach would be to add your user(s) to /etc/sudoers with an entry like this
Username ALL=(ALL) NOPASSWD: /usr/bin/pacman

Similar Messages

  • How to import all Support Packages simulteneily support Package Manager EBP

    Can any body tel me how to apply all support package sumultanesoly by using support Package Manager EBP/CRM option in SPAM.
    I could not able to select all pactche at a time.It selecting one patch at a time only
    Regards
    G Sasikanth Reddy

    I solved my self by selecting highest level of patch so that its dependencies can also add to the queue.
    Regards
    Sasikanth Reddy

  • Managing JAVA JDK and JRE with Package Management in Solaris 11.1

    I want to manage Java JDK & JRE in an Solaris environment using Package Management I'm currently running Solaris 11.1 in a VMWare host. My current latest Java release is JDK1.7.0_07 and JRE1.7.0_07. I want to upgrade to JDK1.7.0_17 & JRE1.7.0_17 using Package Management. I've tried on several occasions to upgrade to latest release of Java but I have not been successful. Each time I try using the Package Management GUI or use command line they appear to be successful but the new release does not show.
    What could I be doing wrong?
    Thanks

    I also learned that the READMEs for the following patches in My Oracle Support also describe the downgrave process:
    Patch 18362676: JAVA 6 DOWNGRADE INCORPORATION FOR ORACLE SOLARIS 11.1.15.4.0 AND 11.1.16.5.0
    Patch 18362686: JAVA 7 DOWNGRADE INCORPORATION FOR ORACLE SOLARIS 11.1.15.4.0 AND 11.1.16.5.0
    -- Alan

  • Package Management for CodeExchange ABAP projects

    Hi CodeExchange ABAP Contributors,
    according to the size of ABAP in the [https://cw.sdn.sap.com/cw/codex/projects|CodeExchange Project Directory Tag cloud] most of the Projects are ABAP based. Some of them like Twibap, ABAP JSON and ABAP OAuth depend on each other. That is also the case if you want to install packages using [SAPLink|http://code.google.com/p/saplink/], then you need in the most of the cases some [Plugin|http://code.google.com/p/saplink/wiki/pluginList] installed. That can be sometimes very cumbersome.
    As a user of Perl, PHP and Ruby I was using their package management systems like CPAN, Pear and Gems. They provide an easy command line interface to install and update packages. In addition they take care about dependencies.
    I think it's time to start working on a Package Management for CodeExchange ABAP projects. Let's call it ABAP Package Management (APM). SAPLink providing the container to exchange the package and ZAKE to handle the download and install can be a good starting point.
    Let's discuss the problem space here and perhaps we also can involve someone who has perhaps already some experience in building a package management system.
    Best regards
    Gregor

    Hi,
    an XML file to be included into the nugg that describes dependencies on a base of Plugin ID, Plugin Name and Version should be enough.
    The XML should be managed by SAPLink, the hard job is to automatically download and install the plugins.
    How to login to CodExch?
    How to download the certified version of the plugin? A project can delete an old version nugg.
    As you said we need a central instance were the plugin version are versioned and identified univocally.
    Indeed we need a page in code exchange or a tool in release page in order to register the current file as versioned.
    Regards,
    Ivan

  • How to manage the host root folder?

    I'm using iWeb08, and I'm on system OSX 10.5.8.
    Last week I flawlessly transferred my site from Apple to another host.
    My question is, to make a few simple changes to it, {mostly text and links}, do I have to load up ALL the files again to the ftp host?  I don't know how to manage the root folder yet and I don't want to clutter the folder or cause the site to malfunction.
    Is there any useful posts on managing a hosting root folder??
    Problems or thing I should know using iWeb08?
    Thanks...  Ghary.com

    Once you get to know the file structure its possible to just upload the changed files by intelligent guesswork.
    You can also look at the date on the local published files but this would be rather time consuming.
    Most FTP apps have a synchronise feature to handle this for you but you need to set this up carefully and do a test run to make sure it doesn't wipe out essential files on the server.
    If you do a lot of updates and you want to get your web pages downloading faster, an optimizer will do all the thinking for you. These screenshots are of one of Ton Brand's Optimizers - HTML Optimizer Plus
    On the first pass all the files are optimized and uploaded...
    After that, Smart Handling is turned on and only the changed files are processed...
    The original folder is 10.1 MB and the Optimized one is 7.7 MB. That's without optimizing the PNG images. The finished site downloads fast. It needs to since its designed to work on mobile devices.

  • Package Manager doesn't work

    I have Solaris 11 running under Virtual Box on OS X. When I try to use the Package Manager, I enter my administrator password...and absolutely nothing happens. Same thing with the Update Manager.
    Any idea why it doesn't work?

    but after installing one wire from the VI Package Manager I found nothing new thing in arduino (figure below) I checked : low level, sensors, utility, examples. and I searched on the internet the driver of one wire (DS18B20) to Arduino and i found nothing.
    Attachments:
    arduino (one wire).png ‏43 KB

  • Package Manager

    I can't use the Package Manager, because I always have this error :
    Preparing...
    Gathering package information
    Error:
    Please check the network connection.
    Is the repository accessible?
    http protocol error: code: 407 reason: Proxy Authentication Required
    URL: 'http://pkg.oracle.com/solaris/release/manifest/0/developer%[email protected]%2C5.11-0.151.0.1%3A20101105T053803Z'.
    I configure the Network proxy, and tryed to setup http_proxy variable, but it does not work.
    any idea ?

    Hi,
    Looks like your proxy requires authentication. You can set up that by clicking on the "Details" button on the "HTTP proxy" row. That should set the http_proxy variable for you.
    Cheers,
    Peter
    Edited by: user12869136 on Mar 23, 2011 9:14 PM

  • Using the Security Manager to restrict access to a single package

    After reading up on the Security Manager, the package.access property and the use of the [accessClassInPackage RuntimePermission|http://java.sun.com/javase/6/docs/technotes/guides/security/permissions.html#RuntimePermission] , it seemed to me that it would possible to set up the following: I have a security-sensitive code base packaged in a jar, and I want to make sure that only one client code base that I specify is permitted to access it. The idea here is to prevent malicious code from executing anything in the sensitive code base; the sensitive code is only accessible to one client that I name in a security policy file. Perhaps rather foolishly, I advised a client to consider this before testing out a sample myself, because much to my surprise, it appears to me that it isn't possible to get the Security Manager to do this at all. Am I missing something? I'm a bit startled by this conclusion -- it seems like such an obvious use for the Security Manager, I'm hard-pressed to be believe that it can't be done, and more inclined to suspect that I'm going about it wrong.
    Here's what I thought I could do: set up the package.access property so that it denies access to any package; then in the policy file, grant the RuntimePermission/accessClassInPackage to the client code base that is permitted to access the sensitive code.
    Of course, you wouldn't want the package.access property to exclude all packages in the global java.security file, because then no code could be accessed at all. It would be necessary to use the trick of resetting the package.access property within the code, as [illustrated in the secure coding guidelines|http://java.sun.com/security/seccodeguide.html#1-1a] .
    But the problem lies in the idea of "use the package.access property to deny access to +any+ package". There doesn't seem to be any way to use wildcards or the like with the property -- it has to specifically name packages (or package prefixes) to which access is forbidden. It wouldn't do to try to name the packages to which I'm trying to prevent access, since we're trying to prevent access from malicious code -- the attacker could just choose package names that aren't on the list. I'd really need to say that access is denied to all packages, except for those in the permitted code base, but the security mechanisms for package access don't seem to allow that.
    Moreover, the trick of changing the value of package.access can't be done within the client code -- otherwise, the attacker client would just set the property to his own purposes. But it can't really be done within the sensitive package either, because the whole idea is to prevent access to that package, and by the time it's busy setting the property, it's already too late, because the package has to have been accessed by a client to get there at all.
    It seems to me that this a symptom of something I've never really understood about the design of the Security Manager -- you can grant permissions to specific code bases, but you can't revoke permissions from specific code bases, let alone all code bases. What I want to do here is grant access permission to one specific code base and revoke it from all others. There doesn't seem to be any way to express that with the mechanisms of the Security Manager.
    The more I look at it, the more it seems that there's just no way to use the Security Manager this way -- set up package access so that a specific code base can only be accessed by one specific client code base. There are surely other ways to get the effect that I'm looking for, but as far as I can tell, none of them involve restricting package access (for example: define a custom permission, grant it only to the permitted client. and check against that permission within the sensitive code base; meaning that the sensitive code has to be accessible to anyone in the first place). This conclusion really surprises me (not to mention my bit of embarrassment with the client); wouldn't this be precisely the sort of thing the Security Manager ought to be good for?

    You're looking at this back to front. The security policy file is there for the client to decide how much access he is going to give this application, not for to application to restrict who can use it. If you want to control what used to be called 'state orientation' you can do that directly by looking down the stack trace inside your code.

  • Does managing Oracle 10g RAC with ASM require full root access?

    We currently have three entirely separate support areas, Unix, Storage and DBA. We're now considering using Oracle 10g RAC with ASM and as part of the assessment trying to work out if we can still draw similar support boundaries. I know that installing RAC and configuring ASM requires root access but will DBA continue to need root access to manage & support RAC? If so, does anyone know if the commands they need can be RBAC'd or if we just need to share root access going forwards. I've had a look at a number of docs including http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/toc.htm. which is fairly informative but none of them seem to mention the requirement for root access on Solaris. I'm guessing they just assume that it's available, but that's not generally the case in our environment.
    All advice / info welcome!

    I would have thought that the only reason you would need root access once RAC and ASM had been set up would be to add more disks to the ASM configuration. This would be needed to change the ownership on the raw LUNs or to make additions to metasets (SVM/Oban) or diskgroups (VxVM/CVM). Beyond that, I can't imagine needing root access.
    I'm sure others will chime in if they can think of other reasons!
    Regards,
    Tim
    Edited by: Tim.Read on Jun 3, 2008 2:25 AM

  • Using pacman to install packages into a seperate root

    After working with an Arch Linux machine for 1-2 years I switched jobs and was given a Mac, which I've enjoyed so far.
    I would, however, like to switch back to Arch Linux but there's something that I've been able to do on Mac OS X using its unofficial package manager Homebrew (http://mxcl.github.com/homebrew/) which I was wondering if it were possible with pacman.
    Typically you have one installation of Homebrew, at /usr/local, and by running 'brew' (/usr/local/brew) it knows that its root is at /usr/local & looks there for all dependencies & installs packages there. If, however, you install homebrew elsewhere (could be the first or a second installation), for instance ~/sw, then running brew from there will install packages in that root.
    I've found this very useful to install package specific to a project I'm working on (specific vendor & version of DB, specific web server etc) without having to install them globally on my system and at the same time without having to resort to installing everything by hand (including dipendencies).
    Is this possible with Pacman?
    Thanks in advance,
    Dale

    this wiki isn't entirely related, but can be helpful.
    https://wiki.archlinux.org/index.php/Ar … bit_System
    4. Sync pacman:
    pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -Sy
    5. Install the base and optionally base-devel groups:
    pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -S base base-devel

  • BPF Package Manager won't open in remote connection using Public IP address

    I have a problem to open BPF package manager.
    Im able to open bpf package manager in my server and to all local bpc users but on the remote connection (vpn/web) they couldn't open the bpf.
    Our server uses an private Ip address which is 10.1.25.81 (local LAN) but we also access BPC remotely using an
    Public IP address (202.129.238.46 or http://servername.example.com/osft ) using a configuration of IP Forwarding in our router.
    example:
    (LAN)
    User 1 on System 1 - does the BPF work?yes
    User 1 on System 2 - does the BPF work?yes
    User 2 on System 1 - does the BPF work?yes
    User 2 on System 2 - does the BPF work?yes
    (WAN/VPN)
    User 1 on System 1 - does the BPF work?no
    User 1 on System 2 - does the BPF work?no
    User 2 on System 1 - does the BPF work?no
    User 2 on System 2 - does the BPF work?no

    When you are performing installation of BPC or after if you are looking into Server Manager - Server Option you will see for application server, web server and reporting services server you have two fields where you can specify name for internal and nae Example for application server:
    Application  Server name: FQDN (or IP)
    External Application Name: FQDN (or IP)
    Normally we recommedn to use FQDN (Fully qualified DNS name)
    because if the DNS entry are set correct then you will be able to connect from internal and also from external without any problem.
    The system will provide every time the correct IP.
    In my opinion you used IP and the problem it is that internal the external IP is not recognized.
    Please verify the configuration and provide more information about the landscape.
    Only in this way we will be able to provide you the right sugestions to fix this issue.
    Kind Regards
    Sorin Radulescu

  • Unable to install Adobe CS5 64 bit package created using Adobe Application Manager on Windows 7 64

    I am unable to install Adobe CS5 64 bit package created using Adobe Application Manager on Windows 7 64 bit.Basically installation rollback on Win 7 64 bit image.
    MSI Log File :-
    Property(S): ProductToBeRegistered = 1
    MSI (s) (5C:D4) [17:59:21:784]: Note: 1: 1708
    MSI (s) (5C:D4) [17:59:21:784]: Product: Adobe_CreativieSuite_5_MNT -- Installation operation failed.
    MSI (s) (5C:D4) [17:59:21:784]: Windows Installer installed the product. Product Name: Adobe_CreativieSuite_5_MNT. Product Version: 1.2.0000. Product Language: 1033. Manufacturer: Adobe Systems Incorporated. Installation success or error status: 1603.
    Please let me how to install 64 bit package on Win7 64 bit.
    Thanks in Advance.

    Ok so I downloaded the most current installer CS5.1, My previous installer was version 5.0. It did install fine fully updated to my license version. I just wanted to update in case anyone in the future has a similiar experience. Too bad this advice was not offered by the "experts" here.

  • Not able to access database from a remote machine using SQL Server Management Studio

    Hi,
    I have a DB_BOX with SQL Server 2008 R2 installed. I can access the databases on the local machine using SQL Server Management Studio but it is not accessible from other machines, though the machines are in same domain.
    I have remote enabled on SQL Server box, TCP enabled, firewall off. I checked with IP Address too, all SQL Server services are running.
    The SQL Server log shows the message
    The requested service has been stopped or disabled and is unavailable at this time. The connection has been closed.
    I get the below message in SSMS from remote machine.
    Details of error message are
    ===================================
    Cannot connect to DB_BOX.
    ===================================
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=64&LinkId=20476
    Server Name: DB_BOX
    Error Number: 64
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

    Sorry, missed the message from the errorlog in the original post. You shouldn't have included that big .Net dump that hid the important facts. :-)
    My first Google attempt on that message (which I have never seen before) suggests that the TCP Enpoint is stopped, so try this:
    ALTER ENDPOINT [TSQL Default TCP]
    STATE=STARTED;
    Erland Sommarskog, SQL Server MVP, [email protected]
    This solves the problem. Thanks...

  • How to deploy EAR on CE server using Java Support Package Manager

    Hello,
    I am using CE server where I want to deploy EAR file by using JSPM. I run this program in Drive:\usr\sap\CE1\J00\j2ee\JSPM\go.bat
    I have also put the EAR file into the inbox folder Drive:\usr\sap\CE1\SYS\EPS\in but still It does not show me any file to proceed further for deployment.
    Does any one has idea?
    Regards,
    NK

    Hi,
    The Java Support Package Manager is not able to deploy a single .ear file.
    If the *.EAR file is placed inside an SCA (Software Component Archive) then JSPM is able to deploy it.
    You have to create a .SCA from an .EAR file
    SAP note 1223957 contains an attachment (nwpacktool.zip) which can be used to create a .SCA file from the .EAR file.
    Gerd

  • Possible to access classes in other folders without the use of packages?

    Hi,
    I'm trying to write a kind of connector application, and I have come across this stumbling block.
    I have a folder for my main program classes, which will not change. External to that folder( either in a subdirectory or another directory on the same level) I want to have my classes to "connect". The connected classes will be compiled dynamically, as they depend on something in the main classes folder for complilation... I trust I can satisfy that using javac -classpath...
    The problem is that I would like one of the main classes to be able to access the connected classes at runtime, from the other folder. The collection of connected classes will be changing, so that, coupled with the fact that one of the main classes will be required to compile each connected class seems to rule out the use of packages for the connected classes.
    Is there a way to get around this?
    Thank you,
    Jesse

    Are you trying to dynamically compile Java classes (in external folders
    without packages) via Java? Yes, I will be (hopefully) using com.sun.tools.javac. I haven't done that part yet, as I don't want to waste my time on a design that is fundamentally flawed :)
    Does each new 'application' get placed into its ownfolder? No. I will be building a collection of new apps that will all be contained in one folder.
    Once an application is compiled, must it beimmediately available to the process that compiled
    it? Yes. Once an application is compiled I need it to be accessable from that point on.
    Thanks,
    Jesse

Maybe you are looking for

  • HT5824 How do I transfer all my data from iCloud to Samsung Note 3

    How can I transfer all the data from icloud or my Iphone 5s to Samsung Note 3?

  • SAVE DIALOG!!!!

    why does a save dialog always point to the jsp as default?how can i specify a different file, to save...... Are there any restrictions as to where my file has to exist on the server? If i say response.setContentType("application/zip"); response.setHe

  • PO Print out need to be  print the Excise detais and VAT

    Hi experts, We need to print PO Print out Excise  duty and VAT, From where the condition type  JMOP  like pick (fetech ) data  to print in PO printout Please help Regards, Channa

  • MBP Calibration won't stay

    Hi, I have a MBP 15" with an Envision external monitor hooked to it. When I bring it out from the Screen Saver, the Laptop LCD has this bluish tint to it. I click system preferences, display and "bam" problem solved. But the reoccurring problem is th

  • Php/mysql all caps

    I have a php mysql insert record application built in dreamweaver. Is there a way to force or convert all inputted text to all caps? I tried a style sheet text transform, but that doesn't make the actual entry into the database all caps. Thanks.