installing Chorus's GreenPlum on OSX - macos

I am trying to install Chorus on OSX. So I need to install GreenPlum as described here. The doc says that I have to download the GreenPLum database and extract the greenplum-db-4.2.5.0.tar.gz tar file. So I went to the dedicated site [Pivotal][2]. This file provides some .bin file, but when I execute it I get the message Installer will only install on RedHat/CentOS x86_64. The execution of this file supposes that it provides the mentionned tar file.
So I deduce that I must get some OSX dedicated file, but the Pivotal documentation says that the tar file should be extracted (only in development mode). Perhaps I am running some wrong commands. Could someone help ?

Go to https://network.pivotal.io/products/pivotal-gpdb#files to get the actual installers you'll need for OSX. Be aware that the community edition may not support everything.

Related

installation pip install dbt-postgres

I guess just installed dbt-postgres according to the article https://docs.getdbt.com/dbt-cli/install/pip
using command pip install dbt-postgres
after the installation I have everywhere Requirements already satisfied
When I try the command to see the version I have an error
''dbt' is not recognized as an internal or external command,
operable program or batch file.'
Does this mean that I didn't downloaded this?
How to check the version?
pip is saying that you already have dbt-postgres installed ("Requirement already satisfied") in your local Python 3.10 environment.
Windows is complaining because that Python's site-packages directory is not on your PATH. This is typical; depending on how you install Python on Windows, it is not automatically added to your PATH. (PATH is an environment variable that tells your shell where to search for the commands you type in -- each command is the name of an executable file in a folder somewhere, and PATH is a list of folders to search in for those executable files).
There are a few ways to add Python to your PATH -- see the official docs on this subject. If you're new to all of this, your best bet might be to uninstall and re-install Python. The Windows Store is now the best way to do this.
HOWEVER there is another issue here too -- you're trying to run dbt on Python 3.10, but currently dbt only supports older versions of Python (3.7-3.9). So when you re-install Python, you're going to want to specify 3.9 (which I linked to above).
Managing multiple versions of Python on your machine can be a real pain, especially on Windows. If you have someone more experienced in your organization (like an engineer who knows Python well), it's well worth your time to get someone to pair with you on this while you work it out.

Error when I try to install Cloud Foundry cli on Mac OSX?

