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


ADVERTISEMENT

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

General :: Downloading Source RPMs - Fedora SRC

Apr 19, 2011

Using yum installs the binary version of the software. Is it possible to use yum to download the src rpms , because i have seen one repo called Fedora src. I am using Fedora 11.

View 5 Replies View Related

General :: Building RPMs From Compiled Source?

Jan 13, 2011

I already have compiled the source and I want to make an rpm. What do i do with it? Can i utilize the make file?

View 1 Replies View Related

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 :: Shell Script To Check If Rpms Is Installed Or Not?

May 1, 2010

i have a input text file contain 10 rpms and they are old versions i need a shell script to check if these rpms is installed or not and if the newer version is installed and i need all the results in one output text file contain every rpm and its condition ( the same) or (new )or( not installed)

View 3 Replies View Related

General :: Run An Ls Without Getting The Full Path?

Nov 11, 2010

I want a simple list of files in a directory that is not my current directory. I run ls /other/directory/*.txt and get:

/other/directory/file1.txt
/other/directory/file2.txt
I want:
file1.txt
file2.txt

How can I get the second list?

View 4 Replies View Related

General :: What Is Full Path Name

Dec 15, 2010

What is a full path name?

View 6 Replies View Related

General :: Downgrade And Remove Rpms In The Same Command?

Mar 22, 2011

I have a problem where in order to satisfy RPM dependencies, I need to remove packages and downgrade them in the same command. Imagine the following situation Before

A v2.0 depends on B,C
B v2.0 depends on C > 1.0
C v1.1

After

A v1.0 depends on C
C v 1.0

If I issue a

$ rpm -Uvh --oldpackage Av1.0.rpm Cv1.0.rpm

it will fail with "B depends on C > 1.0" If I issue a

$ rpm -e B

it will fail with "A requires B" so I appear to be in a catch-22. The obvious solution is to use a "--nodeps" and remove B before doing the downgrade, but I am creating these commands programmatically so I was hoping to use dependency resolution as a sanity check against an incorrect script. Is there any way to perform this downgrade without breaking the RPM dependency sanity checks by force?

View 2 Replies View Related

General :: Full Path While Zipping?

Jun 10, 2011

I have the following files:

~/Dir1/file1.txt
~/Dir2/file2.txt

Then I use the following command:

cd ~ zip out.zip /Dir1/file1.txt /Dir2/file2.txt

In the out.zip i can see two directories (dir1 and dir2) but want only these two files (file1.txt and file2.txt) were in the root of out.zip! I thought the "-D" option is what I need, but it doesn't work

View 1 Replies View Related

General :: Getting The Option To Show The Full User Path

Jan 21, 2010

- When using SU - , I need the option to show the full user path (root user, home dir, etc..), not just root@name. Is there one?

-If not in sudoers file, how can a user get in to edit a file for example. Is that possible?

-Does service ssh restart disconnect users?

View 6 Replies View Related

Fedora :: Finding The Openssh 5.1 And 4.3 Source Rpms?

Nov 16, 2010

I am looking for openssh 5.1 and 4.3 source rpms. Where can i download them ?

View 3 Replies View Related

General :: Asking Cp To Copy Preserving The Whole Source Path

Jun 13, 2011

cp (GNU coreutils 6.9).

I have these files:
Code:

I want to copy them to /xp/borrar/ such that the result is

Code:

Can this be done with the cp command alone?

View 7 Replies View Related

General :: Change Installation Source Path

Sep 20, 2010

when i tried install any package using add/remove software it's go download in the web what i need package.i need change the installation source via cd or dvd drive,.So i want to change the installation source path.Please guide to me how to change the installation source path.

View 5 Replies View Related

SUSE / Novell :: Installed Mplayer From Source But The Gui (gmplayer) Does Not Work - Command Not Found

Sep 7, 2010

i ran into a problem when i installed mplayer on suse 11.1 from source, it works just fine BUT it has no GUI.When i try to use the command "gmplayer", it returns 'bash: gmplayer: command not found

View 3 Replies View Related

General :: Find Out A List Of RPMs Installed Using "force" Option?

Apr 12, 2011

I'm just wondering if there is an easy way I can generate a list of RPM packages which have been forcefully installed on the system (got a couple of servers transitioned).

All servers are RedHat-5 if that matters.

View 1 Replies View Related

Fedora Hardware :: Canon IP3600 On F13 - Two RPMs Installed

Jun 3, 2010

Okay, according to CUPS, I've installed this printer, but whenever I try to print, it tells me it's completed, but the printer does nothing. So I search a little and found some Canon Linux drivers from Canon Europe. I downloaded the RPM version, which gave me two files: cnijfilter-common-3.00-1.i386.rpm and cnijfilter-ip3600series-3.00-1.i386.rpm. So I installed the common file, followed by the ip3600 file, using rpm -ivh [file name] at command line. The RPM install went fine. However, what do I do now? I tried searching the CUPS list of printers, and nothing new is listed (oddly, CUPS seemed to have drivers for virtually every iPxxxx printer except the 3600 when I first installed). I tried restarting cups, no difference. I even tried to print (suspecting nothing had changed, but hoping) and it still thinks it's printing, but nothing comes out. What did installing those two RPMs do? Did it put a file somewhere that I need to reference in the cups admin page?

View 5 Replies View Related

Software :: Yum Not Finding - Listing Installed Rpms - Missing Dependency

May 18, 2010

I have a disk of all the rpms (just the rpms) of RH Ent. 5.1. I needed to intall some packages from it.

For that I created a local repository.

Following is what I did:

1. mounted DVD in /media
2. Issued createrepo on /media (Now the packages are in /media/mycdrom/RHE5Rpms and the repodata is in /media)
3. I added the following in the /etc/yum.conf

Now when I try to install, for example, qt4-devel, it can resolve the dependencies for one level. For example, it resolves libpng-devel (which is needed by qt4-devel), but it fails to resolve libpng (which is needed by libpng-devel). But libpng package is both available in the DVD and is already installed on the machine.

Following is the tail of error messages I get after issuing the command 'yum install qt4-devel'

All the above packages are available through the DVD and already installed on the machine.

View 3 Replies View Related

General :: Setting JAVA_HOME - What Is The Default Path They Are Installed

Dec 30, 2009

I installed "jdk1.6.0.bin" and "jre1.6.0.bin" successfully. But I don't know where they are installed. I can't find anywhere. What is the default path they are installed.I want to set JAVA_HOME.

View 1 Replies View Related

General :: Locate The Path For MySQL Installed Through LAMP?

Feb 23, 2011

I am trying to locate the path for MySQL installed trough LAMP. if someone could point it for me or how to locate this path.

View 1 Replies View Related

General :: Installed Qt Libs - Set Environmental Variable PATH

Sep 5, 2010

I have bash. I installed Qt libs and want to set environmental variable PATH, I tried some stuff from qt tutorials..

Here is what i tried:

Code:

and it does nothing so i tried

Code:

then checked path

Code:

Now there are two issues
1) the make gives error that header not found( probably make don't have the path)

2) when i closed the terminal and opened it again the PATH I newly entered was not there !

View 3 Replies View Related

CentOS 5 :: Install Over Tftp/http Fails Due To Invalid Path?

May 2, 2011

I have a problem installing CentOS 5.5 over lan. I set up a dhcp3 server and it works, client got an ip. I set up a tftpd-hpa server and it works, client can boot the install image of CentOS 5.5 I set up an apache server and it seems to be impossible... In the installation marathon I clicked through the menu to the choice of the web server where my installation files are available. I enter the ip 192.168.138.1 and the path CentOS-5.5 and CentOS tells me "Unable to retrieve http://192.168.138.1//CentOS-5.5/images/stage2.img" . Thats right because the two slashes are not right. Where the hell come the two slashes from???

I edited my httpd.conf like this:

<Directory /tftpboot/CentOS-5.5>
Options Indexes
AllowOverride None
</Directory>

[Code]....

View 4 Replies View Related

General :: How Does Cp Command Determine Source And Destination Locations In Command?

Apr 14, 2011

When you run the following cp command in the BASH terminal, how does Linux know which files are the source and which are the destination when copying multiple files from one location to another?How does Linux know that the services, motd, fstab, and hosts files are the source and the /home/fred/my_dir is the destination?This question came up in a Linux class and I was not sure of the answer. I was thinking it is based on the source path entered ending with a file path and the destination being a directory, but was not sure.

View 4 Replies View Related

Debian Multimedia :: HTTP Path To IP Camera Including User And Password

Jan 30, 2015

I have a ELRO C903ip.2 camera. I want to use it on zoneminder but am having trouble connecting. I have set a basic account of visitor with username and password both set as visitor.

The question is what is the syntax to the cameras ipaddress via http passing the u/n and p/w at the same time as part of the http string? I have tried the web page: [URL] .... to no avail, i must be missing something pretty obvious but just can't see it for looking.

View 2 Replies View Related

General :: Using Command Line To Connect To A Wireless Network With An Http Login?

Apr 18, 2010

I'm trying to connect to a wifi network where it hijacks all requests and redirects you to a page where you have to agree to a terms of use before it lets you connect to the actual outside world. This is a pretty common practice, and usually doesn't pose much of a problem. However, I've got a computer running Ubuntu 9.10 server with no windowing system. How can I use the command line to agree to the terms of use? I don't have internet access on the computer to download packages via apt-get or anything like that. Sure, I can think of any number of workarounds, but I suspect there's an easy way to use wget or curl or something.

Basically, I need a command line solution for sending an HTTP POST request essentially clicking on a button. For future reference, it'd be helpful to know how to send a POST request with, say, a username and password if I ever find myself in that situation in another hotel or airport.

View 2 Replies View Related

Programming :: Get Full Path Of File In C?

Oct 28, 2010

Is there a way to get the full path of a file in C? I have a method that accepts a file name as an argument and is supposed to read the content of the file. The file name might include "../" so this might lead to accessing files outside of the current directory. I tried to use fstat but I could not figure out how to get the full path.

[code]...

View 3 Replies View Related

General :: Uninstall App Installed From Source

May 7, 2010

I installed poedit program from source folder then i delete this source folder , what if i want to uninstall it ? when locate poedit it give :

Code:

I cant command make uninstall coz i dont have source file ?

View 5 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

Ubuntu :: Not Display Full Path In Terminal?

Feb 5, 2010

Is there a way to NOT display the current full directory path in the terminal? I'd like to set the default to be just the current directory instead of everything back to ~.

View 2 Replies View Related

Ubuntu :: Nautilus: Get The Full Path To Display?

Dec 26, 2010

How can I get the full path to display in Nautilus so I can copy it to the clipboard and/or type a path manually?

View 7 Replies View Related







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