General :: Command To Get Install Path Of Applications/rpm Packages?

Jun 30, 2010

I am looking out for a command which can give me the list of applications installed and the corresponding install paths for those.let me know if there is any such command. Also, i am using rpm command to get the list of packages installed(i am assuming that this shows the list of applications installed).

View 4 Replies


ADVERTISEMENT

General :: Command Path Is In PATH But Bash Does Not Find The Command

Jul 12, 2011

kernel 2.6.21.5, slackware 12.0
GNU bash 3.1.17

Code:

As you can see, /usr/local/bin is in the path. However, bash does not look for nasm in /usr/local/bin.

If I am root, things go well:

Code:

View 16 Replies View Related

General :: Install Total Packages Though Yum Command ?

Jan 2, 2010

How can i install total rpm packages in Server folder which is locket at /root/Server

View 3 Replies View Related

General :: All Terminal Applications Ask To Go To The Specific Path?

Apr 7, 2011

Just like the title says, it always asks me to go to the direct path.

ie:

iwconfig doesn't work. I have to type /usr/sbin/iwconfig

View 2 Replies View Related

General :: Apt-get Install Command Is Not Able To Fetch Packages From Ubuntu Repository?

May 8, 2010

I have been working on Redhat family of distributions since past 1 year. Two days back I installed Ubuntu 10.04 on my laptop. I am novice to Package Management in Debian family of Linux distributions. My Internet connection is working fine. But I am not able to install any package with apt-get package Manager. Here is my /etc/apt/sources.list file

Code:

deb http://in.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://in.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

[code]....

View 12 Replies View Related

General :: Packages - Configure The Path While Installing New Plugin?

Jun 3, 2011

Whenever I need to install something on Xentos, I found rpm or tar balls. I want to know what is difference between two. Also if I need to install something for php but I have installed on different folder, how can i give that php path while using configure command in newly downloaded tar.gz package ?

View 2 Replies View Related

General :: (Netstat -a Command) Why Some Sockets Do Not Have Path Name

Oct 15, 2010

When I run "netstat -a" commnand, it display:

Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 20269 /tmp/.gdm_socket
...
unix 2 [ ] DGRAM 997161
unix 3 [ ] STREAM CONNECTED 942628 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 942627
unix 3 [ ] STREAM CONNECTED 942626 /tmp/.X11-unix/X0 ....

Why some socket don't have Path name? And what mean's RefCnt = 2?

View 2 Replies View Related

General :: Command Line - Can Add A Shortcut To Replace A Path

Jul 24, 2010

For example, I always go to this path:

/user/something/somefolders/somewhere

but I don't want to type

cd
/user/something/somefolders/somewhere

in the terminal all the time, can I have some short hand to do so? for example, can I do something like

cd commandPlace

to replace the path?

View 5 Replies View Related

General :: Find Command To Search Wildcard In Path?

Dec 8, 2009

I need a command to search for any file in a directory like so:

