06-26-2011
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 pkginfo -l -R < any root dir you installed the package>.
I have no luck in dpkg and apt-get. or there no such command that will check the packages install in the /usr/local.
10 More Discussions You Might Find Interesting
1. AIX
Hi All,
I want to check if the perl DBI package is already installed my AIX unix machine. is there any command to check this? Please help.
Thanks,
Am (2 Replies)
Discussion started by: am_yadav
2 Replies
2. 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
3. Linux
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)
Discussion started by: vibhor_agarwali
0 Replies
4. AIX
How to compile a package surce in AIX when we download its source? (2 Replies)
Discussion started by: johnveslin
2 Replies
5. Ubuntu
Hi gurus, how to (just) download already installed package ?
I tried
sudo apt-get -d install putty
but gives me
Reading package lists... Done
Building dependency tree
Reading state information... Done
putty is already the newest version.
0 upgraded, 0 newly installed, 0 to... (7 Replies)
Discussion started by: wakatana
7 Replies
6. Solaris
Hi,
What is the necessary package that needs to be installed for using pam_mkhomedir.so in pam.conf file?
And from where can i get that file?
Is that package already shipped with Solaris 10?
Because when i use that file i am getting "open_module: stat(/usr/lib/security/pam_mkhomedir.so)... (1 Reply)
Discussion started by: sathya47
1 Replies
7. Emergency UNIX and Linux Support
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
8. Solaris
I need a programmatic way to check, that supersede of required package is installed. At Linux I do it using rpmvercm utility to compare installed package version to my minimal requirement.
So - I need analog of Linux "rpmvercm" utility for Solaris (10/11)
Let us say - I know that minimal version... (10 Replies)
Discussion started by: zuismanm
10 Replies
9. Solaris
Hi all,
Recently i wanted to see if i have openssl installed in my system (solaris 10), so i do this (not sure if this is the right way to do this)
pkginfo -i | grep -i "ssl"
system SUNWopenssl-commands OpenSSL Commands (Usr)
system SUNWopenssl-include ... (3 Replies)
Discussion started by: javanoob
3 Replies
10. Shell Programming and Scripting
Can you please let me know how can i verify /check inside the script if the below to package installation commands are successful or if they failed for any reasons?
1. pkgadd -a $INSTP/install/dadmin -d $INSTP/install/apachesrv.pkg
2. pkgadd -a $INSTP/install/dadmin -d... (6 Replies)
Discussion started by: mohtashims
6 Replies
LEARN ABOUT DEBIAN
apt-show-source
APT-SHOW-SOURCE(1) User Contributed Perl Documentation APT-SHOW-SOURCE(1)
NAME
apt-show-source - Lists source-packages.
DESCRIPTION
This program parses the APT lists for source packages and the dpkg status file and then lists every package with a higher version number
than the one installed.
It may prove very useful if the "deb" entries in your APT sources.list point to stable and the "deb-src" entries point to unstable. With
this program you are easily able to find out if there is a newer version of eg. Program XXXX in unstable.
COMMAND LINE PARAMETERS
Optional command line parameters are the DPKG Status file to use, the path to APT's list files and a package name. There are also options
to display: all source-packages, verbose messages, version-only and command-line help.
OPTIONS
-stf FILE, --status-file=FILE
Reads installed packages from FILE instead of /var/lib/dpkg/status.
-ld DIRECTORY, --list-dir=DIRECTORY
DIRECTORY specifies the path to APT's list files, defaults to /var/lib/apt/lists/.
-p PACKAGE, --package=PACKAGE
Prints out the installed-package/source-package version Information for PACKAGE.
--version-only
Prints version only if used together with --package.
-a, --all
Prints out all available source-packages with version.
-v, --verbose
Prints out verbose messages.
-h, --help
Prints out command-line help.
AUTHOR
Dennis Schoen, dennis@debian.org
SEE ALSO
apt(1), dpkg(1)
perl v5.8.1 2003-10-12 APT-SHOW-SOURCE(1)