LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-09-2006, 02:14 PM   #1
cautious
Member
 
Registered: Jul 2006
Posts: 72

Rep: Reputation: 15
Can someone just point me to a tutorial...


...about file associations in Linux, like "a .tar is opened with this", and so forth? Something that just spells out all the file associations?

Thanks.
 
Old 08-09-2006, 02:35 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
like "a .tar is opened with this", and so forth?
Well, that isn't strictly the way things work...
You could access a tar file using many different tools ('tar' comes to mind...)
It would be the same with most files.

However, try the linuxquestions wiki, which has some information on common file extensions:
http://wiki.linuxquestions.org/wiki/...ile_extensions

You can also search wikipedia, which will probably have more info.
 
Old 08-09-2006, 02:51 PM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
As bulliver pointed out, it's not as simple as it sounds. For example, *.pdf files are associated with kpdf, xpdf, gpdf, and Acrobat Reader (and probably others) in Linux. You can have one or all four installed on your system, pdf files can be associated with each one, and the four will be prioritized.

Another place to start would be your very own system. There's going to be some way of associating file types with applications in the desktop environment you installed. You could look at the default associations and then you'll know what's what on your system. For example, if you installed KDE, kpdf is likely the default app for viewing pdf files. If you right click on the icon of a file, select properties, and navigate around the tabs you'll find the associations.

If you're strictly CLI, belay my last.
 
Old 08-09-2006, 04:02 PM   #4
cautious
Member
 
Registered: Jul 2006
Posts: 72

Original Poster
Rep: Reputation: 15
For example, I have just downloaded the apparently most current WINE i386.deb . How would I figure out how to open that without having to be a noob and come and ask every time?
 
Old 08-09-2006, 04:08 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
For example, I have just downloaded the apparently most current WINE i386.deb . How would I figure out how to open that without having to be a noob and come and ask every time?
I guess you will just have to search for the extension. For instance, that wiki page I pointed you to states that a *.deb is a Debian package file. So then search for "Debian package file" and it should shed some light.

But to belabour the point, even a deb file can be installed using several different methods. I am sorry to dissapoint but for a while you will just have to use trial and error, with help from google. After a while it won't be an issue...
 
Old 08-09-2006, 04:10 PM   #6
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by cautious
For example, I have just downloaded the apparently most current WINE i386.deb . How would I figure out how to open that without having to be a noob and come and ask every time?
If it's a .deb package then just right -click on the MOFO and you will see the obveous!
 
Old 08-09-2006, 04:36 PM   #7
cautious
Member
 
Registered: Jul 2006
Posts: 72

Original Poster
Rep: Reputation: 15
I'm sorry, call me a noob. If you mean package installer, I get the message "corrupted or no permission".
 
Old 08-09-2006, 04:40 PM   #8
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by cautious
I'm sorry, call me a noob. If you mean package installer, I get the message "corrupted or no permission".
That would indicate that the package is corrupt in some way.

Tell me where you got this package and I will download and attempt to install it k?
 
Old 08-09-2006, 04:52 PM   #9
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Also, if you might consider using a package manager to install things on your system. You could use apt-get from the command line or synaptic if you like a GUI or whatever comes with Ubuntu. It increases the chance that you're getting the package from a reliable repository. For example, if you go to this webpage, it'll give you the directions for setting up the repository to install Wine on a Debian based distro.
 
Old 08-09-2006, 06:14 PM   #10
cautious
Member
 
Registered: Jul 2006
Posts: 72

Original Poster
Rep: Reputation: 15
I have Synaptic Package Manager, which comes with Ubuntu. I have extracted the tar with the archive manager, but now how do I install it? Or, again, do you want to send me to noob heaven?
 
Old 08-09-2006, 06:35 PM   #11
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
If you right click an icon and select Properties you will see that every file has a mime type which actually determines what the file is. File extensions aren't always required. I don't use them unless the application adds them automatically. Sometimes going into the Synaptic Package Manager and using the search function can help you find an appropriate application even if you don't have it installed.
 
Old 08-09-2006, 06:59 PM   #12
cautious
Member
 
Registered: Jul 2006
Posts: 72

Original Poster
Rep: Reputation: 15
I think I just did that, although I can't fine WINE now, nor can I find Crossover to uninstall it.

But I:

Downloaded the WINE tar.tar,
Opened Synaptic Package Manger and chose "unistalled"
Searched the window on the upper right side of the Package Manager,
Found WINE as unistalled,
Marked it for installation,
and installed it.

Now if I can just unistall Crossover and find WINE, I will have done enough for one day.
 
Old 08-09-2006, 06:59 PM   #13
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by cautious
I have Synaptic Package Manager, which comes with Ubuntu. I have extracted the tar with the archive manager, but now how do I install it? Or, again, do you want to send me to noob heaven?
Well., what .tar are you trying to install my friend?!

Is it a new theme, icons, what?

If it is a theme or somthing, then you would just drag it into your theme folder and BAM! installed!
 
Old 08-09-2006, 07:12 PM   #14
cautious
Member
 
Registered: Jul 2006
Posts: 72

Original Poster
Rep: Reputation: 15
It's WINE. Actually, with themes, I tried dragging the files into Theme Manager and it didn't work.
 
Old 08-09-2006, 07:49 PM   #15
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by cautious
I have Synaptic Package Manager, which comes with Ubuntu. I have extracted the tar with the archive manager, but now how do I install it? Or, again, do you want to send me to noob heaven?
Follow the link in my previous post. Set up the repository and use Synaptic to install Wine. You don't need a tar.

Are you interested in using Wine or learning how to install from source? Using a package manager won't make you less of a (wo)man.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is WAN point-to-point link? ivj Linux - Networking 1 07-16-2005 01:20 AM
Point to point connectivity between 2 pcs shroffsp Linux - Networking 1 09-22-2003 08:57 AM
Mandrake MNF with point-to-point T1, routers ioannes Linux - Networking 0 07-24-2003 08:59 AM
Is there a detailed point by point comparison on Linux to Windows? Paul Parr Linux - General 4 04-26-2003 02:35 AM
point to point address assignment of ppp0 andyn Linux - Networking 0 10-11-2002 10:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration