Dear expert,
Suppose I have an application that comes in rpm format.
Let's call it:
my_downloaded_package.rpm
How can I install it in my particular home directory (since I'm not
a root user). Say the directory where I want to install above rpm package is:
~/.my_desired_location... (1 Reply)
have following package installed
rpm -qa |grep ADMIN
It will give the following package installed:
ADMIN-4.0.0.1
Now I will upgrade the ADMIN package using the following command.
rpm --upgrade ADMIN-4.1.0.1
It will upgrade the ADMIN packagge to ADMIN-4.1.0.1
Now I want that... (0 Replies)
Hi,
I am finding the installed location of a package by:
rpm -qi <package_name>
And then parse the string "Relocations".
If i relocate this package during installation with --relocate option , the "Relocations" string still shows the old value. Though the package has been installed on the... (0 Replies)
Hi,
I have created a relocatable AIX package named Test.
The USIL is /abc
bash-2.05b# lsusil
INSTALL PATH = /abc
COMMENTS = None
Generally if a package gets installed in "/opt/Test" and i want to relocate it to "/abc" it gets installed under "/abc/Test". This happens the way in Solaris,... (2 Replies)
Hi,
If a package has been installed at normal location:
installp -u <package_name>
uninstalls the package
However, if that has been installed relocatable, the above command fails.
It requires the relocatable path as the parameter
installp -R <relocation_path> -u <package_name>
To find... (1 Reply)
Hello, all.
I'm trying to compile and install X-Emacs. The .configure package path options for installing new versions of X-Emacs has changed, and I can't make them work for me!
I'm trying to install X-Emacs 21.5.29 (current Beta), and despite using the new package path .configure... (0 Replies)
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Dear all,
I would like to install a new version of package without remove old version on Centos and vice versa.
Please give me advice!
thanks much, (2 Replies)
Hi Guys I want to know whether is it possible to automatically Install a RPM package after installing OS.
Basically we have have one rpm package which we want to install as part of OS installation . Please Suggest (3 Replies)
Hello,
i have installed a package by using the command
sudo rpm -i filepackage.rpm
package filepackage is already installed
when i try to remove it, i get an error saying "is not installed":
sudo rpm -e filepackage.rpm
error: package filepackage is not installed
How can... (4 Replies)
Discussion started by: g_p
4 Replies
LEARN ABOUT X11R4
resolvepath
resolvepath(2) System Calls resolvepath(2)NAME
resolvepath - resolve all symbolic links of a path name
SYNOPSIS
#include <unistd.h>
int resolvepath(const char *path, char *buf, size_t bufsiz);
DESCRIPTION
The resolvepath() function fully resolves all symbolic links in the path name path into a resulting path name free of symbolic links and
places the resulting path name in the buffer buf which has size bufsiz. The resulting path name names the same file or directory as the
original path name. All ``.'' components are eliminated and every non-leading ``..'' component is eliminated together with its preceding
directory component. If leading ``..'' components reach to the root directory, they are replaced by ``/''. If the number of bytes in the
resulting path name is less than bufsiz, the contents of the remainder of buf are unspecified.
RETURN VALUES
Upon successful completion, resolvepath() returns the count of bytes placed in the buffer. Otherwise, it returns -1, leaves the buffer
unchanged, and sets errno to indicate the error.
ERRORS
The resolvepath() function will fail if:
EACCES Search permission is denied for a component of the path prefix of path or for a path prefix component resulting
from the resolution of a symbolic link.
EFAULT The path or buf argument points to an illegal address.
EIO An I/O error occurred while reading from the file system.
ENOENT The path argument is an empty string or a component of path or a path name component produced by resolving a sym-
bolic link does not name an existing file.
ELOOP Too many symbolic links were encountered in resolving path.
ENAMETOOLONG The length of path exceeds PATH_MAX, or a path name component is longer than NAME_MAX. Path name resolution of a
symbolic link produced an intermediate result whose length exceeds PATH_MAX or a component whose length exceeds
NAME_MAX.
ENOTDIR A component of the path prefix of path or of a path prefix component resulting from the resolution of a symbolic
link is not a directory.
USAGE
No more than PATH_MAX bytes will be placed in the buffer. Applications should not assume that the returned contents of the buffer are null-
terminated.
SEE ALSO readlink(2), realpath(3C)SunOS 5.10 12 May 1997 resolvepath(2)