Ubuntu :: Common Install Path For Software?
Mar 1, 2010In WinXP they have program_files folder that houses the most installed software on their PC's. Where does Ubuntu house most of it's installed programs?
View 1 RepliesIn WinXP they have program_files folder that houses the most installed software on their PC's. Where does Ubuntu house most of it's installed programs?
View 1 RepliesI have installed php 5.3.6-4 on centOS 5.6. When i try to install some modules of php then it gives an error
php53-common-5.3.3-1.el5_6.1.i386 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
[code]....
I have reinstall it twice but each time i get same error.
This guide isn't going to be updated anymore, as there is gNatty, and I've switched to Lubuntu. The reason? GDM kept crashing and issues kept coming up that reduced the overall functionality of my own computer. The PPA seems like it changes slightly to where things may break, if something does break, try to run: sudo apt-get install gnome-shell gnome-session again, as it looks like a lot of the time gnome-shell and gnome-session aren't being installed. FIX for issue opening certain applications (like games) Do the following in terminal:
Code:
echo "PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"" | tee -a ~/.profile Logout and log back in and that should fix the issue. NOTE: You have to do this for each user that logs into the system if they can't access games or that. FIX for .ICEauthority issue! There's another method besides this one, and it involves just installing the following:
[Code]...
I am trying to follow this site [URL]... but I cannot install the bstheme-common package. I download the .deb and then try sudo dpkg -i bstheme-common-_0.1-1_all and I get this: Preparing to replace bstheme-common 0.1-1 (using bstheme-common_0.1-1_all.deb) Unpacking replacement bstheme-common
[code]...
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
I want to install php-soap on centos 5.2 server. When i run the command, yum install php-soap, i get the error:
php-soap-5.1.6-24.el5_4.5.i386 from updates has depsolving problems --> Missing Dependency: php-common = 5.1.6-24.el5_4.5 is needed by package php-soap-5.1.6-24.el5_4.5.i386 (updates) Error: Missing Dependency: php-common = 5.1.6-24.el5_4.5 is needed by package php-soap-5.1.6-24.el5_4.5.i386 (updates) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest The php common file is not actually missing, its there with the exact name. The problem seems to be that the php-common file is installed from some other repository, thats y it is creating dependency problem. The only solution i found is to remove the current php-common file and install it again, but then lot of programs get uninstalled with it, which is y am afraid of doing that, since its a vps, and some 10 sites are working on that.
I have a problem as below:
When i setup pam_wheel.so in /etc/pam.d/su, it runs correctly. But when i set up pam_wheel.so in /etc/pam.d/common-auth (include file), i can't login to anyone via SSH. Details configuration of /etc/pam.d/su and /etc/pam.d/common-auth:
/etc/pam.d/su:
auth include common-auth
account include common-account
password include common-password
session include common-session
[Code]....
I am trying to install gcc in RHEL 5.4
These is the output:
I can not install the glbic-common file cause it give me a conflicting error (the package is already install but it is somehow not recognize by the system)
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.
Java applet not loading image with relative path(e.g. images/1.jpg) but loads image with absolute path(i.e. from /root/user/images/1.jpg) . This is a problem when i want to host the applet on web server
View 2 Replies View RelatedI 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?
Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.
View 3 Replies View Relatedhow to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.
View 2 Replies View RelatedI have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup
View 7 Replies View RelatedCurrent script:-
prefix=user@my-server:
find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do (
cd "$path" || exit $?
[code]....
How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?
I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.
View 2 Replies View RelatedI have downloaded java and installed it with chmod +x and then ./bin package.
Hereunder is an output from CLI (putty)
I understand that the system knows the java is in a wrong place but if I do java -version it finds it correctly. I don't know and I don't understand how do I need to tell the OS that the java is somewhere else, I just did that with export java home and java path but still dosen't work, it keep tells when I do whereis java "java: /usr/share/java"
Here is another output:
I have been trying to install the NumPy package for Python on to my home directory, as I run as part of a server and do not have permissions to install new packages in the Linux server.
I have set up Python in my home directory, and have configured ~/.bash_profile to find my local Python (which works, confirmed by testing).
However, when I attempt to install the NumPy package, I get the message error: could not create '/usr/local/lib/python2.6': Permission denied Which I find strange because I do not see why it would need to install files anywhere except my local Python directory.
how I might be able to specify the directory in which files are installed?
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 View Relatedtrying to install sunray server 5.0 which claims to support RHEL 5.3 or greater, but I can't even manage to get the utinstall to find the jre, which is installed. java -version is fine, which java, is fine. I've tried a zillion paths. Does java perhaps have to be in a specific location? Wouldn't the path to the jre normally be the ~/jre/bin the utinstall looks like: Enter Java v1.6 (or later) location [/usr/java]: No JRE found at /usr/java
[Code]...
I failed to install flash-plugin on my firefox My firefox is installed on path "/home/<<user>>/firefox"
1) I tried to install flash plugin by rpm -Uvh flash-plugin-10.0.32.18-release-i386.rpm It is not working as the files are not installed on the folder /home/<<user>>/firefox/
2) yum install flash-plugin It returns "nothing to do"
3) I extracted and copied the files in the rpm to /home/<<user>>/firefox/flash-plugin then create a link by ln -s /home/<<user>>/firefox/flash-plugin/libflashplayer.so /home/<<user>>/firefox/plugins/libflashplayer.so When I open the firefox, it crashed.
How could I install this plugin manually?
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]....
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.
Does anyone know how to get the path with a inode number by C programming?
Or can I get the absolute path without giving a "path" but a inode number by C?
like this: get_path(unsigned inode);
not such this function: getcwd(".", xxx);
taowuwen@gmail.com
I just installed RedHat and I need to install a compiler (among other things). When I go to 'configure' gcc I get:
configure: error: in `/Compiler':
configure: error: no acceptable C compiler found in $PATH
Why in the world would you require a compiler on the install of your compiler!? I may be dumb in many respects, and I'm sure that people will attest to that, but I'm not that dumb...How do I install gcc without a compiler? What, specifically, do I do with the configure script (or executable, I don't know what it is...)
I am having a big problem trying to allow PHP to scan files, using clamav libs in PHP.
I downloaded the relevant files from:[url]
Anyways I am stuck on the tutorial for installing it in the 'INSTALL' file, where it says to run the command:
Quote:
It runs for a duration but then halts on the following error:
Quote:
It suggests that 'configure:3465' that the files where not found going by the line above that.
Not being in the default path, does anyone know where to make libclamav work?
An easier way of locating such files that it's looking for?
running Windows 7 64bit with VMware Workstation 7.01-build 227600. I have some knowledge of Linux, I have installed f12 and have updated the system as of 03/22/2010. All updates completed successfully.
1) How do I install VMTools on the f12 (after mounting the CD/DVD tool package)
2) How do I update the gcc files it says are dependencies?
Here's what I get on installation:Before you can compile modules, you need to have the following installed...
make
gcc
kernel headers of the running kernel
and then I am prompted for this input from the install script:
Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
and this is where I get stuck. How do I get around this or satisfy the requirements for the install?
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:
Todays update broke my display again. The windows are hanging off the left side of the screen.
Nvidia current correctly configured 1920x1080, xorg.conf seems ok too.
System - Administration - Additional Drivers shows nvidia current, but mentions that the driver is activated but not currently in use
How can I get Ubuntu to use this driver?
I am trying setup nfs mount points on my system. when i try to restart nfs-common servic, I get following error. client :~ sudo /etc/init.d/nfs-common restart bash: /etc/init.d/nfs-common: No such file or directory
apt-get install nfs-common gives this message :
apt-get install nfs-common
Reading package lists... Done
Building dependency tree
Reading state information...
nfs-common is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.what am i doing wrong? I'm running Linux client 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux (karmic)