General :: Command To Find The Source Package Of A Binary?

May 30, 2010

I know there's a which command, that echoes the full name of a binary (e.g. which sh). However, I'm fairly sure there's a command that echoes the package that provides a particular binary. Is there such a command? If so, what is it? I'd like to be able to run this:

commandName ls and get coreutils for example.

View 1 Replies


ADVERTISEMENT

General :: Building RPM From Source (Binary Package)

Apr 15, 2010

I have this source.tar.gz, I unpack it and cd into it, then I

Code:
$mkdir build
$./configure --lots-of-options --prefix=$PWD/build
$make
$make install

So I have inside my build folder, 4 folders, usr, lib, man, share. How do I convert this into a binary rpm package...?

View 4 Replies View Related

General :: Command To Run Program When Package Doesn't Match Binary?

Jul 11, 2011

I have a weird/stupid question. How do you know what command would start an application after installing it, if the synaptic package name doesn't match?

For example google chrome and lmsensors. The first appears as Chrome in Synaptic and the second as lmsensors, but to run them you have to type google-chrome for the first and sensors for the second in the console to start them.
When I did locate sensors or locate chrome/chromium, nothing came up in the search that would hint me that I need to run those commands. I had to rely on a google search and look for someone else's answer. Is there a better way, one that I can figure it out on my own?

View 2 Replies View Related

General :: How To Create Binary RPM From Source Tar

Jun 7, 2011

Right now to install software from source I do a ./configure && make && make install which doesn't allow for easy uninstallation (some don't come with an 'uninstall' goal, and if they do you have to keep the source around). I'd like to learn how to create binary RPMs from source tar.gz files (one reason being that it makes for easier uninstallation). I tried the following but it complains with the following errors:

Code:
$ rpmbuild -ta mysource.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)

Apparently that's what happens when there is no SPEC file in the tarball. But all the tars I've tried give this same error. Is there a simple way to create binary RPMs from source files - as an example, this source tar [URL].

View 4 Replies View Related

General :: Binary And Source Packages Difference

Feb 4, 2011

Very often we get to hear Binary / Source when we talk about installing packages...From what I understand "Binary" refers to a natively packaged installation by a Distro wheras installation from Source would entail fetching the files, Compiling and then building the package. When we say "source" where do these codes reside? Is it diffferent for different distros or one common source like "sourceforge.net" or similar?! I know it sounds silly but what is the origin of the source codes??

One general remedy if a package is not found is to install from source... So , source would refer to a "tar.gz" or "bz2" archive present at some location like "[URL]". In some cases , id it possible that some packageas are not available in "Source". When I tried to build a package for a particular distro , I was told that some dependencies are not un the source ...What is the meaning of this? So do all distros maintain the codes in their official repositories?

View 1 Replies View Related

Software :: (Ubuntu 10.04) How To Find Source Of Installed Apt Package

Jan 18, 2011

How do I find which "software source" provided a package that I installed? Some weeks ago, I installed linux-realtime. A collaborator is trying to mirror my setup and looked for that package, but it isn't in the default software sources. So, I need to tell him where I got it.

View 4 Replies View Related

Debian Multimedia :: Source Install Can't Find Package Keybinder

Dec 12, 2015

I'm installing xfce4-volumed-pulse 0.2.0-4. [URL] .....

Getting the error:
Code: Select allThe required package keybinder was not found on your system.
*** Please install keybinder (atleast version 0.2.2) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

I have installed everything available in the jessie repo with "keybinder" in the name. It seems like my path variable is configured correctly:

Code: Select allpkg-config --variable pc_path pkg-config gives me:
Code: Select all/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig

and (leaving out doc files and such) locate libkeybinder gives me

Code: Select all/usr/lib/libkeybinder.so.0
/usr/lib/libkeybinder.so.0.1.0
/usr/lib/x86_64-linux-gnu/libkeybinder-3.0.so.0
/usr/lib/x86_64-linux-gnu/libkeybinder-3.0.so.0.0.0

So I can't figure out how to get keybinder recognized.

View 2 Replies View Related

Debian :: Unable To Find Source Package For Xserver-xorg-video-ati

Jan 18, 2011

I'm trying to get the source package xserver-xorg-video-ati. My sources.list looks like this:

[Code]...

View 8 Replies View Related

General :: Bash 'can't Find' Binary Executables

Apr 16, 2009

I am working on a custom hand-held device which runs a variant of Ubuntu Linux, 2.6.18. I have a set of 4 binary files (for oprofile) which have been known to run in this environment, but when I copy them to /usr/bin, I can't run them: I get this message;root@ldogberry:/usr/bin# ./ophelp-sh: ./ophelp: not foundThis happens when I specify the full path, when I run from the /usr/bin directory -- it happens no matter what. Bash even does command-line completion on the file -- and then turns around and instantly claims the file is not found.

View 7 Replies View Related

General :: Typed The Command As Sudo Apt-get Install Dosbox The Error Occured As E:couldnt Find The Package Dosbox?

Feb 6, 2010

when i was about to install turbo c using dosbox in ubuntu on the console i typed the commandas sudo apt-get install dosbox the error occured as E:couldnt find the package dosbox

View 5 Replies View Related

General :: Command Line To Prepend 8 Bytes Of Data To A Binary File?

Jan 14, 2011

i would like to add 8 bytes of data to the begigning of a binary file.is there a command for this?

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

Security :: Tips To Run Unkown-source-binary?

Feb 27, 2010

I got some binaries from internet (amule), but am afraid of using them, exposing my system. Since some run long simulations, it is not desirable to run in slow VM.

What do you gurus say if I run it as a new user? So the binaries would just be able to read and execute my binutils... Is that harmfull?

View 7 Replies View Related

