Πώς να εγκαταστήσει τις εφαρμογές Linux στο OS Χ - ένα πλήρες πέρασμα

από Ross McKillop [[on]] 9 Μαΐου 2007

Linux MAC

Αυτό το σεμινάριο θα σας πάρει κάθε βήμα του τρόπου μέσω της εγκατάστασης των προγραμμάτων Linux στο OS Χ - χρησιμοποιώντας Fink και FinkCommander.

Κάτι πρέπει να αναφέρω επάνω το μέτωπο - κατά τη διάρκεια αυτής της διαδικασίας θα κληθείτε να πληκτρολογέσετε τον προσωπικό κωδικό σας για μισό-εκατομμύρισσες φορές. Άφησα εκείνα τα» βήματα» έξω για να κρατήσω αυτό κοντύτερο.


  1. Εγκαθιστώντας το διοικητή Fink και Fink
  2. Διαμόρφωση Fink
  3. Εγκατάσταση των εφαρμογών Linux
  4. Εφαρμογές Linux προώθησης με Quicksilver

Εγκαθιστώντας το διοικητή Fink και Fink

  1. Το πρώτο βήμα να πάρει τα προγράμματα Linux τρέχοντας στο OS Χ είναι να εγκαταστήσει X11, εάν δεν είναι ήδη. Για να ελέγξει εάν έχει τον εγκατεστημένο, ανοικτό ανιχνευτή, επίλεκτο Εφαρμογές και έπειτα Χρησιμότητες. Εάν δεν βλέπετε X11 (ή X11.app ανάλογα με τις τοποθετήσεις άποψής σας) δεν εγκαθίσταται. Ευτυχώς, έχω το α πλήρες πέρασμα για αυτόν επίσης.
  2. Μόλις έχετε X11 εγκατεστημένος, επίσκεψη http://www.finkproject.org/download/ και μεταφορτώστε την κατάλληλη έκδοση Fink για τη MAC σας. Μιά φορά μεταφορτώστε έχει συμπληρώσει, ανοίγει το .dmg αρχείο και το τρέξιμο Fink xxxx installer.pkg.

  3. χτυπήστε για να διευρύνετε

  4. Ο εφαρμοστής Fink θα προωθήσει. Χτυπήστε Συνεχιστείτε και Συμφωνώ μια δέσμη των χρόνων. Θα προτραπείτε για τον κωδικό πρόσβασής σας τουλάχιστον μιά φορά κατά τη διάρκεια της εγκατάστασης.

  5. χτυπήστε για να διευρύνετε

  6. Προς το τέλος της εγκατάστασης, α Καθιέρωση το περιβάλλον Fink σας το παράθυρο θα σκάσει επάνω. Σιγουρευτείτε για να χτυπήσετε Ναι.

  7. χτυπήστε για να διευρύνετε

  8. Να υποθέσει όλων πήγε καλά, ένα παράθυρο επιβεβαίωσης πρέπει να εμφανιστεί.

  9. χτυπήστε για να διευρύνετε

  10. Χτυπήστε Κλείστε για να τελειώσει τον εφαρμοστή Fink.

  11. χτυπήστε για να διευρύνετε

  12. Τώρα, πίσω σε εκείνο το .dmg αρχείο, εντοπίστε το φάκελλο με τον τίτλο FinkCommander και τον ανοίξτε.

  13. χτυπήστε για να διευρύνετε

  14. Συρετε FinkCommander αρχείο στο σας Εφαρμογές φάκελλος. Αυτό είναι ένα σημαντικό βήμα - FinkCommander δεν θα λειτουργήσει κατάλληλα εάν το τρέξετε από μέσα από το .dmg αρχείο.

  15. χτυπήστε για να διευρύνετε

