I am trying to install Leiningen on mac os 10.6.4, following the instructions here - http://alexott.net/en/clojure/ClojureLein.html. The package is being downloaded, but lein command is not found. What could be the problem?
You need to copy the executable in a directory which is in your path (/usr/local/bin/), for instance.
Type echo $PATH to see the different directories.
You'll also need to make the file executable:
chmod 555 /usr/local/bin/lein
Related
I am trying to follow these installation instructions:
https://www.thomasvanhoey.com/post/installing-openpose-on-mac-october-2020-version/
for installing OpenPose on Mac.
I have a Mac M1, running Big Sir. When I try to do step 3, and run this in terminal: (I'm in the openpose folder that was created when I installed CMake, where there is a 3rdparty folder)
bash 3rdparty/osx/install_deps.sh
I get:
No such file or directory
also step 4 doesn't work, i run this in the command line in terminal:
~~protoc src/caffe/proto/caffe.proto --cpp_out=. mkdir include/caffe/proto mv src/caffe/proto/caffe.pb.h include/caffe/proto~~
I get
zsh: command not found: ~~protoc
Does anyone know why I am getting these errors? I "Cloned the repository in the target folder". I "Install CMake GUI" the old fashioned way. I ran and it installed.
brew install caffe
Thnx
Replace with: bash scripts/osx/install_deps.sh
The file to be executed is install_deps.sh. When I perform $ find . -name osx it is found in openpose/scripts/. So just run bash scripts/osx/install_deps.sh.
I'm new to clickhouse. I tried the clickhouse on both Ubuntu and MacOS. As for the ubuntu version, I know the server config.xml is under the /etc/clickhouse-server/ folder. However, on the Mac OS I cannot find the config.xml with the path with the quick start installation method provided here.
wget 'https://builds.clickhouse.com/master/macos/clickhouse'
chmod a+x ./clickhouse
./clickhouse
I know I can build a clickhouse to get the config file in the /etc/ folder. But I'm wondering where is the config.xml file if I choose to pre download the applicaion.
You can download this https://github.com/ClickHouse/ClickHouse/blob/master/programs/server/config.xml
and then run ./clickhouse -c config.xml
Or you can use brew (Intel and M1 both are supported) https://github.com/Altinity/homebrew-clickhouse
then files will be in /usr/local/
/usr/local/etc/clickhouse-server/
/usr/local/var/lib/clickhouse/
/usr/local/var/log/clickhouse-server/
/usr/local/bin/clickhouse-server
/usr/local/bin/clickhouse-client
I tried to install terraform running following commands from my terminal on MAC with Mojave OS
wget https://releases.hashicorp.com/terraform/0.11.11/terraform_0.11.11_linux_amd64.zip
unzip -o terraform_btd/terraform_0.11.11_linux_amd64.zip
Post unzip, I see the terraform binary executable generated.Now, when from the same directory terraform init command is invoked, it throws error:
-bash: terraform: command not found
I understand some suggestions would be to set PATH variable, but invoking terraform init from the same path where the terraform executable is present should run by default.
This used to work on my previous Mac OS version not sure what has changed here. Is it because of Mac OS version or something else?
I found the issue, it is just wrong image I was trying to download, instead of mac zip I was trying to download linux one.
Thanks for all the inputs guys
I follow this blog to use Dockbeat and at a certain moment it says that I need to download a file and to make it executable then to run it so I did:
wget https://github.com/Ingensi/dockbeat/releases/download/v1.0.0/dockbeat-v1.0.0-x86_64
chmod +x dockbeat-v1.0.0-x86_64
./dockbeat-v1.0.0-x86_64 -c dockbeat-1.0.0/dockbeat.yml -v -e
As the blog describe but I have this error:
-bash: ./dockbeat-v1.0.0-x86_64: cannot execute binary file
Although when I do ls -l dockbeat-v1.0.0-x86_64
I got:
-rwxr-xr-x 1 dav_NG staff 13412840 12 sep 14:17 dockbeat-v1.0.0-x86_64
So my question is why can't I run it ? (I checked and my OS X support 64bits)
I ran into your question when I was investigating why I couldn't run dockbeat on my own Mac OS X so I post here what worked for me.
In fact, the file dockbeat-v1.0.0-x86_64 you downloaded is a Linux executable, you can verify by typing the file dockbeat-v1.0.0-x86_64 command.
In order to run dockbeat on Mac OS X, you first have to compile the sources to generate a Mac executable (see the dockbeat's Github documentation).
Here are the steps that I followed:
Install Golang and Glide on your Mac OS X.
Navigate to ${GOPATH}/github.com/ingensi and create missing directories. For instance, in my case, I installed go with homebrew so the complete path I ended up with was /usr/local/Cellar/go/1.8.1/libexec/src/github.com/ingensi
In the ingensi directory, run git clone https://github.com/Ingensi/dockbeat.git
Enter in the cloned directory by typing cd dockbeat. You should now be in the ${GOPATH}/github.com/ingensi/dockbeat directory.
Run the makecommand. This will generate a Mac OS X dockbeat executable.
Configure dockbeat by editing the file etc/dockbeat.yml
Run normally with the command ./dockbeat -c etc/dockbeat.yml
Hope this helps :-)
I am installing openERP following the manual in [1]: http://netbeam.in/blog/install-openerp-on-mac-osx/
I execute the next command:
tar tvfz openerp-7.0-latest.tar.gz
Before is supossed that I will execute:
sudo mv openerp_XXXXXX to home directory
cd openerp_XXXXXXX
But I donĀ“t know where is the path of openERP is installed.
Can you help me to end installing openERP?
I am use Mac OS Yosemite.
Thank you so much.
openerp is still inside the directory you extracted in step 6 (tar tvfz ....), but that directory is still located in your Downloads directory which isn't a good place to stay.
So they instruct you to move the openerp directory to your home directory: sudo mv openerp_xxxxxx /Users/<your-username>/ should be the right command. After that, the next command should be cd /Users/<your-username>/openerp_xxxxxx to go to the moved directory.