Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-08-2004, 03:18 AM   #1
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Rep: Reputation: 30
Which package to choose, when no debian available ?

I would like to try the mono-project on my Debian box:

I can choose from:
- The Source code
- Red Hat 9.0
- Fedora

Which package should I choose, and how do I install it ?

Old 09-08-2004, 04:01 AM   #2
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Choose the source code version. Installation is described in README or INSTALL file and will probably be a matter of running these 3 commands:

make install
Old 09-08-2004, 04:47 AM   #3
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Original Poster
Rep: Reputation: 30
Its just ... its takes an afternoon to install the entire package that way ....
Thanks for the answer though, you're most likely right that its the best solution!

Thanks again!
Old 09-08-2004, 05:40 AM   #4
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
Mono should be packaged in Debians apt, however I don't know which names you'd need. You can search for it. You'd have to be using unstable to get them.

Be warned. The Debian packaging of Mono is suspect, or was last time I checked. One of the Mono developers wasn't happy.
Old 09-08-2004, 08:05 AM   #5
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Better way. If you don't have checkinstall, get it. With checkinstall, you can invoke the program to install a tarball and create an installable binary rpm/deb/slackpack (you are prompted to choose which if you didn't edit checkinstallrc before hand). Checkinstall will put the tarball through it's paces, create and install the binary, and leave a copy of the .deb for you to archive somewhere.

The documentation is a bit short in the discussion on using a script to string commands together for checkinstall to use. Edit the README: scroll down until you find the beginning of this quote, then cut and paste.

NOTE: If you give no arguments to checkinstall it will run a "make install". If you give arguments, the first non-option argument will be used as the install command. This is useful when the install command is not "make install" but something else like "make install_packages" or "setup" or whatever, i.e. checkinstall make install_packages checkinstall make modules_install checkinstall checkinstall setup checkinstall rpm -i my-package-1.0.i386-1.rpm

If the package you want to install has several make and install steps, you can string together several commands.
Example: chrony-1.2.0 (atomic clock synchronization)
After ./configure <options>, the commands are: make make docs make install make install-docs install-info /opt/info/ /usr/share/info (where /opt/info is the build directory I've chosen, and /usr/share/info is the system info directory where the info package will be installed). To have checkinstall perform all the steps to include in the package you want to make, you can:
cd to the source directory (in this case: cd chrony-1.2.0).
checkinstall <options> "make && make docs install install-docs install-info /opt/info/ /usr/share/info".
cd to the source directory (chrony-1.2.0).
You can put all the commands in a file called "", or, better yet,, to avoid confusing it with any other '' on your system..
Example: give it execute permissions (chmod 755, then run it with checkinstall.
checkinstall <options> ./

Note to self: will it still work if the first line in the file is ./configure <options> ?

Response to self: Yes, it will work. Include the ./configure <options> as the first line in the file, and watch checkinstall work it's magic. If you use the --bk option with checkinstall, checkinstall will make a backup tarball of all files before changes are made. SAVE THAT TARBALL SOMEWHERE! The file will be named 'backup-(month-day-year-time)-pre-<filename>.tgz'. If you need to restore your system, you can use tar to edit that tarball to remove files belonging to <filename>, then restore the remainder.

tar -x (extract) -C (directory where the tarball resides) -f (archive name) -p (--same-permissions) -P (--absolute-paths - don't strip leading / from file names) --same-owner -v (be verbose) --ungzip (filter through gzip)

Last edited by bigrigdriver; 09-08-2004 at 08:23 AM.


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
debian package mithereal Debian 7 09-12-2005 03:17 AM
debian installer wont let me choose kernel AM1SHFURN1TURE Linux - Software 2 07-18-2005 07:09 PM
Debian Stable or SID-what to choose ninadb Debian 3 07-14-2004 09:20 PM
Debian / Slackware? Which one to choose for Developing? velan Slackware 2 04-20-2004 04:51 AM
SuSE9 or Debian? which should I choose? Eugene Linux - Newbie 26 12-20-2003 05:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:24 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