Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-10-2004, 05:33 AM   #1
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Rep: Reputation: 30
Installing xfig

I want to install xfig drawing package on my Mandrake10 system and have no idea what I'm doing. I got instructions from and as detailed therein downloaded the various compressed files for xfig, transfig, jpeg library, png and zlib into a directory I created in my home directory. I know how to decompress the files and open them with a text editor to edit them as needed, but that is about the extent of my knowledge. Do I have to place the decompressed files in certain directories? Where do I put them and then what do I do to make it all work? I'm sure it's easy when you know how but this is the first time I've tried to install a new package on a Linux system and am pretty much lost. Any help or direction to other sources of help appreciated.
Old 07-10-2004, 10:55 PM   #2
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Well, there are a few things you need to keep in mind. The first is that when you ask questions, you need to give as much info as possible. For example, you did well to tell us what distro you're using (Mandrake 10), but you haven't told us what type of files you downloaded. You say that they are compressed (or rather that you can decompress them), so I'll assume that they are *.tar.gz files.

Since you can open files in a text editor, the next thing you should do is open the files 'README' and 'INSTALL', which should give you some hints about what to do next. Generally speaking, the procedure for installing from source (or *.tar.gz files, also known as tarballs) is as follows:

tar -xzvf filename-version#.tar.gz
cd filename-version#
make install

Considering that you had to download more than one file, it may be important to install them in a specific order. Also, there may be important options that you must pass to the ./configure script. Again, the 'README' and/or 'INSTALL' files should have more info about this.

A bit of advice that I would offer:

1) For Mandrake, it is often easier (though not necessarily better) to install from *.rpm files. So if you can find the software you want in this format, you might want to go that route, at least until you're more comfortable with your system. Enter a terminal and type 'man rpm' for more info.

2) If you are comfortable compiling from source (usually the best way to install, though seldom the easiest), take a look at checkinstall. It's a great application that replaces the 'make install' step I mentioned above. It will install the software, and create a *.rpm (or Slackware *.tgz, or Debian *.deb) package for you, so it will be easier to uninstall (again with the rpm command).

--- Cerbere

[edit] I forgot to mention that your method of creating a directory in your home directory and extracting the packages there is a great way to go. After installing (especially if you use checkinstall) you can then delete these install directories. If you don't use checkinstall, the only way to uninstall may be to go back to these directories and type 'make uninstall'. This will quickly fill up a hard drive, so once again, let me recommend going with checkinstall. [/edit]

Last edited by Cerbere; 07-10-2004 at 10:59 PM.
Old 07-11-2004, 02:54 AM   #3
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks, you've given me some good leads to follow.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Xfig Lixz Linux - Software 1 07-29-2005 08:09 PM
LaTeX and Xfig mat_uk111 Linux - Software 7 01-30-2005 10:49 PM
xfig won't install in SuSe 9.1 (XFree86 4.3) MiccyNarc Linux - Software 3 06-22-2004 06:03 AM
monochrome xfig in cygwin DiagonalArg Linux - Newbie 1 03-19-2004 03:00 PM
Xfig and MDK9.2 kvtournh Mandriva 0 11-20-2003 03:28 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:35 AM.

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