How to change the mirror of macports - macos

I'm a newbie to OS X, and totally confused about the way macports works.
My question is, how to change the mirror or the sites where macports download the portfiles and distfiles.
The mirror I'm trying to use: http://mirrors.ustc.edu.cn/macports/
Should I change the sources.conf? But this mirror has no rsync protocol(I'm not really clear about what rsync protocol is >_<).
Or should I configure the macports.conf?
I know about the macports offical guide, but I'm not smart enough to figure this out.
Can anybody help me?
Thanks.

As per the documentation:
https://trac.macports.org/wiki/Mirrors
The URL used to get Portfiles is set in ${prefix}/etc/macports/sources.conf
If you are new to OS X and/or MacPorts, please consider reading the introductory guide: http://guide.macports.org/

The URL used to get Portfiles is set in ${prefix}/etc/macports/sources.conf
https://trac.macports.org/wiki/Mirrors

Related

Problem installing UE5 via Linux Ubuntu terminal

First off, I'm a noob. So this is all new to me.
I downloaded Linux_Unreal_Engine_5.0.3.zip from unrealengine.com/en-US/linux and I also downloaded V20 clang-13.0.1-based as well as V19 clang-11.0.1-based just in case because I didn't know which would be compatible.
When I follow the directions on the docs.unrealengine.com site I get "No such file or directory". I extracted everything already and I only typed "./setup.sh" as instructed by the site.
I'd really appreciate someone's patient guidance with this. I've looked everywhere on the internet for a solution.
The solution to my problem was as simple as me typing "sudo" before "./Setup.sh".

How to connect to Wifi on start-up using Buildroot?

I am trying to connect my Raspberry Pi CM4 to Wifi automatically after start-up. I am using Buildroot based Linux distribution. I have worked with Yocto before and it provides systemd-networkd and wpa_supplicant feature to connect to wifi on boot. I am lloking something similar in Buildroot but couldn't find any notes online.
So far, I think I have enabled the necessary config/driver using make menuconfig :
but now, how can I set-up wpa_supplicant.conf? Any link to notes or suggestion would be helpful.
Can anyone please let me know how to proceed further with it?
Your help will be much appreciated.
Thanks in advance.
P.S: I am using Buildroot 2022.02 release and also using systemd feature and let me know if any info is missing here.
I tried to do the same thing but ultimately could not get wpa_supplicant to cooperate with connman. Connman kept throwing "Error /net/connman/technology/wifi: Not supported" and none of the fixes I found online worked.
Instead I switched to using iwd, the modern replacement for wpa_supplicant.
I only needed to add the file
/var/lib/iwd/<MyWifiSSID>.psk
with the contents:
[Security]
Passphrase=<MyWifiPassword>
Then everything worked! By default it will try to autoconnect at boot. If it disconnects, it reconnects whenever possible. It is basically everything I need, and therefore I have given up trying to get wpa_supplicant to cooperate.
ps. I have also tested iwd with connman on top, which also seems to work quite nice.

How to set JDK environment variable on MAC

I am new on MAC. I've installed dk-7u60 and now I have to set it's variable path as we do on windows.But I could not understand how to do this. Can anyone help me?
Sinche OS X is built under Unix, you can use
~/.bash_profile
Also recommend you after posting make a little research look at this question
Similar issue

feasibility to setup an Open Source Platform “edX” - http://en.wikipedia.org/wiki/EdX

I have just heard of this open source early in this morning, and hook into google for searching about this,but seems like google have limited options too.
I found this one https://github.com/edx/configuration/wiki/edX-Ubuntu-12.04-Installation ,but it is for ubuntu
I am using mac 10.8.3 ,my question is
1.is it possible to install it on my mac machine
2.Where can i find the downloads of this open source
3.Which is the best tutorial to install edX
With Regards
1) Yes you can install the files on Mac, just that there isn't a guide in order to archive that. You can try to follow the Ubuntu guide posted and one by one check if the commands are compatible, or use a compatible command.
2) In order to get the files you need to use github so the link that you post is where the files are you can use a git clone in order to get the files on your mac.
3) The best tutorial is this one https://github.com/edx/configuration/wiki/edX-Ubuntu-12.04-64-bit-Installation. Remember that Ansible is in charge of the installation so we just need to run and wait
Hope that this helps

Can I install WhizzyTeX for Emacs on a Mac (is Mac OS X a unix environment)?

I think my question is pretty stupid, but here it goes:
I am using Aquamacs, and I want to install the WhizzyTeX mode. The website for WhizzyTeX says that "it is designed for Unix platforms".
I read that Mac OS X is unix certified, but does that mean I can install WhizzyTeX on my mac? If yes, can I install and use it with Aquamacs or do I have to use the Emacs running from the terminal?
PS: I don't know whether this question should be posted here or on SuperUser, but as Emacs users seem to hang out here more often, this is the place I chose.
EDIT: There are some websites saying I can use WhizzyTeX with Carbon Emacs on mac os x, but some places say I cannot (see for example this pdf document, page 27, which says that "* whizzytex: http://cristal.inria.fr/whizzytex/ mode in latex with ocaml good fo linux, should also work in cygwin, doe not work on osx"). So I am really confused...
If anyone is interested, I managed to make it. It is a bit slow and I think some files have issues, but in any case, it works!
The trick is to do what is explained here except for step 4. What I did instead was put the whizzytex.sty file in the same place as whizzytex.el and whizzytex (see step 5 in the article) and then I opened the file whizzytex (the one without extension), and where it says:
name (or full path) of the dump latex2e package file (without the extension)
PACKAGE=whizzytex.sty
I changed it to the path where I put whizzytex.sty. In my case I have:
PACKAGE=/Users/viviannevilar/.emacs.d/packages/whizzytex.sty
I hope this is useful for someone :)
You can install with the software distribution system Macports:
sudo port install tex-whizzytex
You only have to set up your emacs configuration files afterwards.
Have fun!
According to this site (scrolled about 3/4's the way down) it says that it can be installed on Mac OS. It pretty much just says:
make
sudo make install

Resources