I am trying to install the Cloud Foundry CLI from: https://github.com/cloudfoundry/cli
However, after I download the ZIP file, unzip it, and click on the installation .pkg (In the installers folder, under osx), I get this error: "The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.)"
I have Mac OSX 10.7.4, and this is a brand new laptop. A coworker of mine, with the same OSX, downloaded and installed it with no problem.
How can I fix this issue?
Thank you.
That error may depend on some files which needs to be moved, or it could be a file which needs to be converted into a mountable Disk Image file.
or as suggested on https://github.com/cloudfoundry/cli
If you are on OS X, you can also install the CLI with homebrew--run brew install cloudfoundry-cli
if thats not the problem then you should try to download it from Safari(if you aren't using it) or
"open the .mpkg file with Disk Utility and create an uncompressed read/write .dmg. Mount the dmg and run the .mpkg and all should be fine." (as quoted by a user that had a solution to not being able to run the downloader, but it might work with this one too.)
Good luck!
Source:
https://discussions.apple.com/thread/2628710?start=0&tstart=0
https://discussions.apple.com/message/22613031#22613031

Mac installing libraries using the terminal

I have researched this and found answers on SO on this topic yet remain confused.
Trying to get started with Git. I'm new to shell scripting too so hopefully after this I'll be more familiar with it.
I'm reading this page about how to get up and running with Git: http://git-scm.com/book/en/Getting-Started-Installing-Git
I created a directory on my desktop called "git" and navigated to it in the terminal. With my level of experience in shell scripting this was a victory. Then, following a blog post on how to download fromt he terminal ran this command:
curl -O http://git-scm.com/download
That worked, or at least a new file was added to the "git" directory that I created.
Reading down the instructions one is told that "To install Git, you need to have the following libraries that Git depends on: curl, zlib, openssl, expat, and libiconv"
OK. Um. How? I did read some blog posts and SO answers on how to do this but failed. The first one for example - type zlib and hit enter - command not found? How do I either check if it's already installed or how do I install it? What about the others?
I tried following this blog post: http://www.neuraladvance.com/using-open-source-libraries-on-mac-os-x.html
I typed:
./configure
make
sudo make install
Wasn't even sure what to expect. The first two commands said not found the last one asked me for a password.
I then tried ./configure --help
Was then told "No such file or directory"
Needless to say I don't know what to do next. How do I install the libraries on a Mac using the terminal? curl, zlib, openssl, expat, and libiconv
I'm pretty sure all those libraries are preinstalled on your Mac.
If not, installing Xcode (free on the AppStore) would do the trick.
Xcode actually comes with git (but not the latest version) so if you install Xcode you don't need to install git separately.
To answer your question more generally, you might want to install Homebrew.
It's a command line tool to install software and libraries and it's pretty easy to use.
It's great that you are discovering the shell. You should read some tutorials for beginners. If you like it, you will learn very fast and in a few weeks, you will understand exactly why the command you tried didn't work. Have fun learning!
As Simon suggested you should install Xcode, however the CLI tools are not installed automatically. They must be downloaded through Xcode's, preferences. In Preferences click the Downloads tab then install next to Command Line Tools.
If any of the required tools are not automatically installed with Xcode, Homebrew is a great, easy to use, utility that can install nearly any UNIX or Linux command with the following syntax:
brew install <SomeAppName>
The Homebrew website has easy to follow instructions for setting it up initially. So if anything you need is missing try using that.
In Xcode 5, to download Command Line Tools, choose Open Developer Tool under "Xcode", then More Developer Tools> from the sub Menu. This takes you to an Apple web page - you'll need a Developer username/password to get to the Downloads page.
Choose the right CLT for your system, download and install from the dmg/pkg.

Unable to install Oracle 11g in Windows 7

I am trying to install Oracle version win32_11gR1_database_111070, I am getting an error as Operating system does not supported at the time of environment checkup. Is there any way to install it?
Here's a blog posting explaining with pictures how to do it: http://blog.mclaughlinsoftware.com/2009/11/27/oracle-11g-on-windows-7/
To summarize it, you check the "operating system requirements" checkbox yourself, and it will display as "User Verified", after which you can keep going.
This is specially for the window7 users who are stuggling in installing 11g release oracle
Most of the people finding hard to install and will be getting common error like "/WFMLRSVCA.App.ear "file not found is because the copied file from file win64_11gR2_database_2of2" is not copied in the proper file
The below steps is require to install your 11g database
copy first 4 files from win64_11gR2_database_2of2"
Open "Win64_11gR2_database_2of2
Then open the following folders database/stage/components
so on copy the copied files from 11R2 to the above mentioned folders
and it works alas i would be able to install the 11gR2 ...

How can I install package in ActivePerl without Internet connection?

In ActivePerl, "ppm" installs a package from the Internet, "ppm install x.ppd" installs from a ppd file, but most CPAN packages are distributed as .tar.gz
How do you supply modules to a machine running ActivePerl that doesn't have an Internet connection? ("make" will probably not be available.)
Update: an Internet connection can be used to download files and transfer them to the machine with a USB key, etc.
I am sure there is an easier way, but I just checked a ppd file and it is just an xml file ...
So you should be able to do the following if you want to install manually on a pc with no connection:
Open the file , ex
http://trouchelle.com/ppm/Acme-LOLCAT.ppd
and download the appropriate file pointed to in the CODEBASE tag, in this case:
http://trouchelle.com/ppm/MSWin32-x86-multi-thread-5.8/Acme-LOLCAT-0.0.4.zip
Put both file on the pc with no connection, CODEBASE HREF="xxx" should be pointing to the zip file (either by putting the file in the same relative subfolder or by fixing the href so it points to the zip file on your disk)
Install from the ppd using
ppm install x.ppd
See: http://docs.activestate.com/activeperl/5.10/faq/ActivePerl-faq2.html#zip_files
I know it's not an answer to your question, but if possible consider using Strawberry Perl, a CPAN-friendly distribution of Perl for Windows. It has a tidy installer, ships with make, a compiler and a properly configured CPAN shell all ready to go.
And then you can use something like minicpan to create an offline CPAN repository.
Don't be a second class Perl citizen and have to wait for someone else to compile you a ppm, drink straight from the CPAN firehose!
Since this is a very frequent scenario, I complete the answers here :
As far as ActivePerl 5.14 is concerned you can also download ".tar.gz" files for your platform, or download so-called ".ppmx" files (same format). Save the files and invoke the ppm installer later when offline :
ppm.bat install MIME-Lite-3.028.ppmx
You might be interested in A guide to installing modules for Win32. It's a bit outdated (it talks about the command-line ppm) but the principles remain the same.

Resources