Διαμόρφωση Fink

  1. Από το σας Εφαρμογές, εντοπίστε FinkCommander και το προωθήστε.

  2. χτυπήστε για να διευρύνετε

  3. Θα παρουσιαστείτε με έναν μάλλον μεγάλο κατάλογο συσκευασιών Linux - αλλά προτού να πάτε τρελλοί εγκαθιστώντας τους, θα πρέπει να τρέξετε μερικές αναπροσαρμογές πρώτα.

  4. χτυπήστε για να διευρύνετε

  5. Επιλέξτε Πηγή από τις κορυφαίες επιλογές και έπειτα Scanpackages από τον εξελισσόμενο κατάλογο.

  6. χτυπήστε για να διευρύνετε

  7. όχι να είστε έκπληκτος εάν προτρέπεστε για να πληκτρολογέσετε τον προσωπικό κωδικό σας - δύο φορές, και να λάβει έπειτα ένα μήνυμα (δείτε screenshot κατωτέρω) λέγοντας εσείς πρέπει να τρέξει Scanpackages πάλι.

  8. χτυπήστε για να διευρύνετε

  9. Επαναλάβετε Πηγή -> Scanpackages διαδικασία και τη 2$α φορά που θα λειτουργήσει.

  10. click to enlarge

  11. Now select Source from the top menu, Utilities and then Index.

  12. click to enlarge

  13. Watch as FinkCommander runs some updates, and once that has completed…

  14. click to enlarge

  15. Select Binary and then Update descriptions

  16. click to enlarge

  17. Now locate Fink in the list of packages. You can sort the packages by Name to quickly locate it, or use the Search feature. Select Fink by clicking on it once.

  18. click to enlarge

  19. With Fink highlighted, select Binary and then Install

  20. click to enlarge

  21. And once again, watch as Fink updates itself.

  22. click to enlarge

Installing Linux applications

  1. Now it’s time for some fun. Locate a Linux program/package that you want to install. I used trackballs (a silly but fun game) as an example. Once you’ve found the program you want to install, highlight it by clicking it once.

  2. click to enlarge

  3. Select Binary and then Install

  4. click to enlarge

  5. During the installation, you may get a pop-up window asking for you to respond to something (see screenshot below). Generally it’s looking for a Y/n (yes/no) answer - but check the status part of FinkCommander. In this case, the default is Y (yes), so you can select Accept default response and click Submit.

  6. click to enlarge

  7. That’s it. Fink will automatically determine any packages that are required to run whatever program you chose to install, and install them as well. To launch your recently installed program, open up a Terminal and type in the programs name. If you’re a Quicksilver user (and you should be!) - keep reading for instructions on how to launch Linux programs with it.

  8. click to enlarge

Launching Linux applications with Quicksilver

  1. Once you’ve installed a Linux app or two using Fink, you can launch them with Quicksilver if you add the folder they’re stored in to Quicksilver’s catalog. Bring up the Quicksilver preferences by invoking Quicksilver and click the Apple key + ,

    Select Catalog from the top menu


  2. click to enlarge

  3. Click the + (plus sign) and select File & Folder Scanner
  4. Navigate to Macintosh HD -> sw -> bin and click Open

  5. click to enlarge

  6. Make sure the bin folder was added to the Sources list.

  7. click to enlarge

  8. From the side drawer, change the Include Contents: entry to Folder Contents
  9. Back in the Catalog window, click the Refresh button (the swirl arrow)
  10. The bin entry in the Sources list should now have 80+ items (give or take) indexed. Exit out of the Quicksilver preferences.

  11. click to enlarge

  12. Invoke Quicksilver and test it out.

  13. click to enlarge

