Pages

Affichage des articles dont le libellé est mac os. Afficher tous les articles
Affichage des articles dont le libellé est mac os. Afficher tous les articles

mercredi 11 juin 2014

partition external disk on Mac

1) Open the Disk Utility
2) choose the disk that you want to make partition
   --- back up the data before doing any partition
   --- If there are several partitions existing in the disk, choose the whole disk, not a partition, if we want to have the tab Partition appearing in the window
   --- Choose Erase tab and OK
   --- choose Partition tab: decide how many partition you want to make, then for each one you give the partition name, partition size, the format, as well as the GUID (mac osx) or MRB(windows) in the Option. Choose Apply.
 3) then the disk should be partitioned according to your need.


   

lundi 11 juillet 2011

mac port

port search ww
port install
port list
sudo port selfupdate


To make python 2.7 the default on a Mac (i.e. the version you get when you run
'python'), please run:
sudo port select --set python python27

jeudi 6 janvier 2011

my experience with mac os --install softwares

OK, I decided to install emacs for text editor, skim for pdf reader and Tex for using latex.

The installation of softwares in mac os is rather simple, and I will use the emacs as an example.

1) choose the right software to install.
For using emacs in mac, there are aquaemacs and cabonemacs. Since I have used emacs in Linux enviroment for some time, I decided to download cabon emacs, which seems similar to what I have used before.

I go to http://homepage.mac.com/zenitani/emacs-e.html and click on the 'download'. The package is automatically downloaded to 'home/Download'.

2) double click on CabonEmacs...dmg for installation.

3) drag the executable 'Emacs' (or Emacs.app) to /Applications. Then it is done ! I can click on the symbol of emacs directly to open the emacs text editor.

4) To call emacs from the terminal of mac, I decided to edit the .bashrc.
in the file .bashrc, I added the line :
alias emacs=/Applications/Emacs.app/Contents/MacOS/Emacs
Then by typing emacs in the terminal, I can easily open the emacs editor.

I did the similar thing to openoffice, skim.
alias soffice=/Applications/OpenOffice.org.app/Contents/MacOS/soffice.bin
alias skim=/Applications/Skim.app/Contents/MacOS/skim.

mercredi 5 janvier 2011

my first use of mac os

Starting from this week I work on a Mac ! I have been using Linux (mandriva and ubuntu) for several years and this is the first time to work in Mac OS. Here I will try to resume my experience with mac little by little.

It is Mac OS X 10.6.5 (Snow Leopard), the kernel version is Darwin 10.5.0. The processor is Intel, and the architecture is i386 x86-64

I type "env" in the terminal to find more information, and found that it uses bash and the display is org.x:0

I tried to use emacs in the terminal, but it does not work ! I use which emacs, and found it is is /usr/bin/emacs, but when I call it, it has no response !

I have to go to Nxclient for OSX, where the emacs is properly installed.

Finally I realised that Maestro is a remote server for large calculations. On my own PC, if I want to work properly, I need install the stuffs myself.