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
ADVERTISEMENT
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
View Related
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
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
Jul 20, 2010
I have a multithreaded program running. The threads are created by using pthread_create(). The ps shows a pid value for each thread in the process. The name of the thread is all the same as the parent process. I want to match the PID values in the ps output to the threads in my program. But when I used getpid() in each thread, the value I get is different from what ps shows. How do I match the pid value in ps output to the threads in my program.
View 1 Replies
View Related
Apr 14, 2011
I have built the linux-image deb using uclibc as cross compiler but I failed to install the package to the root file system on my CF card. It shows the following ERROR message :
Code:
dpkg: error processing linux-2.6.26_2.6.26-1_uclibc-linux-i386.deb (--install) :
Package architecture (uclibc-linux-i386) does not match system (i386)
Errors were encountered while processing :
linux-2.6.26_2.6.26-1_uclibc-linux-i386.deb
View 1 Replies
View Related
May 28, 2010
I have a LAMP server that have been working allright for some time now.
I have been running 'yum update' on it every month without problem up until this morning.
Today when I try to update I get the following:
Error Downloading Packages:
1:net-snmp-libs-5.3.2.2-9.el5_5.1.i386: failure: RPMS/net-snmp-libs-5.3.2.2-9.el5_5.1.i386.rpm from updates:
[Code].....
View 19 Replies
View Related
Apr 6, 2010
where I can get a binary package for Kdevelop 3.5.5?
View 4 Replies
View Related
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
May 12, 2010
Is their a program in ubuntu that can match adobe acrobat 9 pro extended?Or what is the best ubuntu PDF program, that can allow the most features seen in adobe acrobat 9 pro extended.
View 1 Replies
View Related
May 21, 2010
I have Ubuntu 9.10 running on Dell Dimension 8400, 1 gig ram, Pentium 4. No other OS installed. Last night I decided to upgrade from 9.10 to 10.0.4 through Upgrade Manager with the upgrade button. The upgrade ran over an hour and errored in the "Installing the upgrades" step with the following messages on the Terminal screen:
"rpmdb: Program version 4.8 doesn't match environment version 4.7.
error: db4 error (-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environmnet version mismatch
error: cannot open Packages index using db3 - (-30971)
RPM failed to open database, cleaning it up..."
I went to bed without doing anything. This morning at 7:30am EST I checked the status of this and nothing changed to the screen it was still stuck on this error with progress bar at 4 minutes in Upgrade Manager. I can move my mouse and even open Firefox 3.6.3 to search for issues within Ubuntu environment so I am not frozen. I haven't tried anything else yet.
View 3 Replies
View Related
Mar 5, 2010
My hosting server does not allow exec() or system() calls, for security reasons. I can call a cgi process in two ways. From a .shtml page, i can issue a directive like code...
View 11 Replies
View Related
Aug 3, 2011
I just installed OS 11.4 in my own language; i regularly set it in the options, but it still shows english menus (only firefox is in my own language...)
View 3 Replies
View Related
Jul 12, 2010
I am trying to implement a chroot directory for a group of sftp users who all manage a shared directory. The relevant portion of my sshd_config file is below:
[Code].....
this is the latest yum reports as available. according to the error is would seem both 'Match' and 'ForceCommand' statements are not supported in this version of ssh? Do I have any options aside from installing from tarball from openssh.org? If I do that would that mean I could not use yum to maintain ssh on my system anymore? Not sure what to do, I have to chroot this group of users, I can't just chroot at the global config level because I need to still be able to ssh as my admin user to this box to administer it. I need the chroot'ing only for sftp purposes.
View 4 Replies
View Related
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
Mar 26, 2009
I have tried to execute the below ns.c program in RHEL 4 by using the command
#gcc -c ns.c -o ns.o
i am not getting any errors but while i am running object file by using the command
#./ns.o
i am getting the below error
bash : ./ns.o cannot execute binary file
/* trinoo daemon */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
[code].....
View 4 Replies
View Related
Sep 27, 2010
how do i know the dependencies of the program upon downloading the source code of this application?
View 3 Replies
View Related
Jun 2, 2010
It doesn't matter what theme I use, the AWN file browser launcher applet always looks the same...I strongly dislike inconsistencies.
View 6 Replies
View Related
Feb 17, 2011
In trying to solve a friend's lack of foresight, i have currently disabled my system.
I was using dd_rescue to make a copy of a drive with a corrupt and unfixable Partition Table. I was a fool, and had a drive mounted to /media/Storage, but ran the backup to /media/storage.
Thus, dd_rescue completely filled my primary drive before informing me that there was a problem.
I don't really trust myself with command line work, so I foolishly sudo'ed nautilus and deleted the folder /media/storage.
Unfortunately, I didn't realize it, but the available space on the drive still read 0bytes.
I tried Terminal work to do a sudo apt-get clean command, but for some inane reason, the laptop screen won't support the display setting for the Terminal login, so I just had to hope that I was doing it right.
I wasn't, and decided to try working from a Live CD so I could see what I was doing.
the folder /root/.Trash/ doesn't exist on Ubuntu's install drive, and I can't figure out why the properties of the drive say "contents: 241310 files, 3.7 GB" but also "Total capacity: 52.8 GB. Free space: 0 bytes"
Any suggestions on how I can get this to shake out?
View 3 Replies
View Related
Aug 3, 2011
running top shows:
Tasks: 165 total, 1 running, 164 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.5%us, 2.2%sy, 0.0%ni, 93.9%id, 0.5%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3721884k total, 3376604k used, 345280k free, 107524k buffers
Swap: 3855356k total, 40k used, 3855316k free, 2013536k cached
but System Monitor tells me that only 33.9% (1.2gb of 3.5gb) is being used. Why is the memory used difference so great?
View 3 Replies
View Related
Mar 17, 2010
I upgraded from F11(x86_64) to F12 with no reported errors. (expected an update session to follow, but it didn't.)
Tried a manual "yum update" and it aborted with a notice that libssl.so.8 was not found (required by python-2.6.2). I didn't find anything useful at wiki.linux.duke.edu/YumFaq.
The DVD installs python-2.6.2-2 (8/21/09) and openssl-1.0.0-0.10.beta3 (10/16/09). /usr/lib/libssl.so.10 is a symbolic link to libssl.1.0.0. libssl.so.8 is not found, really.
I thought of replacing openssl with one from F11 but it was required by too many packages - couldn't remove.
I tried to find a later rpm of python, but couldn't locate any Fedora directories with individual packages.
I've searched the web and the forums. What am I missing?
View 3 Replies
View Related
Aug 2, 2010
If I have a panel larger than standard size, the notification icons scale accordingly but the indicators stay the same size so it looks pretty rubbish. I would like the notification icons to stay the same size.How can I fix it?
View 1 Replies
View Related
Oct 21, 2010
I have the following query:
Code:
$sql="SELECT table1.datetime, table1.user_id, table2.ip, FROM table1,table2 WHERE id='$id' AND (table1.id = table2.id AND table1.datetime = table2.datetime)";
In table2 the datetime fields are about 1 to 2 seconds off due to the source of the data, which I cannot change.
Is it possible via a query match table1.datetime & table2.datetime by HH:MM (ie. to the minute instead of to the second)?
View 1 Replies
View Related
Sep 14, 2010
For our class project we are going to use HyperTerminal to communicate to something we are building that is attached to our laptops using USB. We're supposed to use HyperTerminal.URL...I can't believe that a program that does the same thing doesn't exist in Linux. What programs that can do the same thing are available in Linux and Mac OSX?
View 5 Replies
View Related
Nov 16, 2010
How hard can it be to delete a program in debian. search the web to check that i am doing the right thing to from the start to uinstall and still the program hangs thereOkey this is what i have done.
Code:
apt-get remove bacula
Code:
[code]...
View 14 Replies
View Related
Aug 13, 2011
I have installed Ubuntu 11.04, 64 bit and now I am trying to install/configure MFC-7420 scanner part (printer works fine)I tried to follow the steps listed at http://ubuntuforums.org/archive/index.php/t-590793.html, but I don't have etc / udev / rules.d/45-libsane.rules file to edit and can not continue with the remaining steps of the guide.
I also tried to follow the steps provided by the Brother Solution Center http:[url].... I have downloaded brscan2 64 bit and installed without error but when I tried to install the brscan-skey-0.2.1-3.amd64.deb using >sudo dpkg -i --force-all brscan-skey-0.2.1-3.amd64.deb I get the following error:
************************************************** **************************************************
sudo dpkg -i --force-all brscan-skey-0.2.1-3.amd64.deb
[sudo] password for aUser:
dpkg: warning: overriding problem because --force enabled:[code].....
Which dependencies am I missing? or What am I doing wrong?
View 1 Replies
View Related
Oct 22, 2010
I have installed a package via command line via following command
sudo apt-get install ubuntu-restricted-extras
How I can remove this package ? what is the command ?
View 1 Replies
View Related
Apr 4, 2009
I have many servers running CentOS 5. I noticed yesterday many had a notificationthat updates were available. I clicked update and they all fail using the GUI. WhenI run yum update it shows packages to be upgraded and asks me to confirm. I enter yes but Yum fails on the first package. I wonder if this has something to do with therelease of 5.3?I get the same failure if I run a yum upgrade too.
Total download size: 465 M
Is this ok [y/N]: y
Downloading Packages:
[code]....
View 19 Replies
View Related
May 21, 2010
I want to design c program can run terminal command and put the output of command into file... How can i do this ? for example :
string s = " iwlist scan "
and when i run the programm this command applied and put the output into specific file
View 1 Replies
View Related
Jun 11, 2010
what command tell me the version of a program, e.g. make version 2.64?
View 2 Replies
View Related