Related Posts:
  • Simplehelp Recap: May 2007 - wow, and thank you!
  • Using Boot Camp to install Windows 7 on your Mac: The Complete Walkthrough
  • How to install Ubuntu 7.10 (Gutsy Gibbon) in Parallels Desktop for OS X
  • How to install Ubuntu 7.04 (Feisty Fawn) in OS X using Parallels Desktop 3.0 - a complete walkthrough
  • Download PC-BSD v7 “fibonacci edition”
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

    You can always opt out of this email subscription at any time.


    Bookmark and Share

    { 44 trackbacks }

    neverland » porque tux tambi?n vive en OSX
    05.09.07 at 3:56 pm
    How to install Linux applications in OS X - a complete walkthrough « VistaSucks.WordPress.Com
    05.10.07 at 1:53 pm
    Vocescuola - Applicazioni Linux su MacOSX
    05.10.07 at 2:05 pm
    How to install Linux applications in OS X - a complete walkthrough « trent.hunger
    05.10.07 at 4:33 pm
    The Edge of I-Hacked » How to install Linux applications in OS X - a complete walkthrough
    05.10.07 at 5:49 pm
    How to install Linux applications in... [Ectio.us Linkosphere]
    05.10.07 at 8:00 pm
    How to install Linux applications in OS X - a complete walkthrough « v1ruz blog
    05.10.07 at 11:18 pm
    Comment installer des application unix sous Mac OS X at Unity Web Blog
    05.11.07 at 2:12 am
    links for 2007-05-11 « /tmp
    05.11.07 at 8:27 am
    Techzi » Blog Archive » How To: Install Linux apps on your Mac
    05.11.07 at 3:16 pm
    Katie Dixon - Web Design - Houston, TX » Blog Archive » How to install Linux applications in OS X
    05.11.07 at 3:30 pm
    How To: Install Linux apps on your Mac at SoftSaurus
    05.11.07 at 4:57 pm
    Dongyi == ?? » links for 2007-05-12
    05.11.07 at 5:22 pm
    Install Linux apps on your Mac at heavenlytree
    05.11.07 at 9:08 pm
    Ejecuta aplicaciones Linux en tu Mac OS X en Panchosoft.com Blog!
    05.11.07 at 10:17 pm
    How to install Linux applications in OS X at W.cx - Web Community Xchange
    05.11.07 at 10:54 pm
    JLinX - Blog » Blog Archive » How to install Linux applications in OS X - a complete walkthrough
    05.12.07 at 4:31 am
    » Blog Archive Come installare Linux in Os x facilmente »
    05.12.07 at 5:13 am
    Linux applicaties draaien op je Mac
    05.12.07 at 5:14 am
    CyberTopo » Installer des applications Linux sur votre MAC…
    05.12.07 at 9:41 am
    Shall We Zen » links for 2007-05-12
    05.12.07 at 12:51 pm
    despuesdegoogle » Archivo del weblog » C?mo instalar y ejecutar aplicaciones Linux en Mac OS X
    05.13.07 at 12:53 am
    How to install Linux applications in OS X - a complete walkthrough « News Coctail
    05.13.07 at 3:02 am
    Life as I see it.. » Blog Archive » Linux Apps on Mac os x
    05.13.07 at 1:02 pm
    renaissance chambara | Ged Carroll » Blog Archive » Links for 2007-05-12 [My Web 2.0]
    05.13.07 at 1:35 pm
    Monday Morning Links Serving: The May 14th Edition | [Geeks Are Sexy] Technology News
    05.14.07 at 1:19 am
    My del.icio.us bookmarks for May 12th through May 14th at Discovering my World…
    05.14.07 at 4:50 pm
    How To: Install Linux apps on your Mac » D-L Technology BLOG
    05.15.07 at 12:06 am
    Come installare applicazioni Linux su OSX - Fink « gp
    05.15.07 at 11:17 pm
    Cool Websites and Tips (makeuseof extra #56) » MakeUseOf.com
    05.17.07 at 2:46 am
    links for 2007-05-17 at Kenny Hyder - Media Analyst
    05.17.07 at 4:23 am
    How To: Install Linux apps on your Mac at SoftSaurus
    05.21.07 at 11:37 am
    Hostgator » Blog Archive » How to install Linux applications in OS X - a complete walkthrough
    05.28.07 at 10:59 pm
    Run Linux/UNIX programs in OSX » It’s Not the Network!
    05.29.07 at 6:59 am
    Simplehelp Recap: May 2007 - wow, and thank you! - Simplehelp
    06.01.07 at 3:06 pm
    How to install Linux applications in OS X - a complete walkthrough - Simplehelp
    08.09.07 at 1:23 pm
    hubab » How to install Linux applications in OS X - a complete walkthrough
    10.22.07 at 2:43 am
    luzee » How to install Linux applications in OS X - a complete walkthrough
    10.22.07 at 5:24 am
    Linux » Blog Archive » How to install Linux applications in OS X - a complete walkthrough
    11.29.07 at 4:03 am
    iTunes with linux? - Overclock.net - Overclocking.net
    12.11.07 at 11:01 am
    fink commander
    04.19.08 at 3:05 pm
    Czy istnieje tryb zgodnosci MAC z Linux dla binarek na x86 - Strona 2 - MyApple.pl
    06.14.08 at 12:26 pm
    Running linux application under mac os x - ????????? ??c. ????? ??? Apple Mac, iPhone, Mac OS X Leopard.
    07.29.08 at 11:51 pm
    Compare Online College Degrees : Free Programming Tools
    02.02.09 at 12:40 pm

    { 30 comments… read them below or add one }

    1 Enrique 05.09.07 at 10:56 pm

    Realmente ?til. Really thanks for this great tutorial.

    Regards.

    2 Susan 05.09.07 at 11:09 pm

    Can I install Gnome this way?

    3 Colorado Mortgage 05.10.07 at 1:36 pm

    Wow, I’m honestly no a fan of OSX, since I love Linux, but if they keep making kool little apps like this I might have to make the change.

    4 Electric Cat Herder 05.10.07 at 2:49 pm

    Susan:

    Yes, Gnome is available, but a bit dated, though it looks like there’s been some work to bring everything up to version 2.16.

    This article’s headline is a bit misleading. Fink does not install Linux applications– The binaries are in Mac OS X/Darwin Mach-0 format, not ELF. The Fink project provides Mac builds of popular applications designed for a variety of UNIX-type operating systems, such as Linux and Solaris. The Fink maintainers have worked out the build specifics for Mac OS X and make binaries available. The graphical programs use X11 and by extension Gnome or KDE, just as they do on other UNIX platforms.

    Personally, I’d like to see more work towards implementing GTK and QT APIs for the Aqua desktop and Core Graphics, bypassing X11, but these things take time. For those comfortable with X11, Gnome and KDE, Fink dramatically expands your choices for Mac software.

    5 Matt Rogers 05.10.07 at 3:07 pm

    Susan you should be able to install Gnome I remember installing KDE using Fink a couple years ago. It’s a long running stable project. I deleted my fink installation last year, but now I am tempted to re-install it. :)

    6 Robin Mordasiewicz 05.10.07 at 3:42 pm

    Being picky these are not linux applications.
    Linux is a kernel which you can run these applications on, just as you can run these applications on the FreeBSD kernel.

    7 tech 05.10.07 at 3:45 pm

    it helps very much,

    thanks…

    8 chipsajoy 05.10.07 at 4:40 pm

    Very cool! Thanks!

    9 ??? 05.10.07 at 8:16 pm

    it helps very much,

    thanks?

    10 Jim 05.11.07 at 10:35 am

    This is a well done walk through, I like it — unfortunately the reality of using fink is often littered with undocumented errors and, as ever so often happens with anything open source, the work-around’s to things like Buildlock failures, are usually fraught with in-speek and gobbledegook only those already familiar with Linux can decipher.

    I built KDE once and it took me a week - and trust me, previous to that, I thought I knew what I was doing.

    11 Gerry 05.22.07 at 3:54 am

    Will this work for JBuilder4?

    12 rossb 06.04.07 at 8:17 am

    how can you add apps to be installed? what I would really love to do is get groupwise (linux platform) to run under this.

    Thanks,

    RossB

    13 pippo 08.15.07 at 1:03 pm

    I have just one thing to say:

    “Thank you!”

    …great work keep it up

    14 john s 09.05.07 at 1:36 am

    hello just ran across your site and followed direction to install but need help the only application i can get to run is trackball ive tried crafty chess , doewars, danican, othello and some of the editors they wont start im using a mac powerbook g4 with a ppc processor and also when i installed fink i didnt get the Setting up your Fink environment window you spoke of at end of instalation i also want to know should i have got that screen or is that only for intel based chip macs and also once i get it working correctly how can i install linux/unix packages and or applications in fink other than the ones provided

    15 Rashid Cisco 09.05.07 at 11:25 am

    Can I use this to install apps that are not listed on Fink?

    16 Daniel Fass 09.07.07 at 11:39 am

    How do you import new packages into Fink and have Fink install them?

    17 Ross McKillop 09.07.07 at 12:28 pm

    Rashid and Daniel,

    See: http://sourceforge.net/tracker/?atid=371315&group_id=17203

    for info on requesting new packages to be added to Fink.

    Cheers!

    18 pixel001 10.01.07 at 6:28 am

    can i run normal linux programs with this?

    19 Al 10.07.07 at 4:57 pm

    1. Does this install programs in somewhere like MacHD instead of the Apps folder (just typing the program name in terminal opens the program!)? And I see “sw” folder in the MacHD folder.

    2. How can one un-install Fink after installing it?

    3. I was interested in getting YS Flight to install on Mac. Can I use Fink?

    20 Brandon 10.08.07 at 10:14 am

    I am going to attempt to run a linux based environmental modeling system on my new MacBook. Does anyone know if my 2.16 GHz Intel Core 2 Duo can handle running a Linux application this complicated? It takes 99.9% of my processing power and 3 hours to run on an old Pentium 4 with Linux installed. I want to speed things up a bit, and I wouldn’t mind the portability. I estimated I could probably run it in 45 min. on this processor, but I’ve never ran a Linux app on my Mac, and I am unsure if there is any % CPU lost when you’re running the app from fink in OS X. Thanks

    21 your mother 11.23.07 at 8:16 am

    Very simple tutorial! Anyone that’s used linux (Even, *shudder* Ubuntu) for an amount of time, & learned it, will recognize what’s going on in your screen shots. QUick, Short Sweet N Effective I rate this tutorial 10 stars even if your technical termonology is wrong & these apps have been ported. THIS WILL SHOW IN GOOGLE when we search using what we want to say. In English. Not Machine Code.
    -ez, then

    22 vishwajit 11.27.07 at 4:31 am

    how to install linux os in desktop?

    what are configuration pc linux loaded

    23 manikandan 02.11.08 at 4:11 am

    this is my linux?

    24 sreejith 06.30.08 at 9:19 pm

    it is very easy

    25 Ivan Horvat 10.08.08 at 2:47 am

    Very nice article.

    But I have problem to install program which is not in any of packages. For example this: http://home.gna.org/subtitleeditor/ …. when I download tar.gz file, how can I install it and run?

    26 hinloong 10.21.08 at 12:32 pm

    can i know how to install Packet Tracer 5 from cisco. there had a version for linux i would like to try to install using it.

    27 marie 11.08.08 at 11:02 am

    Je n’arrive pas ? installer “Linux”. Quand je clic sur “Quicksilver”, la fen?tre s’affiche mais je n’ai pas “Trackballs” que j’ai pourtant installer et je ne sais pas d’o? vient ce “Del.icio.us Bookmarks”. pouvez-vous m’aider.
    Merci.

    28 Felix 11.11.08 at 1:56 pm

    More than excellent!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    29 Javdom 01.15.09 at 12:12 pm

    Can I install Packet Tracer 5.0 the linux version with this method.

    If the answe is yes how can I do that?? What I need to do with the tar.gz file??

    Thanks,

    the information is excelent.

    30 ravindra 02.07.09 at 5:25 am

    Help me how to add a package to fink..
    how to use after that……..

    thanks.

    Leave a Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>