General :: How To Install EXE Files On Absolute
Feb 3, 2010
I am trying to install the livestream procaster on absolute linux. I've downloaded it and its a .exe file when i click it a mesage comes up that says "No run action specified for files of this type (application/x-ms-dos-executable) - you can set a run action by choosing 'Set Run Action' from the File menu, or you can just drag the file to an application."
View 4 Replies
ADVERTISEMENT
Sep 26, 2010
I need to extract the absolute directory from the type command when I pass it a program name. E.g.
Code:
>type cat
cat is hashed (/bin/cat)
There is one other case (I believe):
Code:
>type lpr
lpr is /usr/bin/lpr
I thought of using regex, but it returns the whole line, not just the match. In addition, there is no option cited in the man page for type that returns just the command directory.
Note: this is part of my solution to a programming assignment in bash shell scripting.
View 1 Replies
View Related
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
Jun 27, 2011
I mostly do .Net development in a Windows 7 virtualbox. I use the host for simple things such as web browsing, skype, chat, etc. All things that are fantastically available on Ubuntu which I in many ways prefer. So this has been begging the question for a while: why even use Windows on the host, seems like a Linux host would use less resources (untested) and allow my Windows VMs to run better while allowing me to do my non-development stuff in an interface I prefer.
So easiest way to do this - I downloaded wubi and installed Ubuntu. I installed in it Virtualbox, and then start add and start my VM to get this message: Failed to open a session for the virtual machine VS2010, Could not open the medium '/host/Users/George Mauer/Virtualbox VMs/VS2010/C:/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi; VD: error VERR_FILE_NOT_FOUND opening image file '/host/Users/George Mauer/Virtualbox VMs/VS2010/C:/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi; (VERR_FILE_NOT_FOUND).
You see what's going on? With wubi, the windows drive gets mounted at /host/ but virtualbox is for some reason appending an absolute path! I would very much like to use the same exact VM file since it would retain Snapshots and I would be able to use it in either windows or Ubuntu mode. However, even if I try to simply mount the drives into a new VM I get an error: Failed to open the hard disk /host/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi. Cannot register the hard disk '/host/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi' {guid...} because a hard disk '/host/Users/George Mauer/VirtualBox VMs/VS2010/C:/Users/George Mauer.VirtualBox/HardDisks/VS2010.vdi with UUID {guid...} already exists.
This is especially odd since this worked fine with my recently created Android VM, though this might have something to do with the fact that VirtualBox recently changed their default VM storage locations. Any idea how to fix this? My Linux-fu is weak but I seem to remember from CS class something about symbolic links that might be relevant here?
View 1 Replies
View Related
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
May 31, 2011
Current 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?
View 7 Replies
View Related
Feb 14, 2011
how to use absolute sections in gnu assembler?
View 2 Replies
View Related
Jan 30, 2011
I got the system installes. But it seems that I can't connect to the internet. Trying to pdate the system via gslapt doesn't work. Always says the repositories can't be reached. I use a home network with a skydsl modem and a router. All my other pc's can connect without a problem. It seems that something is not working right here with my Absolute install. I can't even set up a browser or add the Gnome BSG as said with lynx.
View 14 Replies
View Related
Jun 12, 2011
What would be the minimum iptables rules for laptops that travel a lot, and might connect in potentially hostile networks? I came up with (log rules left out):
Code:
iptables -F
iptables -X
iptables -P FORWARD DROP
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m conntrack --ctstate INVALID -j DROP
[Code]...
View 7 Replies
View Related
Dec 20, 2010
I want to assign an address location to a pointer and wanted to display the value at that memory location.I wrote a small program for this and it is like this : (i am using gcc 4.4 compiler)
# include "stdio.h"
int main()
{
unsigned int *a;
a=(unsigned int *)0x3f8;
printf("%u",*a);
return 0;
}
But it is giving Segmentation fault
View 14 Replies
View Related
Jul 26, 2009
I get the following error when I try to boot vista thru grub. This is what I did, Got a new Hard drive installed it. Configured the bios to look at the new hard drive first. after installing vista on the new hard drive I switched the boot order and added the lines for vista(last 3 lines) in /boot/grub/grub.conf. I get the following the following error.I have to change the bios everytime i have to boot vista.
error 1: Filename must be either an absolute pathname or blocklist
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.29.6-213.fc11.x86_64)
[Code]...
View 3 Replies
View Related
Jun 13, 2010
I wanted to read out the absolute file-path (filename) as sorted in a folder (on Linux). The reading the file-paths is ok but I have problems in sorting.
Code:
selectedDirectory = fl_dir_chooser ("Select Imagedirectory:",NULL,0); //This is just a widget to show the folder.
DIR *d;
dirent *de;
[code]....
The files -105.dcm, -106.dcm, -107.dcm lie in the folder at the bottom and -36.dcm, -37.dcm- at the top. The program compares 1 and 3 of 105 and 37, 1 is lesser than 3, then prints out first, but does not know that 105 is three digits and 37 is two digits.
View 1 Replies
View Related
Apr 6, 2015
Bizarrest thing after swapping in my HDD from an old laptop into a new one. My LXDE panel temperature display is showing "-273," AKA absolute zero in celcius. I've done a bit of googling for lxde temp sensor, and most of the discussions I saw referred to installing lm-sensors, which apparently I did not yet have, although on my old laptop the temperature was shown correctly. I believe the automatic sensor location is off and I need to give it the correct location manually. I am unsure of how to do that, and it makes sense that it's hardware specific. After installing lm-sensors, I saw that sensors-detect provides me with a list of the correct temp sensors in my computer, but I'm unsure how to save those results so the computer can use them.
View 5 Replies
View Related
Sep 24, 2010
Is there a way to cd directly from a symbolic link to the real absolute directory?
View 3 Replies
View Related
Jun 25, 2010
Ok so first off my hardware Asrock 775dual-vsta Master and Slave hard drives on primary IDE Absolute Linux 2.6.33.3 ; Dos 7.1 (yes Dos 7.1 by itself no windows whatsoever) Absolute Linux=sda1 ; Dos=sdb1
Ok so I can't boot into dos from lilo boot menu. It boots fine however if I tell the bios to boot from the second HDD first (DOS). But it's inconvenient to tell the bios every time on power-up to choose the second hard drive as the first boot device. Here is my lilo.conf boot section
# Linux bootable partition config begins
image = /boot/bzImage
initrd = /boot/initrd.gz
root = /dev/sda1
[Code]...
Either way when I boot from the first hard drive (linux hard drive) and lilo pops up, I select dos and hit enter then nothing... It just sits there and ctrl-alt-delete can't reboot my comp as it's frozen.
I don't wanna have to tell the bios to select my dos hard drive as my primary boot device everytime I wanna boot dos. I wan't my linux hard drive to be my primary boot device and have my dos hard drive selectable from the lilo boot menu. Why can't I do that? What am I doing wrong? I thought this was easier than dual booting from a single hard drive?
View 5 Replies
View Related
Jul 31, 2010
Are there programs for this? Really really simple page layouts that you can edit and host from a graphical desktop that has your web browsers and Pidgen and VLC media player and everything running on it at the same time?
View 9 Replies
View Related
Oct 22, 2010
I have a Dell Vostro 1220, with Intel 4 Series Express Chipset Family graphics card. I work on OpenSuse 11.3 (64bit), on the latest kde.I work on an extended 1680x1050 screen on the left of my laptop screen (1280x800). I set this with Kxrandr and it worked great,a while... Now, it shows a black band on the right side of my laptop screen. I can live with that. But the mouse does not recalculate for this difference, so that I need to click 1 inch to the right of where I want to click.
View 2 Replies
View Related
Jul 17, 2009
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 Related
Feb 13, 2010
i tried following procedure
tar xvjf file.bz2
cd file
./configure
make
su
make install
but ./confifure did'nt work it said
bash: ./configure: No such file or directory
View 3 Replies
View Related
Aug 3, 2010
I am trying to install the latest version of Banshee on Fedora 13, but latest version appears to be a 'tarball' file. I have downloaded and extracted this file, but am baffled as to what to do next.
View 12 Replies
View Related
Jul 20, 2011
How to install .tar.bz files
View 2 Replies
View Related
Feb 15, 2011
I wanted to install adobe reader on my ubuntu 10.10(Maverick Meerkat).I have downloaded the file and copied it on my desktop.I had then browsed to the desktop directory through command line terminal.
I had tried all the possible combinations of the commands but still i get a "file or directory does not exist error"
roger@ubuntu:~/Desktop$ chmod a+x AdbeRdr9.4-1_i486linux_enu.bin
roger@ubuntu:~/Desktop$ sudo ./AdbeRdr9.4-1_i486linux_enu.bin
sudo: unable to execute ./AdbeRdr9.4-1_i486linux_enu.bin: No such file or directory
I tried without the sudo and this is what i get
roger@ubuntu:~/Desktop$ chmod a+x AdbeRdr9.4-1_i486linux_enu.bin
roger@ubuntu:~/Desktop$ ./AdbeRdr9.4-1_i486linux_enu.bin
bash: ./AdbeRdr9.4-1_i486linux_enu.bin: No such file or directory
The file is present in the desktop.
P.S: Cannot install .bin package on Ubuntu
View 1 Replies
View Related
Aug 29, 2009
I'm running Fedora 11, however when I try to install an rpm.bin or a .bin file, it is not recognized. Java can be downloaded as a rpm.bin or a .bin file and it will not install.
View 8 Replies
View Related
Jul 18, 2010
currently I am a brand new Linux user. I am used to double clicking .exe files in Windows. I just installed Ubuntu 10.04. Everytime that i tried this command tar -xvzf xbmc-9.11.tar.gz i get this error message? xbmc-9.11.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
View 14 Replies
View Related
Mar 1, 2011
I would like to know how you install obt files from box-look.org and use it in my computer...It is a tar.gz file...After you untar what is to be done and how to select the theme?
View 1 Replies
View Related
Jun 19, 2010
Where is the best path to install all files of package when compiling?
For example - I want to install ProFTPd, so there's an option
--prefix=/usr/local/proftpd
, which means, that all files after compilation (including binary and configuration files) will be stored here. As you know, all packages, which are installed via package system (like zypper on SuSE or apt on Ubuntu) usually stores its configuration files in /etc/ and binary files in /sbin/ and also stores a link in my $PATH, so i can run in just by typing proftpd (without /sbin).
The huge advantage of packages installed via package system, i think, is easy uninstall process. I'd like to be able to uninstall compiled packages also easy.
I think i could be able to create some batch file, which I'll be able to use like this:
uninstall --package=proftpd
And my script will find all proftpd files in usuall paths (/etc, /sbin) and remove it using rm.
Is there any best practices, where to store all these files, or are there any (dis)advantages of my first example (--prefix=/usr/local/proftpd)?
I really don't think, that it's nice to have 2 paths with configuration files and binary files, but maybe I'm misunderstanding the basic principals of Linux... :-)
View 4 Replies
View Related
Dec 23, 2010
i know how to install software but i don't know
1: how to install library .a or .so files
i: how to install tar.gz i use the method like ./configure. make make install but most of the time i got the message nothing to make .in lots of tar.gz there is no installation document no make file no .configure file that make me quite confused how to install them or run them.now i got sample source code of cuda i got them in tar.gz form when i extract them i found a folder in folder i found folder like c ,doc,shared etc when i open each folder i found more folder n file like that src, doc common ,lib, in these folder i found source code file header files libraries file make files .i don't know how to run this kind of project can the be installed on the system .how to run them they don't have .run file or script they don't have configure file .how to compile them ,how to run them & how to install them
View 1 Replies
View Related
Feb 9, 2010
How do I install downloaded fIles in fedora 12. For example fLASH_10?
View 6 Replies
View Related
Jan 25, 2010
I just downloaded a .exe file. I cannot get it to install after I double click on it. What should I do to make it work?
View 6 Replies
View Related
Jan 11, 2010
"You'll probably want to operate from inside your home directory. If your user is (for example) username, your home directory will be /home/username/. For the rest of this section we will assume you have downloaded your zip file to /home/username/src. If you do not have a src directory, you can create it with the following "mkdir" (make directory) command:"
Where do the commands go? I cant make it work in terminal. How do I get back to "home" from where i am now? example /home/mydesktop/. I am working in mydesktop. I have downloaded some packages that pkcon search will not find, but when I try to install them using "synaptic" it cant find the packages i dl. So I found this tutorial.
"So, we have our source package in /home/username/src/.
Change to the /home/username/src/ directory with the "cd" (change directory) command like so: cd /home/username/src/
but I dont know where to write the commands.
View 7 Replies
View Related