Sponsored Content
Operating Systems Linux Program installed on host is not visible in lx container Post 303045156 by migurus on Thursday 12th of March 2020 07:14:59 PM
Old 03-12-2020
Program installed on host is not visible in lx container

Ubuntu 18.04, a number of lx containers running on it.
I am a complete noob in containers, just getting my toes wet.
I installed "tree" utility using apt on the host, thinking that it would be visible in the containers, but it is not.
Do I have to enter each container and install it there? or there is some configuration to tweak, so the utility can be used in containers?
Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to know the program 'perl' is installed ?

Hi, How can I know the perl interpreter is installed in the system? When I type 'find / -name perl -print 2>/dev/null', there is 6 lines listing: /usr/local/bin/perl /usr/bin/perl /usr/lib/perl-5.8.0/bin/perl /usr/opt/IAFW310/PERL/perl /usr/opt/IAFW310/PERL/t/perl... (3 Replies)
Discussion started by: zp523444
3 Replies

2. Shell Programming and Scripting

How to end a host concurrent program in WARNING?

Hi, I want to end a host (shell script based) concurrent program in WARNING. Is it possible? Tried out a few things but it just either ends in NORMAL or ERROR. :confused: Any ideas/inputs would be appreciated. Thanks, coolblue_3 (2 Replies)
Discussion started by: coolblue_3
2 Replies

3. Shell Programming and Scripting

Checking whether program is installed

I currently use this construction to check whether a certain program is installed: if ; then cd /usr/ports/databases/sqlite3 && make install clean else echo "sqlite already installed" fi Is this method recommended? Is this an effective method, ie sufficiently robust for... (3 Replies)
Discussion started by: figaro
3 Replies

4. HP-UX

how to package my program which can be installed on HP UX

I develop a unix program in HPUX I want to package my program to install on HPUX in some dierctory folder like /user/local/sbin/xxx and preinstall some software before install my program package like xxx.depot how can i do it, have any tools like use setupfactory tools in windows ... (4 Replies)
Discussion started by: alert0919
4 Replies

5. Programming

Set host default gateway in C program.

Hello everybody, I'm having troubles on setting the default gateway address (and other addresses, such as netmask, or ip) of the host running a C program. I know it has to be with ioctl, but don't know how to do it. Could somebody give me an example on how to set the default gateway address of... (4 Replies)
Discussion started by: semash!
4 Replies

6. Solaris

Windows network share visible to Solaris 9 host and vice versa

Hi, I have a Windows server running WinSVR 2008R2 with a network share configured \\hostname\JSS_Share I would like to be able to mount this share on a Solaris host running Solaris 9. I would also like to mount a directory on the Solaris host and make it visible to the Windows server. The idea... (1 Reply)
Discussion started by: jamba1
1 Replies

7. Ubuntu

How to list my program or package that i compile and installed?

Hi I would like to ask in ubuntu or linux on how to list all my package or software the i installed via source code( compile installed in dir default is /usr/local) just like i solaris in which if you installed a package in ur choosing default root installation dir you can just issue a command... (2 Replies)
Discussion started by: jao_madn
2 Replies

8. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

9. Proxy Server

Installation JDK in the LXC container - Host behind Proxy

Hello, The host on which i work is a remote machine behind a proxy. I have installed the jdk like that and it works well: (I access the remote machine via ssh) http_proxy=http://proxy:3128 && https_proxy=http://proxy:3128 sudo apt-get install openjdk-7-jre-headless :~# java... (1 Reply)
Discussion started by: chercheur111
1 Replies

10. UNIX for Beginners Questions & Answers

How to connect to a DB installed on another host using shell script?

Hi Experts There are two hosts say A and B. On host B, Oracle DB is installed and running. I am trying to check if the DB on host B is up and running fine from a script on host A. Is this possible. I tried using commands like sql plus but those doesn't seem to help. Could you please guide. (8 Replies)
Discussion started by: harishshankar
8 Replies
prtfru(1M)						  System Administration Commands						prtfru(1M)

NAME
prtfru - print FRUID-specific information about the FRUs on a system or domain SYNOPSIS
/usr/sbin/prtfru [-d] | [-clx] [container] DESCRIPTION
The prtfru utility is used to obtain FRUID data from the system or domain. Its output is that of a tree structure echoing the path in the FRU (Field-Replaceable Unit) tree to each container. When a container is found, the data from that container is printed in a tree-like structure as well. prtfru without any arguments will print the FRU hierarchy and all of the FRUID container data. prtfru prints to stdout which may be redi- rected to a file. OPTIONS
The following options are supported: -c Prints only the containers and their data. This option does not print the FRU tree hierarchy. -d Prints a DTD for the current registry to stdout. -l Prints only the FRU tree hierarchy. This option does not print the container data. -x Prints in XML format with a system identifier (SYSTEM) of prtfrureg.dtd. Options -c and -l can be used together to obtain a list of the containers. OPERANDS
The folowing operand is supported: container The name of a particular container in the FRU hierarchy, that is, either the name or path/name of a container as displayed in the -l option. EXIT STATUS
The following exit values are returned: 0 All information was found and printed successfully. >0 An error has occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWfruid | +-----------------------------+-----------------------------+ SEE ALSO
fruadm(1M), attributes(5) SunOS 5.10 30 May 2002 prtfru(1M)
All times are GMT -4. The time now is 06:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy