`
gxrocky
  • 浏览: 31789 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
最近访客 更多访客>>
社区版块
存档分类
最新评论

Adding software in the user's home directory

 
阅读更多

Adding software in the user's home directory:

Note: re-read the above paragraphs---adding software specifically on one machine is considered a last resort. Please discuss your needs with us.

  • Unless you know precisely what you're doing, you cannot drop in RPMs or other binary packages that are hard-coded to someone else's tree structure. Instead, you must do a somewhat custom install. These notes are guidelines, not step-by-step instructions.
  • Inside your home directory, create a directory called "bin". Also create a place to hold your software's source and/or installation tree. For example, you might create a directory called "src" or "apps" or "software".
  • If the software is open-source, the build procedure is probably to run some kind of "configure" script followed by various "make" scripts. The standard GNU configure script takes a parameter to specify the final install tree, which often defaults to /usr/local/. Thus you would do something similar to the following (but never run these commands as root!):
    ./configure --prefix=/home/myaccountname/
    make
    make install
    
  • If you simply copy a binary tree from CD or obtained over the web, then you probably simply need to add links to your "bin" directory:
    cd ~/bin
    ln -s ../apps/mysoftware/bin/foo foo
    
  • Now you should be able to run the software. You might verify it is in your PATH. The command "which foo", where "foo" is the name of the command, should return "/home/myaccountname/bin/foo". If not, then you might check your ".bash_profile" or ".bashrc" or whatever to ensure that "~/bin" is part of your PATH.
分享到:
评论

相关推荐

    Maven-The Complete Reference.pdf

    Maven stores user-specific configurations in a file named `.m2/settings.xml`, located in the user's home directory. This file can be used to override default settings and configure local repositories....

    BURNINTEST--硬件检测工具

    - Enhanced the mechanism to report memory hardware errors in the Memory torture test. Release 5.3 build 1033 WIN32 release 1 October 2008 - Changes to correct a BurnInTest crash problem on some ...

    as_extensions_flash_lite_digital_home

    Adobe Flash Lite for the Digital Home represents a specialized version of Adobe Flash Lite 3.1 that has been optimized specifically for the hardware and software architectures found in modern digital ...

    NewSID(光学习一下代码就可以了,没看清楚介绍别运行)

    After configuring the machine for operation in the company network, automated disk or system duplication tools (such as Ghost Software‘s Ghost, PowerQuest‘s Image Drive, Altiris‘ RapiDeploy, and ...

    Java邮件开发Fundamentals of the JavaMail API

    in the demo directory. Installing JavaMail 1.2 To use the JavaMail 1.2 API, download the JavaMail 1.2 implementation, unbundle the javamail-1_2.zip file, and add the mail.jar file to your ...

    SAP PO/PI教程 Process Orchestration The Comprehensive Guide

    13.3.2 Adding Context to the Rules 13.3.3 Creating a Ruleset 13.3.4 Flow Ruleset 13.4 Testing Business Rules 13.5 Best Practices for Modeling Business Rules 13.5.1 Separate Decision Logic from ...

    (中文版)10gR2_openSUSE102_introduction.doc

    - Update the PATH variable to include the bin directory of ORACLE_HOME. 4. Create the Oracle Inventory directory and give ownership to the 'oinstall' group. 5. Prepare the filesystem and create the...

    Ubuntu The Complete Reference

    - **Introduction to the Shell**: Explanation of the role of the shell in Unix-like systems and how it serves as the primary interface for interacting with the system. - **Common Shell Commands**: List...

    Solaris 10 System Administration Essentials

    12.12.2 How to Export Home Directories in the Global Zone into a Non-Global Zone 337 12.12.3 Altering Privileges in a Non-Global Zone 337 12.12.4 Checking the Status of SMF Services 338 12.12.5 ...

    asp.net mvc

    Repeat the previous step for the Web.config file located in the Views directory. Open the project using Visual Studio, and in Solution Explorer, expand the References node. Delete the reference to ...

    jdk1.8.docx

    - Set `JAVA_HOME` to the JDK installation directory. - Add `%JAVA_HOME%\bin` to the `PATH` environment variable. 6. Verify the installation by running `java -version` and `javac -version` commands ...

    Linux System Administrator Guide Version0.9

    versus "GNU/Linux." This distinction is important because the Linux kernel is just one component of the entire operating system, which also includes the GNU project’s software and utilities....

    Manning.Git.in.Practice.2014.9.pdf

    This initializes an empty Git repository in the current directory. - **Basic Commands**: Some basic commands include: - `git status`: Shows the status of the working directory. - `git add <file>`: ...

    DelForExD2007

    After some options (align, adding line breaks) the indentation might be not correct. Rerunning DelFor can fix the problems. (3) It is tried to indent function directives after function ...

    allegro skill functions prefixed axl

    The topic "Allegro Skill Functions Prefixed AXL" refers to a specific subset of functions within the SKILL programming language that are used extensively in the Allegro PCB Editor software suite by ...

    win 3.11 for workgroup tcpip支持

    in the Microsoft Software Library. You can find an Application Note in the Software Library by searching on a keyword, for example "WG0990". Application Notes are available by modem from the ...

    ICS delphixe10源码版

    Here is the direct URL at Amazon UK (nearest to my home, please don't use another): http://www.amazon.co.uk/exec/obidos/gc-email-order1/ref=g_gc_email/202-6198323-6681414 For more generous amount, ...

    system mechanic Activator v1.0

    to temporarily disable real-time protection and auto-scan when adding the activator to the exclusions lists, or when using the activator. * If the activator is removed by your antivirus software ...

    jdk1.8-windows版64位

    JDK 1.8, also known as Java SE 8, is a crucial software development environment for creating and running Java applications on the Windows operating system, specifically targeting 64-bit systems....

Global site tag (gtag.js) - Google Analytics