Ubuntu Installation :: Installing New Software - What Type Of File Is Like The Exe File To Run
Mar 15, 2010
I'm new to Ubuntu . With windows when you install a app it creates a folder in the drive:c under programs : Where is the install folder on Ubuntu ? AND ' with windows ' there is an exe file ' what type of file is like the exe file''' to run ? or the path to run the app ?
I am writting a script to allow uploading of certain files. I want to limit the files by their filename and mime type, and by making sure the two match up.The first thing I need to do is make sure I've got all the mime types I need added. I have never done this before, but I understand that 'file' (which is what PHP's mime-type finding is based off of) uses magic databases that tell at which point in the file should have signatures of the filetype.
My trouble started when I was unable to determine the filetype of any of my video files. Currently, I have some .MOV and .MP4 files that I am using to test.
I want to be able to play a video file on my pda(Tungsten T5) but from memory the only video file i have seen playable on it was the asf file that is used when it starts up/reboots. I tried other file types in the past that were suggested in maybe a manual or forum or something but they never worked/played. I think it is because of the player installed and i tried installing another player but from memory that didn't install properly or just did not play anything. So if anyone knows of a way to convert files maybe using winff or mencoder i would love that info. I have been googling and have found nothing specific to what i am asking. I do not see anything in winff to convert to asf and cannot remember ever using mencoder.
In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5
previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal
After doing(changing the file system)this one ,i couldnt see the d:drive data
By doing that
1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.
2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.
Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)
I have an ongoing battle with upgrade and/or update. I did a file scan for entries containing ubuntu. There is more than a page of entries that begin 'newtoubuntu.' and say 'broken' in the file type.
I'm trying to define the partition table type (I want to set it to msdos) for an automatic installation using preseeding file. (Why? I want to setup a software RAID 1 with two 2TB disks, by default the installer uses gpt partition tabless on those disks, where it's tricky to install grub(2), as there is no mbr, and the root partition is on a md device) During manual installtion it is possible to set the partition table type (by setting debconf priority to low).
[Code]...
Does anyone know what I have to put in my config file so that a msdos partition table will be created Also any other solution is welcome. I just want to have my root partition on a raid 1 and have grub installed, so that it boots up (No other OS is installed on the boxes. Debian squeeze is used)
I have presently a (working) boot dedicated partition, where grub stuff resides, but I want to change it to a common "/boot" folder in the root partition (in a different hdd). For some reason I can't do it. The first thing I did was to copy all the things that are in the boot partition to a boot folder on the root partition. After that, I tried: grub-install /dev/hdc1 (which is odd but it's where the root partition actually is)
When I did it from the linux I have installed on my hdd, it actually did something, I don't remember all the output (except that there was something about it not being able to access hda, which is oddly the dvdrom), but it didn't work. From a live CD, the same command (grub-install /dev/hdc1) is answered with: Could not find device for /boot: Not found or not a block device. From grub's own prompt, the things are more or less the same. First of all, it does not find stage1, even though I did copy the content from the boot partition to a boot folder in the root partition.
I tried to proceed, anyway, with root (hd1,0) and setup (hd1,0) (which is /dev/hdc1, according with the "geometry" info given by grub). "Root" is accepted, but "setup" is answered with: Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 2: Bad file or directory type But the files are there. I can't "cat" the menu.lst from grub though, unlike with the actual working boot partition. The same error message. From the terminal, however, it's all there. I tried with /dev/hdc1 both mounted and unmounted, the same message. So, basically I have two questions, I guess:
1 - can I really do this sort of thing running a linux installed on a hdd, rather than a live cd, or is the live cd preferable for some reason?
2 - what am I missing?
(A note that may worth making is that I'm using the soon-to-be deprecated grub version, 0.9 or something, not grub2. I think it shouldn't be a problem since I've installed the system with the old version to begin with, but that may be irrelevant, I don't really know)
I grabbed the new lubuntu 10.10 from [URL] but it turns out I'm having a problem installing it on my netbook (Asus Eee PC 1015PED). While installing, this error pops up:
Quote:
The attempt to mount a file system with type ext4 in SCSI2 (0,0,0), partition #1 (sda) at / failed.You may resume partitioning from the partitioning menu.I'm installing via USB and have selected the option to erase everything and use the full HDD.
Unable to install Ubuntu 9.10 on a new internal harddrive. The hardrive contains no operating system. This hardrive is the only drive present in the system.
Whenever the installation trys to mount the ext4 partition the following error appears: The attempt to mount a file system with type ext4 in SCSI1 (0,0,0), partition #1 (sda) at /failed
Iv'e tried over and over to get past this error to no avail.
I am running Ubuntu 9.10 and had hoped to use Synaptic to find and install Truecrypt. As Synaptic couldn't find it I downloaded it from [URL]. In case it helps the file is called "truecrypt-6.3a-linux-x86.tar.gz". Apart from not knowing how to get a working program from the .tar.gz file, I don't know whether the installation process sorts out where the file should go and puts it there, or whether I have to create a directory for it and put it there myself.
I am getting a blank screen with a blinking cursor. Install gave message to the effect: can't find boot file. Now I can't boot with any version or even get a prompt.
I d/l the Sunflower File Manager tgz file to install into Ubuntu. I already have the Build-Essential package installed. When I go to the directory I extracted the Sunflower's tgz files to and type in a shell "./configure" I get an error: "bash: ./configure: No such file or directory" Well, yes... looking into the Sunflower directory there is no such file or subfolder there. Now I admit I'm not an Ubuntu expert but IIRC I've done a few tgz installs like this and they went fine.
A while ago, I installed a windows application (on wine) called Max/msp. I have uninstalled it, and removed wine from my system (deleting ~/.wine as well), but now I'm left with some files thinking they are "Max Externals." How do I fix this/restore to the default file types?
I switched to Ubuntu about a month ago and have been loving every bit of it so far Today, I decided it was time to switch from having ubuntu installed within windows (through wubi) into creating a separate partition for itself.
I tried UN-installing using the wubi-uninstaller file but that did not work. Tried removing from the Add/Remove box in Windows 7 but neither wubi nor ubuntu were listed. SO I ended up manually deleting ubuntu from the C: and then using EasyBCD to remove Ubuntu from the boot menu. It may all sound great but I noticed that my hard disk is missing around 25GB of space. I even re-installed windows 7 but that hasn't changed this. It may well be that my hard disk is just old (~2 years) but I think it maybe because of an incorrect UN-install of wubi. Having read through forum posts around the interwebs all evening, this seems to be a problem that a few people share.
ps: I intend on installing Ubuntu again once this hard disk issue is resolved!
i have one partition of 45 Gb...and other of 250 Gb in which windows 7 has been installed..i booted from ubuntu 10.10 CD and then i chose the installation option on desktop...but when i selected the partition of 45GB for installation..the error message said that "there is no root file system on the drive, set it from partition options"..
I am unable to double-click a file of a given type, e.g. .pdf, and have it open in the appropriate application. While some file types have the correct associations, others do not, and I am unable to assign apps for some file types.
An example is Adobe portable document files ending in .pdf. If I right-click on a .pdf in Nautilus, and select "Open with," I get a dialog containing two tabs. One lists applications already associated with that file type, which at present is blank. The other tab seems as if it should allow me to assign an application to that file type, but when I click it, the dialog simply closes suddenly, as if crashing.
I have some .loc files from geocaching's website. I wrote a special script that takes these files and converts them to my Bushnell GPS format and moves them into the correct folder. Now I'd like to associate a double click with my script. However, the .loc file shows up as "XML Document". yes, it's an XML document, but I only want .loc XML documents to be executed by my script. How can I give .loc files their own "type" so I can give them their own "Open With" application and not mess up every other xml file?
When I double-click any .theme file I get the error message: "Could not display such-and-such.theme. the location is not a folder."
When I right-click any .theme file there is no option to "Open With", and no "Open With" tab in Properties.
When I create a text file and save it with a random name, I can change the filename extension to wav, jpg, png, txt, or theme, and Properties shows that the OS thinks it is that filetype. But all those filetypes except theme give "Open With" options, and allow me to change the extension again to anything. Once a file has been given the theme extension, it is stuck as a theme file.
any way to make a certain file extension (.etxt) open with a certain jar application (enotes.jar) that uses files with that file extension? i tried (for the custom open command on a .etxt file):
Code:
java -jar /home/me/Programs/enotes.jar "%1" %*
which was proposed (for windows) here: [URL]but it doesn't work when adapted to linux...
When I try to play any type of media file, It plays but can't fast forward or rewind plus there's no sound. I.e Avi , Mpg , Flash or anything, I can't even download the bad plugins because it says that there's a conflic with another repo that I've got installed. the only repos that I've got installed are the Main fedora one's , RPM fusion & adobe, so how do I installed the codecs to play anything proper on Fedora 11 cheers
I have stood it for a long time. Have anyone changed it successfully ? Please tell me and all the friends viewed this thread.I often download login window theme package from http://art.gnome.org/themes/gdm_greeter , the file type is .tar.bz2 , but I don't know how to install it.
i m doing a program to open a file, however, there is error saying that 'File' undeclared. but I thought File is a type like int or char, isnt it? below is my codes:
Is there a way to set Firefox to place downloaded files in different folders based on the file type?e.g. in my Downloads folder place all .doc files in a sub-folder called ".doc", all .jpgs in a sub-folder called ".jpg"I'd assume there's probably a rule, or a script that can be used to accomplish this, but being a graduate student, I don't have alot of free time to poke around and figure it out myself
I have installed Gantt Project (project management application) under 10.04. The system identifies the .gan files produced by the program as xml files. How do I tell the system to open .gan files with the GanttProject application?
I tried right click on the file to open and using "Open with other application" but the GanttProject application does not appear to be in the list of available programs.
Is there any application that will let me restrict search results, by, for example, whether it is a plain text document or a jpeg image (not by extension, but the same way nautilus knows if something is a jpeg even if it doesn't have an extension)?It would be nice to have an easy way to search for, e.g., just images, just videos, or just music without relying on file extensions.
I would like to be able to instruct Gnome to use a certain icon for a file type however I cannot find anything within Gnome to be able to get it done automatically. How does Gnome assign an icon to a file type? I really want to have Gnome display one of the fancy icons from OpenOffice.org for their Writer/Calc/Publish documents rather than the default icons that Ubuntu (Gnome) assigns to it.