CentOS 5 :: Get The Source Of Vsftpd That Matches The Binary Distribution?

Aug 3, 2009

When I do a yum or an initial load of vsftpd, I get binary that works. I got the source file "vsftpd-2.0.5-12.el5_3.1.src.rpm" from [URL] to make a change to add chown_upload_mode to version 2.0.5

With no changes to the source, the program works but does not respond to the service command properly. See [URL]

How do I get the source of vsftpd that matches the binary distribution?

View 3 Replies View Related

Fedora Installation :: Use The Source Dvd To Install The Source Package?

Feb 19, 2010

installed the fedora 12, but dont know how to use the source dvd to install the source package.

View 3 Replies View Related

OpenSUSE :: Get A Binary Package For Kdevelop 3.5.5?

Apr 6, 2010

where I can get a binary package for Kdevelop 3.5.5?

View 4 Replies View Related

Software :: RPM - How To Package Binary Tarball

Nov 22, 2010

I'm trying to package Apache Tomcat binary tarball into a RPM package on CentOS 5.5. The idea is to package the tarball, extract it into /usr/local/, create a tomcat user, change permission on the /usr/local/tomcat install dir, copy the init startup script to /etc/init.d/

Since it's a binary/pre-compiled package, I don't need to compile the source codes.

View 2 Replies View Related

General :: Open Source Distribution With Built In Antivirus Package

Aug 5, 2009

Is there any open source Linux distribution available, which has built in anti-virus package installed, like kaspersky, mcafee or trend micro, so that I can able to scan my windows XP based machines which are on the network, and can be scan and clean remotely through this type of Linux distribution installed machine. I have search on a internet that some Live rescue Linux cd's are available, which can scan and clean the virus of windows machines. like F-secure Live cd, or knoppex Linux based Bit defender live cds that can be most effective to resolve this issue. But is there any distribution available like these live Linux distribution cd's, that can be installed in dedicated system to scan/clean the remote windows machines. Or is live cd can be installed on hard drive?

View 6 Replies View Related

General :: List/find All Regular Files In All Subdirectories Excluding Binary Files

Oct 5, 2010

I know I can do find . -type f, but that includes binary file and I couldn't find a way to exclude them with find

View 4 Replies View Related

General :: Install One Testing Package By Just Modifying Source.list File?

Apr 26, 2010

I want to pick up Python3 from squeeze, meanwhile I would like to stay with lenny with all other packages. Is this possible by just modifying source.list file?

View 2 Replies View Related

General :: Find Mechanism With Irregular Expression (find Command) Or Perl?

Sep 7, 2010

I have 4 Linux machines with cluster.My target is to find all kind of IP address (xxx.xxx.xxx.xxx) in every file in the linux system remark: need to scan each file in the linux system and verify if the file include IP address if yes need to print the IP as the following

more /etc/inet/file.example1

182.23.2.4
255.255.0.0
10.10.1.1

View 1 Replies View Related

General :: Find/grep/wc Command To Find Matching Files - Print Filename And Word Count?

Sep 11, 2009

I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:

wc `find . ( -name "*.as" -o -name "*.mxml" ) -exec grep -H HeightResizableList {}` ;

View 10 Replies View Related

General :: Command Line - Use Find To Find Text Files?

Jul 15, 2011

Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.

View 2 Replies View Related

General :: Get "command Not Found" When The Binary File Exists?

Feb 21, 2011

I have just compiled a linux build of tests in my VirtualBox VM. When I run it, I get:

bash: ./tests: No such file or directory

I did some research, and found it could permissions, missing libraries or different architecture. So I checked those:

ls -al tests:

-rwxr-xr-x 1 me me 9948598 2011-02-21 01:54 tests

file tests

tests: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped

uname -a
Linux DevBox 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
ldd tests:
linux-vdso.so.1 => (0x00007fff7db90000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f10ef14c000)

[Code].....

View 4 Replies View Related

General :: Find Setuid Files Using FIND Command?

Jan 25, 2009

I know how to search for normal files but can you let me know " How to search for 5 setuid files on the system. Also explain, for each file, why setuid mechanism is necessary for the command to function properly"

View 1 Replies View Related

General :: Find A File In Directories Without Using Find Command?

Aug 3, 2010

am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.

View 14 Replies View Related

General :: Find The Bash Source Files Of Programs In Mac OSX?

Jan 6, 2011

I am currently writing some convenience methods for my terminal in my bash_profile and am sure if what I am writing is "the best way". I figure a good way to verify whether what I'm doing is right or not would be to find some source code of more established programs and see how they do it.My question then is, where can I find this code on my Mac? An example is, with Macports installed, where is the source code that opens the port interactive console when I type nothing but "port" in my shell?(I added Linux in the title even though I am on a Mac because I assume the answer would be the same for both)

View 3 Replies View Related

General :: Shell Script To Run Source Code And Find All Its Dependencies?

Aug 1, 2010

this is srinath,newbie to linux and shell scripts.am in need of shell script,which have to checkout the source code(C/C++) from CVS server to a specified directory and compile that source code and get all its dependency files to a specified directory.

View 2 Replies View Related

General :: Execute A Command When Power Source Changes

May 20, 2010

My laptop has a dead battery. Even when it's fully charged, if the power cable is pulled out it only lasts for about 4 minutes before it dies. I'm running Ubuntu Lucid Lynx 32-Bit. What I want to do is create some sort of script or program that will immediately set my computer to go into hibernation once it detects that the power cable has gone dead. I'm willing to look into all ways of doing this. I can program in C, but I'm not familiar with the API used to manage Power Management in Linux.

[Code]...

View 5 Replies View Related

General :: Source Code For Free Command?

Dec 8, 2009

Where is the source implementation of the free command?

View 2 Replies View Related







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