- Improve the editor area.
sudo nano /private/etc/nanorc
set nowrap
set const
set morespace
set nohelp
set nonewlines
- Add the path of the Mac Ports.
nano .bash_profile
PATH=/opt/local/bin:$PATH
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033$
alias ll='ls -hlG'
alias la='ls -hAlG'
alias l='ls -CFG'
alias grep='grep --color=auto'
alias updatedb='sudo /usr/libexec/locate.updatedb'
chmod +x .bash_profile
- Enable X11 forwarding.
sudo nano /private/etc/sshd_config
X11Forwarding yes
- Enable the SSH daemon in
System Preferences > Sharing > Remote Login
- To log in to this computer remotely, type "ssh username@hostname".
- From the remote system, start a ssh session with X-Window capabilities
ssh -Y username@hostname
- Remark : verify and accept the proposed key.
1- Xcode 7.2
- Search for Xcode :
App store > Store > Search
- Or download and install @ Apple Developers.
2- Yosemite
- Get the Command Line Tools OS X 10.10 for Xcode 7.2
3- El Capitan
- Enter:
xcode-select --install
- Build Mac Ports from its source code.
tar -zxvf MacPorts-2.3.4.tar.gz
cd MacPorts-2.3.4/
./configure
make
sudo make install
sudo port -v selfupdate