/home/*/upload/* and then change permissions any file in that directory.

Find doesn't seem to match what I need.

View 12 Replies View Related

General :: Command Not Found For All But PWD And Echo - Path Empty

Mar 1, 2011

I logged into my Red Hat Enterprise Linux machine at work (use it for software development) and the primary GUI does not load. Instead, widgets appeared for xclock, xterm, and Firefox. In the terminal, I start typing in commands to try to figure out what's going on, but all commands are not found except pwd and echo. I 'echo $PATH' and that returns just an empty, blank line. 'echo $SHELL' lets me know I'm using cash.

The likely cause was my attempt to install Adobe Reader Firefox plugin yesterday. After it downloaded, I ran the binary but Firefox didn't seem to recognize that I had installed it, so I went into my .cshrc file and added the adobe folder to the path. That didn't seem to work, so I gave up, deleted the binary and the folder I installed to, and removed that directory from the path in the .cshrc file. This last thing (the export PATH line in that file) I'm certain is back exactly as it was before.

I have successfully added the /bin and /usr/bin back to the path from command line via
setenv PATH /usr/bin:/bin
but of course it doesn't stick after reboot nor does it magically load the primary GUI. I'd rather not go through the effort of creating a ticket for our company's Global Service Desk cuz there's no telling how long that could take to resolve. In the meantime, I can't do any programming.

View 23 Replies View Related

General :: PATH Variable - Command Not Found On New Terminal

Aug 3, 2011

I am using CentOS5.5 & everytime it is showing command not found. If I export the path as below it will be working fine until a reboot. Again same error i.e command not found if I open new terminal. Every time I am exporting as below:

#export PATH=/sbin/:$PATH
#export PATH=/usr/sbin/:$PATH
#export PATH=/usr/bin/:$PATH
#export PATH=/bin/:$PATH

How can I set these permanently as that the paths should automatically be exported for everyone user whenever the system boots. And command completion also should happen for eg. #fdi (press tab), then it should show available options such as fdisk, etc.

View 7 Replies View Related

General :: $PATH Variables, Soft Links, And Command Not Found?

Sep 17, 2010

I am having problems with symbolic links and the $PATH variable.I have a directory:# /usr/rulerX/squarewhere /usr/rulerX/square is a symbolic link such that:

# ls -la
square --> square.hg.current
My path variable is set as:

[code]....

View 2 Replies View Related

General :: Command For Finding File / Directory From Current Path

Apr 30, 2010

I am total new to linux as I worked mostly on RTOS (symbian). My problem is, I need to find the file IOSTREAM.H and I am following commands below:
1) cd /
2) find . iostream.h ( finds the file / directory from the current path)
It shows No such File or Directory

View 7 Replies View Related

Fedora :: Add Path In .bashrc By Commenting Out Old Path And Adding New One - Command Source ~/bashrc

Jun 14, 2011

When I add some path in .bashrc by commenting out old path and adding new one like this:

#EXPORT HOME_PLAY=/home/gem/old_play
EXPORT HOME_PLAY=/home/gem/play
EXPORT PATH=$PATH:HOME_PLAY

After saving above changes, I enter the command: source ~/.bashrc Now if I do echo $PATH, the path shows both the old PLAY_HOME and new PLAY_HOME. This is really bad and messes up a lot of things in my project. This problem only goes away if I logout or reboot, a rather very long process. What is happening is that the old path is added to new path element and the old path includes the old path element you want to remove.

View 10 Replies View Related

Software :: How To Install Total Packages Though Yum Command

Jan 2, 2010

How can i install total rpm packages in Server folder which is locket at /root/Server

View 1 Replies View Related

General :: Command Line - Get Relative Path From Two Absolute Paths In Shell?

May 13, 2010

We have two paths. First one is directory, second either dir or file.

/a/b/c and /a/d/e.txt

Relative path from first path to second will be: ../../d/e.txt

How to get it in linux terminal?

PS: For those who ask "what is use case?" - creating lots of relative symlinks (just as an example)

View 1 Replies View Related

General :: Command To Get Source ( Full HTTP/FTP ) Path Of 'Installed' RPMs?

Jul 17, 2010

Is there a command to know " From where a specific RPM package was downloaded & installed ( The full HTTP/FTP path ) " ? For example, if I had previously installed Firefox from here [URL] is there a specific rpm query, or any other place, from where I can get the full ftp path back.

View 1 Replies View Related

General :: Result Of Type Command Is Hashed And Shows Another Path In Brackets?

May 30, 2011

I came across this reult of the type command (hashed) in another post. (see below).

Code:

fraespappp8:/data/apps > type topic_file_publish.sh
topic_file_publish.sh is hashed (/data/apps/pnbgstk/publication/topic_file_publish.sh)
This (result = hashed) is new to me.

I wonder which kernel/distro/shell it is from.

View 1 Replies View Related

General :: Difference Between PATH=$PATH:$1 & PATH=$1:$PATH?

Jan 16, 2011

I found the following function in /etc/profile file.

[Code]...

1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??

2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH

View 14 Replies View Related

Ubuntu Installation :: 10.04 - Command Line (No Packages To Install)

May 6, 2010

Just installed Lucid from CD ROM. I have 2 HDDs. When the install screen came to ask about partitions, it didn't seem to want me to install it onto the same HDD as my XP/Ubuntu 9.10 partitions, so I installed it onto my other HDD. After it finished, I restarted and it appeared on GRUB. It takes me to a command line where it asks me for my desktop login and then my password.

It allows me to type in my login, but the password isn't so easy. It won't let me type it in. It's as if the keyboard stops working apart from the return key. I have no understanding of command line. As soon as I'd entered my password, it went on to tell me that there were no packages to install, and then stayed on command line as if I'd just opened a terminal. How would I get it to take me to my desktop?

View 3 Replies View Related

Software :: Java In PATH But Not Found By Applications?

Feb 1, 2011

I'm setting up a RHEL 4 VM and have installed Oracle Java 1.6 from a bin file to /opt. I've added it into the PATH but when I try to run a installer that needs Java to run it says that it can't find a Java installation in my PATH but when I execute a which java I get the following:

Quote:

View 13 Replies View Related

Fedora Installation :: Recompile In 9 If The Packages Installed Through Yum Install Command?

Mar 6, 2009

Currently i am using mapserver 5.0.3 , AGG 2.5-6 on fedora 9. I need some help with mapserver and AGG support. I am trying to use AGG/PNG outformat in the mapfile as well as i added precisely. When i call the link through browser i recieved the following error:

loadOutputFormat(): General error message. OUTPUTFORMAT clause references driver AGG/PNG, but this driver isn't configured. It is clearly evident that from the error, the driver is not configured. since all the mapserver version 5 suppotrs AGG rendering backend, so i checked whether mapserver supports AGG or not.

[kapil@localhost cgi-bin]$ mapserv -v
MapServer version 5.0.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=TIFF INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=MYGIS INPUT=SHAPEFILE
[kapil@localhost cgi-bin]$

I found that my mapserver doesn't support AGG means SUPPORTS = AGG is missing in the above output. But i have already installed AGG in my system. In order to clear this issue i gone through many threads in forums, but i was not satisfied with the answers. Atlast i came to know that, i have to recompile the mapserver with AGG. The following link gives you some idea about compiling mapserver with AGG in linux [URL] But the problem now i am facing is i have installed both the mapserver and AGG through YUM INSTALL command so i dont know how to recompile mapserver with AGG support. I think, there will be no configuration file normally when installing through Yum insatll command.

View 2 Replies View Related

OpenSUSE Install :: Command To Use To Remove Orphaned Packages Or Units?

Mar 8, 2011

What command should I use to remove orphaned packages or units?

View 3 Replies View Related

General :: Write Shell Script That Takes A File Path As Command-line Arguments?

Dec 14, 2010

How can i write a shell script that takes a file path as command-line arguments.and it should report whether the path denotes a file or a directory.

View 2 Replies View Related

General :: Any Command To Know About Packages

May 1, 2010

I am using Ubuntu 9.04.Is there any command to know about the packages I've isntalled so far?

View 2 Replies View Related

Ubuntu :: Lib Packages Not Found In Config Search Path

Aug 16, 2011

I just installed Netsurf, but I was confronted with "libnsbmp is not installed". So I installed libnsbmp.
The error "libnsgif is not installed" appeared when installing libnsbmp.
The error "libpng is not installed" appearded when installing libpnf.
...
I installed all that I was asked to install. However, when I was installing libcss, it said that "Package libparserutils was not found in the pkg-config search path. Perhaps you should add the directory containing 'libparserutils.pc' to the PKG_CONFIG_PATH environment variable". I have already installed libparsercutils but not in the /usr/lib dir.

What should I do to continue my installation? And anyone could tell me what are those lib stuff? I installed zlib with the apt-get install command.Can I get other lib stuff with the same command?

View 2 Replies View Related

General :: Command To Keep Track All The Previously Run Applications From All Terminals?

Apr 13, 2010

Is there a way or command to keep track all the previously run applications from all terminals that are connected to your linux machine? Something that will display the name of the application, start time, and end time of its execution?

View 3 Replies View Related

Ubuntu :: Installing Applications - Message "Requires Installation Of Untrusted Packages The Action Would Require The Installation Of Packages From Not Authenticated Sources"

Jul 26, 2010

when I try to install anything using the Ubuntu software centre, I get the following message Requires installation of untrusted packages The action would require the installation of packages from not authenticated sources.

View 1 Replies View Related

General :: Move A File To Some Path And Create That Path When It Doesn't Exist?

Oct 8, 2010

I use this command:

Code:

find ./ -atime +360

to figure out the files that haven't been accessed since 360 days. The command above will return results like this:

Code:

/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc

I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:

Code:

mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext

But I want the executed command to create this path

Code:

/old-files/uploads/2010/02/

If it doesn't exist.

View 6 Replies View Related

General :: Forcing An Absolute Path Where A Relative Path Is Expected

Feb 21, 2011

I have a program that takes a relative path as input appends it to a some path string to get the actual path.

Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.

If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.

Is there some path string syntax that I am not aware of but can achieve this?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved